FiligranHQ / zotprime

Full packaged on-premise Zotero platform
https://www.zotero.org
Other
325 stars 60 forks source link

"_libraryStorageVersion cannot decrease." #11

Open kerstenj opened 5 years ago

kerstenj commented 5 years ago

Hey, I am not able to sync due to the following error:

[JavaScript Error: "_libraryStorageVersion cannot decrease" {file: "chrome://zotero/content/xpcom/data/library.js" line: 291}]

version => 5.0.57.SOURCE.91bac0e05, platform => Linux x86_64, oscpu => Linux x86_64, locale => en-US, appName => Zotero, appVersion => 5.0.57.SOURCE.91bac0e05, extensions => Zotero LibreOffice Integration (5.0.14.SA.5.0.57.SOURCE.91bac0e05, extension), Shockwave Flash (32.0.0.223, plugin)

Data base integrity is ok. Any hints?

Thanks and best regards

hoehnp commented 5 years ago

Hey @kerstenj, I was facing the same issue and could temporarily move around it by changing the library version manually in the library. Unfortunately, this only worked for a limited time. Right now I am facing an Error 500 and I could not recover from it yet.

kerstenj commented 5 years ago

Any progress on this?

hoehnp commented 5 years ago

@kerstenj: The error I face right now was described in #12. I did not find time yet to look into it but would also report back if I find a solution. Maybe the solution could be in PR #4.

kerstenj commented 5 years ago

Hey, @hoehnp, could you shortly describe how you solved the version issue?

Thanks for helping

hoehnp commented 5 years ago

@kerstenj: Do you refer to this post?

Hey @kerstenj, I was facing the same issue and could temporarily move around it by changing the library version manually in the library. Unfortunately, this only worked for a limited time. Right now I am facing an Error 500 and I could not recover from it yet.

hoehnp commented 5 years ago

@kerstenj: you can read the current library versions from the client SQLite database for example via sqliteman. Then one has to edit in the phpMyAdmin interface the version in database zotero_master in table libraries and in the databases zoteroshard* in table shared_libraries.

That should solve the problem with the library version. However, as noted above, other problems can arise.

uniuuu commented 1 year ago

Hi @hoehnp @kerstenj

I have faced same issue: [JavaScript Error: "_libraryStorageVersion cannot decrease" {file: "chrome://zotero/content/xpcom/data/library.js"

It has occurred after server has been reinstalled while client was re-linked with it's account only to the new server. Solution which has worked for me is to unlink client account with removal of the data stored on computer See screenshot below:

Screenshot_2023-05-05_19-15-28

It was suitable in my case when I have had no actual data stored in my client. If in your client there is data then it has to be exported/backup as after the above operation the client will be empty.