Closed maryam4s26 closed 9 months ago
When the server is restarted, the dynamic mountpoints will be deleted from the server. And the client doesn't notice this change.
Maybe you can recover from this ? Like having the service where you set up these mountpoint store the current state somewhere, and this is loaded when the service starts up ?
thank you @andersevenrud.
I have used this here as well and it has not crashed Do you think this solution is wrong?
Try this instead: https://github.com/os-js/osjs-server/pull/88
Thank you very much. I have tested this and it solved my problem.
Excellent! I really should have seen that edge case when I worked on the previous fix... but at least now I think we have every hole patched up. Thanks for all the reports!
I published a new version with the patch.
Can this issue be closed now ? It was kind of a discovery and a bug combined, and I'm not sure if my response to the mountpoint stuff answered your needs 😅
Thank you @andersevenrud . Yes, your answer has completely solved my problem.
I am impatiently waiting for your patch version update. @andersevenrud.
Oh... I forgot to push my changes to github and only published to npm. Repo has been updated!
hi @andersevenrud .
When the server is restarted, the dynamic mountpoints will be deleted from the server. And the client doesn't notice this change.
If the user clicks on the mountpoints, gets a 403 error:
But if the user uploads a file in the mountpoint client at the same time when mountpoint is not on the server, the server will crash: