How to change path to data folder on Windows

A Forum to provide feedback, and report issues about Zimbra Desktop Beta or Release Candidate versions
dzilupl
Posts: 15
Joined: Thu Jun 16, 2016 8:34 am

How to change path to data folder on Windows

Postby dzilupl » Tue Apr 18, 2017 10:39 am

I had to join my laptop to domain on Windows 10. Because Microsoft doesn't provide easy transfer tool anymore in Windows 10 I had to use external tools to do this (i needed to move my local profile with all settings to domain). Everything works ok excepts Zimbra Desktop 7.3. When trying to run it I got error about wrong path to "User Data" folder - it's looking for it in old user profile and this folder has been renamed to new user name. Where can I change this path to set new correct path without loosing my zimbra data?

Error:
"NW.js cannot read and write to its data directory:
C:\Users\OldUserName\AppData\Local\zimbra-dektop\User Data"

Ofcourse "OldUserName" means that there is the name of my old local user name and now this has been changed to new domain user folder.


PriteshGajjar
Zimbra Employee
Zimbra Employee
Posts: 297
Joined: Tue Mar 31, 2015 4:59 am

Re: How to change path to data folder on Windows

Postby PriteshGajjar » Wed Apr 19, 2017 5:56 am

Can you try re-installing Zimbra Desktop.
dzilupl
Posts: 15
Joined: Thu Jun 16, 2016 8:34 am

Re: How to change path to data folder on Windows

Postby dzilupl » Wed Apr 19, 2017 7:42 am

I found solution for this problem today in the morning - this path is in shortcut to Zimbra Desktop as parameter --user-data-dir=
I changed it to actual path but now I have another problem:

"Unable to create anchor file"

After I accept this information on "OK" I get blank page:

"This site can’t be reached
127.0.0.1 refused to connect.
Try:
Reloading the page
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED"
PriteshGajjar
Zimbra Employee
Zimbra Employee
Posts: 297
Joined: Tue Mar 31, 2015 4:59 am

Re: How to change path to data folder on Windows

Postby PriteshGajjar » Wed Apr 19, 2017 9:42 am

Anchor file gets created when server starts(Jetty server) and that process id is added to anchor file. So you won't be able to manually create this file.
dzilupl
Posts: 15
Joined: Thu Jun 16, 2016 8:34 am

Re: How to change path to data folder on Windows

Postby dzilupl » Thu Apr 20, 2017 6:04 am

I run setup file and choose "Repair" option - still problem with anchor file. I run setup again, choose "Uninstall", next run once again and make new installation - still problem with anchor file. What can I do now? Which files should I delete?
PriteshGajjar
Zimbra Employee
Zimbra Employee
Posts: 297
Joined: Tue Mar 31, 2015 4:59 am

Re: How to change path to data folder on Windows

Postby PriteshGajjar » Thu Apr 20, 2017 6:30 am

You could take backup of your data and delete everything udner AppData related to Zimbra Desktop. If you using Zimbra a/c then you could sync email again from remote servers, if you have any mails in local folder then make sure you take backup of them.

Return to “Zimbra Desktop Beta/RC”

Who is online

Users browsing this forum: No registered users and 2 guests