-
Notifications
You must be signed in to change notification settings - Fork 48
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
Running Benotes on Synology #43
Comments
Hey, seems like |
Thanks for the quick response. thats the output of my terminal: the only ones that looks wrong are: I think the second one is the bad one: uid 0 could have no permissions to write in the file /volume1/docker/benotes/storage/logs/lumen-2022-12-01.log is it possible to set the uid? |
Well adding the file manually will only fix it for today :D I guess that answer is probably not good enough, but I have to tinker with it myself first (this evening or probably at the weekend). |
In addition to that you can get the applications users inside the container with If not run the following command on your container to give the proper usermod and groupmod to the
|
@FTeinz were you able to get it to work? I am also trying to deploy docker container and facing same error. |
@mohit-kothari Sorry no, I didn't find time to take care of it. If so I will post my solution. |
@mohit-kothari And none of the above ideas/information I provided helped ? |
Ana found the fix to that error, is a problem with laravel not finding some folders. It's explained here |
I wasn't sure if it was the fix so I deleted my response... I guess you still received the email and managed to fix it. Glad it helped @FTeinz |
Oh it seems not to be a fix. The Webinterface is now accessible but the log in seems not to show any response for the cardinals I have typed after: |
Check that files and folders all have the right permission, is the first thing I think about because it has been a big issue for me experimenting with benotes |
Perhaps the newest version finally resolves it ? |
I ran pretty much stock compose with the beta tag in Portainer on my Synology and it worked fine. My compose looks like this if that can help someone
|
Since this issue is still open, I wanted to share how I managed to get Benotes to run on my Synology NAS using Docker (DSM 7.1):
|
Hi.
In the .env file I only changed the port in the first line to 8001 (APP_PORT=8001)
Do you really wish to run this command? (yes/no) [no]:
Illuminate\Database\QueryException SQLSTATE[08006] [7] connection to server at "db" (172.18.0.2), port 5432 failed: timeout expired (SQL: select * from information_schema.tables where table_schema = public and table_name = migrations and table_type = 'BASE TABLE') at vendor/laravel/framework/src/Illuminate/Database/Connection.php:712
31 app/Console/Commands/InstallCommand.php:57
45 artisan:37 |
Try the fix mentioned before at #43 (comment) |
I tried the fix, but it does not work. Nothing changed. |
That fix is only suiteable if you use the entire storage directory as bind mount which isn't the case if you follow @philipp-koch instructions or the official ones. In any case your issue seems to be that Benotes can't connect to the PostgreSQL database. It could be an issue with your docker-compose.yml or .env file or the database itself. Hard to tell with only this vague error message at hand. |
Thats a pity. I was so close in running benotes |
@Sylvio82 Have you tried altering the read/write permissions of You're right, the postgres folder creation was missing, I've edited my post accordingly. I've also changed it so that it doesn't refer to the beta version any longer, since it now works using the |
I downloaded the latest docker-compose.yml, I set write permissions for everyone and I am using the latest stable version. |
Hi all, Here is what I've done to quickly test Benotes on Synology through Portainer using an SQLite DB (for really quick testing purposes): On the Syno box through ssh:
Portainer docker-compose instructions:
Import the ".env" file within Portainer:
On the Benotes container itself (ssh console on the container):
Obviously, a reverse proxy at the Synology DSM from HTTPS:TCP:7443_to_HTTP:TCP:22400 has been put in place as well. Working all fine here, although TBH there are a few things I do not understand I.E: why you can click on a note and that doesn't open it? I might have missed something though... Hope this helps. |
Thanks for your tutorial. (Btw there is of course no need for a postgres volume if you use Sqlite instead.) |
I had the same issue. The main problem is that Synology users are unable to create a user with puid 1000. Synology's first user is created in the 1024 range. Containers that allow the PUID and GUID to be changed in the docker compose can be run on Synology. I don't see that this image is accepting the ability to set the PUID and GUID in the compose file. Can that functionality be added? |
Yes, I'm going to add that. |
Hello. I try to run Benotes with Docker on my Synology.
I have follow our instructions to run it inside Docker:
env:
in my error.logI see this:
Some way to turn off this logs or solve the error?
let my know if you need some further information.
Thanks a lot
The text was updated successfully, but these errors were encountered: