FiligranHQ/zotprime

"_libraryStorageVersion cannot decrease."

kerstenj opened this issue · 7 comments

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

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.

Any progress on this?

@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.

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

Thanks for helping

@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.

@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 zotero_shard_* in table shared_libraries.

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

uniuuu commented

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.