pedrom34 / ZoteroPortable-dev-repo

Zotero in PortableApps.com Format - dev repo
https://portableapps.com/apps/office/zotero-portable
188 stars 13 forks source link

Launch from Network Drive by different users #10

Closed laclaro closed 6 years ago

laclaro commented 6 years ago

Hi,

I would like to run Zotero from a network drive and make it accessible for several users (one after another, not parallel). I installed zotfile and better-bibtex as plugins. For my own user account it works fine, however if someone else tries to launch Zotero, it complains about a missing database and recommends to place it in c:\user\Zotero.

If the other user copies the ZoteroPortable from the network drive to his local drive, it works. But this is not an option, since I want to have a shared installation.

Do you have suggestions?

Best,

Henning

pedrom34 commented 6 years ago

Is it a mapped network drive? With a letter? If yes, is it the same letter on your computer and on your other users?

laclaro commented 6 years ago

No, it is not mapped to a drive letter. Just \hostname\path\zoteroportable. I installed ZoteroPortable to that path as my own user. That must have caused Zotero to remember that somehow.

I found some user path (c:\user\appdata...) in prefs.js as extension base path and changed it to the portable profile location (with absolute network path also), but this did not help so far.

Do you have any other suggestion?

I did not try without extensions either. However, I crucially need them.

Best,

Henning

PS: I noticed, that ZoteroPortable creates files in AppData/Local and AppData/Roaming, but cleans them up afterwards. I guess that is indended, isn't it?

laclaro commented 6 years ago

Okay, this issue is resolved. Was caused by insufficient writing permissions. Thank you.

pedrom34 commented 6 years ago

Glad you figured out by yourself.

Well, yes, the behavior you describe is normal and expected in PortableApps format. You cannot use symbolic links in paf, as it requires admin rights.

AndhikaWB commented 5 years ago

Similar to #11. May be resolved by using -profile and -datadir parameter.