Open jwynn6 opened 1 year ago
Definitely weird. Something perhaps with the SITE_URL variable? You are right as well, not much has changed since 1.0.2 to affect this which is going to make this difficult to track where the issue is. It could very well be something within Leantime itself?
It looks like it's never actually writing to the database. Possibly some sort of silent fail when invoking the auto-creation of the admin user?
Try using environment variable SHOW_OUTPUT=TRUE
and lets see.
I just took a look at the config file and there is more options. Have a peek at 1.0.7
and I also believe this may give you a better install experience specifically with custom DB_PORT support and other goodies.
Love the updates. With the expanded logging, it looks like the issue is in the initialization of the database. It shouldn't take forever, but surely some time need elapse, the timestamps look like it's instantaneous. I'll go through my config again and ensure all the info is correct for the database connection, and use the handy-dandy new DB_PORT.
leantime | 2022-08-25.22:35:36 [WARN] [leantime] Detected empty Database - Setting up - Please wait a few minutes.. leantime | 2022-08-25.22:35:36 [INFO] [leantime] Initialization Complete. Please visit https://abcd.com and login with your credentials...
Likely unrelated: also seeing a backups error.
leantime | ln: /www/html//data/backup/: No such file or directory
The same problem for me on my existing install. It is looping between authentication and setup on an existing installation.
From v1.0.2 I'm getting stuck in a loop at setup. The following is the log that repeats with every loop. Attempting to visit in a browser gives an "err_too_many_redirects" and the url jumps to https://foo.com/install/update. It makes me think the setup script isn't completing and somehow triggering the containers to reset. Any ideas? I'm a bit stumped since not much seems to have changed in the container generation scripts since 1.0.2.