FiligranHQ / zotprime

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

ZoteroObjectUploadError #12

Open Terminal-Redux opened 5 years ago

Terminal-Redux commented 5 years ago

Hello. I've been having trouble when it comes to exporting a mendeley library to Zotero, especially when it comes with attached files. I get errors similar to this when I try to sync up.

[JavaScript Error: "An error occurred" {file: "chrome://zotero/content/xpcom/sync/syncEngine.js" line: 1314}]

[JavaScript Error: "Error 500 for item ZSMGERPK in Shared:

ZoteroObjectUploadError: An error occurred"]

[JavaScript Error: "An error occurred" {file: "chrome://zotero/content/xpcom/sync/syncEngine.js" line: 1314}]

[JavaScript Error: "Error 500 for item FFBCGEIQ in Shared:

ZoteroObjectUploadError: An error occurred"]

[JavaScript Error: "An error occurred" {file: "chrome://zotero/content/xpcom/sync/syncEngine.js" line: 1314}]

[JavaScript Error: "Error 500 for item SPG3A86J in Shared:

ZoteroObjectUploadError: An error occurred"]

[JavaScript Error: "An error occurred" {file: "chrome://zotero/content/xpcom/sync/syncEngine.js" line: 1314}]

[JavaScript Error: "Error 500 for item RYNPU2UR in Shared:

ZoteroObjectUploadError: An error occurred"]

[JavaScript Error: "An error occurred" {file: "chrome://zotero/content/xpcom/sync/syncEngine.js" line: 1314}]

[JavaScript Error: "Error 500 for item L7P4E9DG in Shared:

ZoteroObjectUploadError: An error occurred"]

[JavaScript Error: "An error occurred" {file: "chrome://zotero/content/xpcom/sync/syncEngine.js" line: 1314}]

[JavaScript Error: "Error 500 for item TBVT6JCU in Shared:

ZoteroObjectUploadError: An error occurred"]

[JavaScript Error: "An error occurred" {file: "chrome://zotero/content/xpcom/sync/syncEngine.js" line: 1314}]

[JavaScript Error: "Error 500 for item FLV4FKXR in Shared:

ZoteroObjectUploadError: An error occurred"]

[JavaScript Error: "An error occurred" {file: "chrome://zotero/content/xpcom/sync/syncEngine.js" line: 1314}]

[JavaScript Error: "Error 500 for item F7FF5Z78 in Shared:

ZoteroObjectUploadError: An error occurred"]

[JavaScript Error: "An error occurred" {file: "chrome://zotero/content/xpcom/sync/syncEngine.js" line: 1314}]

[JavaScript Error: "Error 500 for item U3IADDHQ in Shared:

ZoteroObjectUploadError: An error occurred"]

[JavaScript Error: "An error occurred" {file: "chrome://zotero/content/xpcom/sync/syncEngine.js" line: 1314}]

[JavaScript Error: "Error 500 for item LU462JHH in Shared:

ZoteroObjectUploadError: An error occurred"]

[JavaScript Error: "An error occurred" {file: "chrome://zotero/content/xpcom/sync/syncEngine.js" line: 1314}]

[JavaScript Error: "Error 500 for item 8Q4RWGRY in Shared:

ZoteroObjectUploadError: An error occurred"]

[JavaScript Error: "An error occurred" {file: "chrome://zotero/content/xpcom/sync/syncEngine.js" line: 1314}]

[JavaScript Error: "Made no progress during upload -- stopping" {file: "chrome://zotero/content/xpcom/sync/syncEngine.js" line: 1373}]

[JavaScript Error: "Made no progress during upload -- stopping" {file: "chrome://zotero/content/xpcom/sync/syncEngine.js" line: 1373}]

version => 5.0.57.SOURCE.91bac0e05, platform => Win32, oscpu => Windows NT 10.0; WOW64, locale => es-ES, appName => Zotero, appVersion => 5.0.57.SOURCE.91bac0e05, extensions => Utilidad Zutilo para Zotero (3.1.0, extension), ZotFile (5.0.10, extension), Zotero Storage Scanner (5.0.8, extension), Zotero LibreOffice Integration (5.0.14.SA.5.0.57.SOURCE.91bac0e05, extension), Zotero Word for Windows Integration (5.0.9.SA.5.0.57.SOURCE.91bac0e05, extension)

If anyone has a heads-up on this matter, I'd be really grateful. Thanks in advance!

hoehnp commented 5 years ago

Have you restarted the docker containers in between? That was at least which brought me to the same point but did not find time yet for further debugging. I suspect that it is related to minio loosing data after restart because to my understanding the container doesn't save its data persistently.

Terminal-Redux commented 5 years ago

It seems the problem is indeed caused by this restarting of the server (currently running on a VM). Do you think a clean install would suffice? Perhaps using PR #4 would make things run smoother? You seem to refer to it on another issue. Cheers.

Terminal-Redux commented 5 years ago

I also haven't worked much with docker, so I'm not sure how restarting containers work as a whole.

hoehnp commented 5 years ago

@Terminal-Redux: from my understanding of minio, it is not configured in a way here to survive any restarts. After examining PR #4, I don't think it addresses the issue. I am right now testing a modification to docker-compose.yml. My guess is that for the section of minio we will need to add a volume with is mounted at /data in the container. (see https://docs.min.io/docs/minio-docker-quickstart-guide.html) I will see if that helps me and would update in case I have some success.

Apparently, first I still need to resolve the current issue. Unfortunately, no success yet.

A clean install could trigger issues like mentioned in #11

LuisG93 commented 4 years ago

Hello. There are some news about this issue? I have the same problem. I tried to make a clean install but when i import the mendeley database it happened again.

hoehnp commented 4 years ago

Hi @LuisG93,

the only solution I have so far is manually edition the version in the library. However, I still did not find time to look for a permanent fix.

LuisG93 commented 4 years ago

Hi @hoehnp. Thank you for you're response.

I deleted the local client and all the docker container, volumes and images, and i created a new local server and it worked fine. So i created a new client and i imported the mendeley database, but when zotero sync to the local server it give me a similar error like this issue. I checked the version on zotero client using sqliteman and it looks similar as the version on phpmyadmin. So, i'm not sure what could be the problem.

hoehnp commented 4 years ago

Hi @LuisG93, Can you give me the exact numbers on both?

LuisG93 commented 4 years ago

HI @hoehnp, sure. This are the screenshot. On both cases are user: 168 and group: 1 Captura45 Captura46 Captura47

hoehnp commented 4 years ago

Hi @LuisG93,

I dont remember which side needs to have a higher version. I would try to change both sides. Did the syncing work before importing the Mendeley database?

heartbleeded commented 3 years ago

Any update on this? Maybe can we hot patch this by disabling the version check ?

hoehnp commented 3 years ago

@heartbleeded, unfortunately at least I didn't find time to work on this. Of course we could try to disable the version check. I would assume it could be safe if you only use one account. Otherwise, I don't know which potential problems this could create.

uniuuu commented 1 year ago

Hi @heartbleeded @LuisG93 @Terminal-Redux

See my solution on the link for the similar issue: https://github.com/FiligranHQ/zotprime/issues/11#issuecomment-1536178093