-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: uploading big images fails #270
Comments
Thanks for reporting. Could you share a few more insights on this so we can try to reproduce the issue:
|
Just tried and could reproduce with a 18MB JPEG file - needs some further debugging. |
the log comes from ghcr.io/nextcloud-releases/whiteboard docker image
i didn't actually drag&drop images, I used copy-pasted screenshots, my bad for not specifying
I didn't find any |
I’m encountering intermittent issues with file loss (especially images) in Whiteboard, particularly during data synchronization. The logs sometimes show the following: csharp Scenario with 1 active user: I added 7 files one by one. I added the first 7 files: no issues, everything was saved. Questions: Has anyone else experienced this kind of issue? |
I’ve noticed that everything works fine when I’m using the whiteboard alone. However, as soon as I share a link (either read-only or editable), the images disappear. During my last test with a non-editable public link, all the images vanished. Here's the relevant log excerpt: yaml Does this issue relate to sharing permissions, caching, or data synchronization? Let me know if you have any insights! |
2024-11-19T21:28:13.541826993Z Error: HTTP error! status: 401: {"message":"Unauthorized"} |
Hello everyone! I am having similar issues except that I cannot load images at all. I believe the issue could be related to the fact that images appear as loaded by some kind of temporary users and, therefore, such users cannot load data onto the nextcloud file system due to lack of permissions. Do you think this could be a valid point? Thanks in advance :) |
I'm facing a very odd issue with whiteboard, depending on image size it won't sync the images or store them in the file.
Here are some logs from the backend, at the beginning what happens when I paste a small image, the file gets uploaded with no issue and the log only says "added image". After that what happens when trying to paste a big image.
nextcloud-whiteboard-server-1 | [9929] Syncing room data
nextcloud-whiteboard-server-1 | [9929] Room data synced. Users: 1, Last edited by: [USER], files: 1
nextcloud-whiteboard-server-1 | [9929] roAnAi9dKQUtudk_AAAP added image d3a4bf5be442a9252949352dc0a60ef3f23d6ac4
nextcloud-whiteboard-server-1 | [9929] Syncing room data
nextcloud-whiteboard-server-1 | [9929] Room data synced. Users: 1, Last edited by: [USER], files: 2
nextcloud-whiteboard-server-1 | [9929] Syncing room data
nextcloud-whiteboard-server-1 | [9929] Room data synced. Users: 1, Last edited by: [USER], files: 2
nextcloud-whiteboard-server-1 | [socket:roAnAi9dKQUtudk_AAAP] Disposing room
nextcloud-whiteboard-server-1 | [9929] [USER] has disconnected
nextcloud-whiteboard-server-1 | socket rooms [ '9929' ]
nextcloud-whiteboard-server-1 | [9929] [USER] has left 9929
nextcloud-whiteboard-server-1 | [9929] Syncing room data
nextcloud-whiteboard-server-1 | [9929] Room data synced. Users: 0, Last edited by: [USER], files: 2
nextcloud-whiteboard-server-1 | [9929] Disposing room
nextcloud-whiteboard-server-1 | [9929] Saving room data to server: 11 elements, 2 files
nextcloud-whiteboard-server-1 | [9929] Room is empty, removed from cache
nextcloud-whiteboard-server-1 | decodedData {
nextcloud-whiteboard-server-1 | userid: '[USER]',
nextcloud-whiteboard-server-1 | fileId: 9929,
nextcloud-whiteboard-server-1 | isFileReadOnly: false,
nextcloud-whiteboard-server-1 | user: {
nextcloud-whiteboard-server-1 | id: '[USER]',
nextcloud-whiteboard-server-1 | name: '[USER]'
nextcloud-whiteboard-server-1 | },
nextcloud-whiteboard-server-1 | iat: 1731406027,
nextcloud-whiteboard-server-1 | exp: 1731406927
nextcloud-whiteboard-server-1 | }
nextcloud-whiteboard-server-1 | [9929] qDVEl6VuM_dXDy99AAAR has joined 9929
nextcloud-whiteboard-server-1 | [9929] Syncing room data
nextcloud-whiteboard-server-1 | [9929] No data provided or existing, fetching from server...
nextcloud-whiteboard-server-1 | [9929] Fetched data from server:
nextcloud-whiteboard-server-1 | {
nextcloud-whiteboard-server-1 | data: {
nextcloud-whiteboard-server-1 | elements: [
nextcloud-whiteboard-server-1 | [Object], [Object],
nextcloud-whiteboard-server-1 | [Object], [Object],
nextcloud-whiteboard-server-1 | [Object], [Object],
nextcloud-whiteboard-server-1 | [Object], [Object],
nextcloud-whiteboard-server-1 | [Object], [Object],
nextcloud-whiteboard-server-1 | [Object]
nextcloud-whiteboard-server-1 | ],
nextcloud-whiteboard-server-1 | files: {
nextcloud-whiteboard-server-1 | '3e09d77fda06353c26a8df38ecb02ba42119eca7': [Object],
nextcloud-whiteboard-server-1 | d3a4bf5be442a9252949352dc0a60ef3f23d6ac4: [Object]
nextcloud-whiteboard-server-1 | }
nextcloud-whiteboard-server-1 | }
nextcloud-whiteboard-server-1 | }
nextcloud-whiteboard-server-1 | [9929] Room data synced. Users: 1, Last edited by: null, files: 2
All the [Object] elements in the room are missing images, excluded 2. An odd behaviour is that visually the image is shown in the screen of thw user, but not synced. When opening the whiteboard again, if one pastes the same image again the old instances will show the image again.
The text was updated successfully, but these errors were encountered: