Page 1 of 1

How to change path to data folder on Windows

Posted: Tue Apr 18, 2017 10:39 am
by dzilupl
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.

Re: How to change path to data folder on Windows

Posted: Wed Apr 19, 2017 5:56 am
by PriteshGajjar
Can you try re-installing Zimbra Desktop.

Re: How to change path to data folder on Windows

Posted: Wed Apr 19, 2017 7:42 am
by dzilupl
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"

Re: How to change path to data folder on Windows

Posted: Wed Apr 19, 2017 9:42 am
by PriteshGajjar
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.

Re: How to change path to data folder on Windows

Posted: Thu Apr 20, 2017 6:04 am
by dzilupl
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?

Re: How to change path to data folder on Windows

Posted: Thu Apr 20, 2017 6:30 am
by PriteshGajjar
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.

Re: How to change path to data folder on Windows

Posted: Tue Aug 29, 2017 2:28 pm
by anderRS
If you changed your USER name by creating new user in windows 10 (C:\Users\oldname\AppData\Local\Zimbra\Zimbra Desktop\) in the computer, you need to find the paths and change it in archives: localconfig.xml, zdesktop.conf, jetty.xml.
In my case I created a new user in Windows and so I copied the two folders in C:\Users\oldname\AppData\Local\Zimbra and C:\Users\oldname\AppData\Local\zimbra-desktop to C:\Users\newname\AppData\Local\ and C:\Users\newname\AppData\Local\. When I installed zimbra desktop there was a message related to anchor file. So I changed paths in those archives considering "newname".
Sorry about my english...
dzilupl wrote: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?