I was trying to delete some empty folders on server with Otto. Doing so logs me out. Server is Ubuntu 20.
Hey Andy,
Do you see any errors or restarts in your otto-info.log? If your OttoFMS restarts it will force a logout, so it may be crashing your server for some reason.
-Kyle
Ok, that seems to be the case.
2024-11-21T14:48:56.592Z | error | Unhandled Rejection: Error: ENOENT: no such file or directory, stat ‘/opt/FileMaker/FileMaker Server/Data/Backups/OttoFMS/file-manager-root/opt/FileMaker/FileMaker Server/Data/Backups/OttoFMS/file-manager-root/Live Databases/Default/Brennans’ |
---|---|---|
2024-11-21T14:48:58.097Z | info | otto internal database up to date |
2024-11-21T14:48:58.112Z | info | Listening on http://localhost:3061 |
2024-11-21T14:48:58.112Z | info | environment production |
2024-11-21T14:48:58.113Z | info | version 4.7.2 |
2024-11-21T14:48:58.113Z | info | node version v20.11.1 |
2024-11-21T14:48:58.119Z | info | started watching offsite backup |
2024-11-21T14:48:58.120Z | info | started watching for hostname changes |
2024-11-21T14:48:58.128Z | info | Reverse Proxy already installed |
Do the file names have a punctuation mark in them? That might be breaking this.
I can fix the crash as part of our next version as well
-Kyle
Nope. It’s just an empty folder I’m trying to delete (see path in log snippet above)
ah ok I see, I was confused by the quotes around the path. I’ve found the source of the crash, it will be fixed in our next version. I’ll also look at why that subfolder is not deleting properly.
-Kyle
oh nevermind, thats definitely a bug. File path is not correctly calculating there. I have a fix coming in version 4.8.0. For now, if you use a single file delete (either right click on the file or use the three dot menu on the far right) that should work properly.
-Kyle