leantime icon indicating copy to clipboard operation
leantime copied to clipboard

[Bug]: I cannot install leantime via docker

Open Zutterart opened this issue 1 year ago • 1 comments

What is your set up?

Self Hosted Docker

Version

3.2.1

Describe the issue

I cannot install leantime via docker. Nothing happens at the 'install' page. See log below: 2024-10-09 19:23:09,636 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-10-09 19:23:09,638 INFO supervisord started with pid 7 2024-10-09 19:23:10,643 INFO spawned: 'php-fpm' with pid 8 2024-10-09 19:23:10,646 INFO spawned: 'httpd' with pid 9 [09-Oct-2024 19:23:10] NOTICE: fpm is running, pid 8 [09-Oct-2024 19:23:10] NOTICE: ready to handle connections 2024-10-09 19:23:11,707 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2024-10-09 19:23:11,708 INFO success: httpd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 127.0.0.1 - 09/Oct/2024:19:23:39 +0000 "POST /index.php" 303 127.0.0.1 - 09/Oct/2024:19:23:40 +0000 "GET /index.php" 200 127.0.0.1 - 09/Oct/2024:19:23:40 +0000 "GET /index.php" 200 127.0.0.1 - 09/Oct/2024:19:23:40 +0000 "GET /index.php" 200 127.0.0.1 - 09/Oct/2024:19:24:40 +0000 "GET /index.php" 200 127.0.0.1 - 09/Oct/2024:19:25:17 +0000 "POST /index.php" 303 127.0.0.1 - 09/Oct/2024:19:25:17 +0000 "GET /index.php" 200 127.0.0.1 - 09/Oct/2024:19:25:17 +0000 "GET /index.php" 200 127.0.0.1 - 09/Oct/2024:19:25:18 +0000 "GET /index.php" 200 127.0.0.1 - 09/Oct/2024:19:26:18 +0000 "GET /index.php" 200 127.0.0.1 - 09/Oct/2024:19:27:18 +0000 "GET /index.php" 200 127.0.0.1 - 09/Oct/2024:19:28:18 +0000 "GET /index.php" 200 127.0.0.1 - 09/Oct/2024:19:29:18 +0000 "GET /index.php" 200 127.0.0.1 - 09/Oct/2024:19:30:18 +0000 "GET /index.php" 200 127.0.0.1 - 09/Oct/2024:19:31:18 +0000 "GET /index.php" 200 127.0.0.1 - 09/Oct/2024:19:32:18 +0000 "GET /index.php" 200 127.0.0.1 - 09/Oct/2024:19:32:29 +0000 "POST /index.php" 303 127.0.0.1 - 09/Oct/2024:19:32:29 +0000 "GET /index.php" 200 127.0.0.1 - 09/Oct/2024:19:32:29 +0000 "GET /index.php" 200 127.0.0.1 - 09/Oct/2024:19:32:29 +0000 "GET /index.php" 200 127.0.0.1 - 09/Oct/2024:19:33:29 +0000 "GET /index.php" 200

Reproduction steps

...

Additional Notes

No response

Zutterart avatar Oct 09 '24 19:10 Zutterart

Any errors reported in logs/error.log ? Right now the docker image needs to run as root for the installation to work.

marcelfolaron avatar Oct 14 '24 16:10 marcelfolaron

Hi, i think i got the same issue. using docker compose on docker swarm together with docker secrets. So i use the var LEAN_DB_PASSWORD_FILE, but leantime ignores this var and tries to login without password: 2024-11-03 14:36:09 3 [Warning] Access denied for user 'leantime'@'10.0.7.11' (using password: NO)

Installed version 3.1.4 again and everything is working. Looks like a bug in version 3.2.0 or 3.2.1

goegol avatar Nov 03 '24 13:11 goegol

@Zutterart I had the same issue. It looks like you used an IP instead of domain in your setup and it failed due to #2699

KonstantinPlotnikov avatar Nov 08 '24 16:11 KonstantinPlotnikov

Sorry, but i couldn't wait. I installed taiga now.

Zutterart avatar Nov 08 '24 17:11 Zutterart