You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by joebrands August 27, 2024
Hello! I believe I have sucessfully installed Benotes and the DB and ran php artisan install as well as hown -R www-data:www-data storage && chmod -R 774 storage to be sure which both worked fine with no errors. The only error I get is on startup it throws a Database migration failed. and is also the only thing logged in the laravel.log.
The issue is when I go to the web ui and try to log in with the admin user I setup, the login button does nothing. I can see the POST and GET (shown below) in the app log but nothing else happens. No errors that I can find either.
I used a compose stack outlined below being run on an Unraid system. I am using bind mounts right now but I tested also with the default volume mounts and had the same problem. Ive also tested local and now behind my proxy with the same results. I have debug=true but I cant seem to see any difference that it makes. I would appreciate any additional troubleshooting help.
[27-Aug-2024 20:08:26] NOTICE: ready to handle connections
Migrate database...
Database migration failed. Try again...
Database migration failed. Try again...
Database migration failed. Try again...
Database migration failed.
2024-08-27 20:08:25,765 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
2024-08-27 20:08:25,772 INFO supervisord started with pid 14
2024-08-27 20:08:26,777 INFO spawned: 'cron' with pid 15
2024-08-27 20:08:26,781 INFO spawned: 'nginx' with pid 16
2024-08-27 20:08:26,786 INFO spawned: 'php-fpm' with pid 17
2024-08-27 20:08:27,923 INFO success: cron entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-08-27 20:08:27,924 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-08-27 20:08:27,924 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
127.0.0.1 - 27/Aug/2024:20:11:17 +0000 "GET /index.php" 200
192.168.0.19 - - [27/Aug/2024:20:11:17 +0000] "GET / HTTP/1.1" 200 812 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Firefox/129.0" "102.165.16.78"
192.168.0.19 - - [27/Aug/2024:20:11:17 +0000] "GET /css/inter.css HTTP/1.1" 200 5654 "https://notes.[mydomain].com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Firefox/129.0" "102.165.16.78"
192.168.0.19 - - [27/Aug/2024:20:11:17 +0000] "GET /css/app.css?id=c96f213a8fd919bdba321ca0a4bd8bd0 HTTP/1.1" 200 25980 "https://notes.[mydomain].com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Firefox/129.0" "102.165.16.78"
192.168.0.19 - - [27/Aug/2024:20:11:17 +0000] "GET /fonts/Inter-Regular.woff2?v=3.19 HTTP/1.1" 200 98868 "https://notes.[mydomain].com/css/inter.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Firefox/129.0" "102.165.16.78"
192.168.0.19 - - [27/Aug/2024:20:11:17 +0000] "GET /fonts/Inter-SemiBold.woff2?v=3.19 HTTP/1.1" 200 105804 "https://notes.[mydomain].com/css/inter.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Firefox/129.0" "102.165.16.78"
127.0.0.1 - 27/Aug/2024:20:11:17 +0000 "GET /index.php" 500
192.168.0.19 - - [27/Aug/2024:20:11:17 +0000] "GET /api/auth/me HTTP/1.1" 500 6634 "https://notes.[mydomain].com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Firefox/129.0" "102.165.16.78"
192.168.0.19 - - [27/Aug/2024:20:11:18 +0000] "GET /service-worker.js HTTP/1.1" 200 25072 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Firefox/129.0" "102.165.16.78"
127.0.0.1 - 27/Aug/2024:20:11:31 +0000 "POST /index.php" 500
192.168.0.19 - - [27/Aug/2024:20:11:31 +0000] "POST /api/auth/login HTTP/1.1" 500 6628 "https://notes.[mydomain].com/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Firefox/129.0" "102.165.16.78"
benotes_db log
2024-08-27 20:08:07.487 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
2024-08-27 20:08:07.487 UTC [1] LOG: listening on IPv6 address "::", port 5432
2024-08-27 20:08:07.518 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2024-08-27 20:08:07.556 UTC [24] LOG: database system was shut down at 2024-08-26 02:49:13 UTC
2024-08-27 20:08:07.595 UTC [1] LOG: database system is ready to accept connections
2024-08-27 20:13:07.601 UTC [22] LOG: checkpoint starting: time
2024-08-27 20:13:07.665 UTC [22] LOG: checkpoint complete: wrote 3 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.007 s, sync=0.015 s, total=0.065 s; sync files=2, longest=0.008 s, average=0.008 s; distance=0 kB, estimate=0 kB
PostgreSQL Database directory appears to contain a database; Skipping initialization
The text was updated successfully, but these errors were encountered:
Discussed in #108
Originally posted by joebrands August 27, 2024
Hello! I believe I have sucessfully installed Benotes and the DB and ran
php artisan install
as well ashown -R www-data:www-data storage && chmod -R 774 storage
to be sure which both worked fine with no errors. The only error I get is on startup it throws aDatabase migration failed.
and is also the only thing logged in the laravel.log.The issue is when I go to the web ui and try to log in with the admin user I setup, the login button does nothing. I can see the POST and GET (shown below) in the app log but nothing else happens. No errors that I can find either.
I used a compose stack outlined below being run on an Unraid system. I am using bind mounts right now but I tested also with the default volume mounts and had the same problem. Ive also tested local and now behind my proxy with the same results. I have
debug=true
but I cant seem to see any difference that it makes. I would appreciate any additional troubleshooting help.compose
.env
benotes_app log
benotes_db log
The text was updated successfully, but these errors were encountered: