-
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
whiteboard contents are not saved #238
Comments
same |
@l3ochan just as fyi whiteboard requires a backend... but in my case does not work with the backend XD |
I have the backend, all setup and working. The docker container. I use apache as reverse proxy to access it over the internet and I have cloudflare's proxy to hide my public IP. I have the green checkmark in my administrator settings. I can write stuff on the whiteboards. Only weird thing is that when I close them, then reopen them, they are empty. |
When I first set up, I noticed if the backend isn't working properly, it would time out very quickly. I was just testing the whiteboard with a few colleagues and ... after a while it stopped saving. I noticed it blank out, then go back to an old version of the drawing, then go to the latest version of the drawing, but I can very well see from the file app that the size and date hasn't changed for over a half hour. (Maybe it will update when we all exit the editing session?) There's no indication other than the above that it isn't working, but I'm assuming it's not saving our recent edits. I was able to copy via clipboard to a new file, though. |
@l3ochan Could you check your whiteboard backend logs for any errors? It seems there might be issues with API calls between the whiteboard backend and Nextcloud when saving - possibly the whiteboard backend can't reach the Nextcloud backend, or an API communication issues. Checking the logs should help identify the specific problem. Quick note on how saving works: Changes are kept in memory and only saved to Nextcloud when either everyone leaves the whiteboard or when the Node.js server shuts down properly. This helps reduce network traffic and disk I/O. |
the http://nextcloud.domain/settings/admin/whiteboard will tell you if the configuration is working. PS: I config a nginx reverse proxy to handle this, on the same host/server than nextcloud main server |
Now I see that it will only save when everyone leaves, as stated above. Today I was editing one solo and at some point it didn't save. I left and returned to check if it saved. A number of my last edits hadn't been saved, although many/most of what was done had been saved. I wonder if the trouble began when I added a frame around a portion of the diagram. (edit: or maybe there's some race condition between leaving and re-editing?) I'll have to look into how to get a log from the whiteboard server (in docker). |
@manumitted For me it turned out to be DNS issues in docker. |
Just had the same issue, of course I did not install the backend. (its just an app! 🤦♂) For the user of the "App" there is no indication that there is something wrong. |
@hweihwang Hi, |
Hello, I'm experiencing the same issue when using the whiteboard in collaborative multi-user mode: all browser sessions need to be closed for the document to save. This is quite risky, especially since we use Excalidraw for sensitive meetings, and losing notes would be a real problem. For now, I’m testing a workaround by restarting the Nginx service every 5 minutes using a cron job, but this solution is far from ideal. I understand that my setup is functioning as intended, but I believe it would be safer to have an alternative, like a manual save button. in /etc/crontab of docker Whiteboard VM |
I am encountering an issue where the Whiteboard data is not being saved in Nextcloud. The Collaborate server is running, and it shows the message Logs when entering the Whiteboard editing screen on browser:
Logs when exiting the Whiteboard editing screen on browser:
|
I'm also having the issue that nothing is saved. I'm the only user of the whiteboard. I'm on a self-hosted Nextcloud, version 29.0.9, and am using Whiteboard v1.0.4. When I leave I get the following error in the whiteboard server logs:
I want to note that on the admin settings I have "Whiteboard backend server is configured and connected." and I am able to add items to the whiteboard while using it without any errors in the browser or in the logs; it's only on leaving and trying to save that I get this error. I'm using a nginx reverse proxy setup using the info in the README. |
Hello, I also noticed if you make a change and then click on download. You will also not get the newest changes that you made. (Running: Nexcloud 30; with redis, ) |
I think we have a problem of persistante KEY.... |
Some ideas for approaching:
Added to the first post |
Just spent last 3 hours describing an important process. When i closed and opened the whiteboard again, it was a version from 2 hours ago... |
I've made good progress by addressing network and service type issues. In summary: When using a Redis server, I don't get any relevant logs, and image files are frequently lost.
I'm continuing to investigate the logs with the LRU strategy and checking Nextcloud and the web servers to see if I can find anything helpful. I'll look into Redis later. |
in my case, just the NEXTCLOUD_URL was wrong. Pointed to the wrong server. |
Possible Database Issue Preventing Image Files from Saving in Whiteboard Hello, I’m encountering an issue with image files not being saved correctly in the Whiteboard app on my Nextcloud instance. After reviewing the logs, I found the following error related to a “dirty table read”: Given that this issue appears to be tied to file handling and the database state, I suspect that it could be the reason why image files are not being saved properly in the Whiteboard app. Has anyone else experienced similar issues or found a solution for this kind of problem? I would appreciate any insights or advice on how to resolve this, especially regarding database consistency or potential locking issues. Thanks in advance! |
I'm adding this in case it may help anyone else. It is by no means a solution for every potential issue with saving whiteboard contents. I had issues with saving whiteboards back in November (along with mimetype issues). I got 404:s in my logs when the Whiteboard file was opened/requested, and all whiteboard files were consistently 0B no matter what I tried. These were resolved yesterday by updating to the latest version of Whiteboard. I'm using a Docker (Compose) based Nextcloud image, build 30, along with Docker based Whiteboard. I have Nginx running as the reverse proxy to Nextcloud and Whiteboard. |
Based off of matrixes's comment, I updated my containers. I also have an nginx config and a docker-compose setup. On the 'docker-compose up' output, I saw this error:
My nextcloud instance has a lets encrypt cert and it appears that whiteboard is failing to validate it |
Original report:
Subtasks
The text was updated successfully, but these errors were encountered: