-
-
Notifications
You must be signed in to change notification settings - Fork 164
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
Issues with setting up LinkAce using SQLite #327
Comments
Hi! Thanks for reporting this. |
after following the updated guide and creating a admin user using CLI, I opened the website which started it's initial setup. It again asked me to fill a form to create new user. and when I filled the details it failed with 500 server error. I looked into logs but nothing looked like an error. |
Could you change Thank you for your patience. |
@Kovah after changing the
|
Could you change the permissions for the database file to 0777 to test this?
|
@Kovah changing the permissions did not fix it. still I am getting 500 server error when I add a link. relevant line in logs:
|
I'm out of ideas for now. I do not use SQLite at all so I could just guess what the problem is. |
Same issue for me, 500 - Server Error - An internal server error occured. If you are the administrator, consult the application logs for details. when adding links / list / tags 192.168.1.52 - - [09/Jan/2022:13:15:26 +0100] "POST /links HTTP/1.1" 500 1872 "http://192.168.1.223:8383/dashboard" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:95.0) Gecko/20100101 Firefox/95.0" "-" |
Work arround from #332 fixed it for me. |
It looks like the environment variable How to mark the setup as completed with the current version? Is there any chance to get the outdated doc updated? |
If you just ugrade, i assume from older version that still use SETUP_COMPLETE env. following upgrade doc should be good, i dont use sqlite so i dont really sure if it will migrate db correctly.
|
If you already ran the update steps @martadinata666 mentioned, you should have the setting in the database. If it does not exist, add it with |
Thanks, running `insert into settings (user_id, key, value) values (null, 'system_setup_completed', 1)` fixes the problem for me.
…On June 17, 2022 12:51:57 PM UTC, Kevin Woblick ***@***.***> wrote:
If you already ran the update steps @martadinata666 mentioned, you should have the setting in the database. If it does not exist, add it with `insert into settings (user_id, key, value) values (null, 'system_setup_completed', 1)`
--
Reply to this email directly or view it on GitHub:
#327 (comment)
You are receiving this because you commented.
Message ID: ***@***.***>
|
Per https://www.linkace.org/docs/v1/setup/setup-with-sqlite/
And #327 (comment)
If you copy the literal error into a search engine, the top stackoverflow result says to also set permissions (like Personally, I set it up to use the The documentation could mention that the file and directory need permission setting, like |
@chrissawyerfan4 Can you share the compose file you ended up with? |
@Jogai Sorry, I somehow did not get (or accidentally marked as read) this notification. I'm not sure if I used any compose file, I just ran
|
the |
Please not that - for whatever reason - SQLite needs write access to the directory containing the database file. Please double check if the /storage directory is writable for www-data too. |
@martadinata666 Yes, sorry I should have marked that more clearly as just an example user. I'm not actually sure how the |
Describe the bug
I was following this guide: https://www.linkace.org/docs/v1/setup/setup-with-sqlite/
when I ran following command
I got this error:
To Reproduce
looks like docker has created a directory with name database.sqlite
Expected behavior
steps in official guide should work and the command should complete successfully.
LinkAce setup (please complete the following information):
The text was updated successfully, but these errors were encountered: