Thanks a lot! Installing was ok, but then I was not able to create my first library. I cannot browse folders. It says “No Folders Available. Note: folders already mapped will not be shown.”
When I add a folderpath, then I get error messages (“Library needs a name” although I gave it a name)
Is it some permission issue? Are there some things to do before using this app?
In the logs it says Verify Token User Not Found
[2022-07-10 17:30:34] ERROR: Verify Token User Not Found bG9yZW56Oitib2hlTTE1eQ==
[2022-07-10 17:30:38] ERROR: JWT Verify Token Failed JsonWebTokenError: jwt malformed
at Object.module.exports [as verify] (/var/www/audiobookshelf/node_modules/jsonwebtoken/verify.js:63:17)
at new Promise (<anonymous>)
at Auth.verifyToken (/var/www/audiobookshelf/server/Auth.js:85:12)
at Auth.authMiddleware (/var/www/audiobookshelf/server/Auth.js:50:27)
at Server.authMiddleware (/var/www/audiobookshelf/server/Server.js:120:15)
at Layer.handle [as handle_request] (/var/www/audiobookshelf/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/var/www/audiobookshelf/node_modules/express/lib/router/index.js:328:13)
at Function.process_params (/var/www/audiobookshelf/node_modules/express/lib/router/index.js:346:12)
I had the same issue (same errors in log). Opening my yunohost homepage in another tab to disconnect from the SSO immediately solved the issue. Back in the Audiobookshelf tab, I could create users / library.
Yes, after logging out I was able to create the root user and the first library. But the library can only be located in /var/www/audiobookshelf where I cannot upload via sftp (permission issue) and uploading with the web interface resulted in error messages (upload failed).
Are you able to upload?
PS: Now I see, after the failed upload attempt, that both libraries I have created, do not exist anymore, they were deleted
Indeed I had to fiddle with permissions to put files in my library. As I use my Nextcloud app to move files around, I manually added nextcloud to the group owning the directory and changed permissions to group write.
With SFTP, you should use SSH tunneling (aka SSH port forwarding).