worklenz
worklenz copied to clipboard
Failed to validate signup details, after deployed with docker
When I signup, shows the error of "Failed to validate signup details"
Database docker has logs:
2025-04-22 07:15:48.677 UTC [43] ERROR: relation "pg_sessions" does not exist at character 13
2025-04-22 07:15:48.677 UTC [43] STATEMENT: DELETE FROM "pg_sessions" WHERE expire < to_timestamp($1)
And I used the default .env file.
@mobilestack check if the worklenz_backend running properly
@mobilestack check if the worklenz_backend running properly
for backend docker logs:
Failed to prune sessions: relation "pg_sessions" does not exist
and for Minio, it does not automatically create the default bucket.
I'm having the same problem here, any solutions?
@mobilestack check whether db have successfully initialized problem seem to be in db check if this script had failed to run
I have the same problem. I don't know if i made any mistake during installation. #FirstTimeLinuxUser If i try to execute the script @kithmina1999 then Putty just crashes.
Just reseted the Server and tried a fresh install with the ./start.sh script Result: ⚠ Some services may not be running properly. Check the logs for more details: docker compose logs
This was in the logs:
worklenz_backend | GET /api/health 404 6.700 ms - 149
...
worklenz_createbuckets | Attempt to connect to MinIO...
worklenz_createbuckets | mc: <ERROR> Unable to initialize new alias from the provided credentials. Get "http://minio:9000/probe-bsign-seknyvz3vhylg3r24 9rbund5vtfhew/?location=": dial tcp 172.18.0.2:9000: connect: connection refused.
worklenz_createbuckets | Connection failed, retrying in 5 seconds...
worklenz_createbuckets | /bin/sh: -c: line 11: syntax error near unexpected token `done'
worklenz_createbuckets | /bin/sh: -c: line 11: `done echo "Failed to connect to MinIO after 5 attempts" exit 1; '
I had the same issue with "pg_sessions". After manually import of 00-init-db.sh, the DB is starting.
Manuell import 00-ini-db-sh
docker compose exec db bash
cd docker-entrypoint-initdb.d
chmod +x 00-init-db.sh
./00-init-db.sh
Now i receive this error message about CSRF.
{
"done": false,
"message": "Invalid CSRF token",
"body": null
}
I'm having the same problem here, any solutions?
Steps to reproduce (on freshly installed Ubuntu 24.04):
git clone https://github.com/Worklenz/worklenz.git
cd worklenz
# Add Docker's official GPG key:
sudo apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
# Add the repository to Apt sources:
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
./start.sh
Is there anything else that needs to be configured/done manually?
Edit: If i login to => MinIO Console: IPv4OfServer:9001/ (login with minioadmin/minioadmin) there is nothing inside. No buckets, no users. (I assume there should be ... something.)
@MarkBubacz could you please check if the worklenz_createbuckets service is working as expected? There might be an issue with bucket initialization. Please check the logs for worklenz_createbucket
docker logs worklenz_createbuckets
@kithmina1999
root@ubuntu:~# docker logs worklenz_createbuckets
Attempt to connect to MinIO...
mc: <ERROR> Unable to initialize new alias from the provided credentials. Get "http://minio:9000/probe-bsign-r5jzrl63hin0pnkfg3srti1ah3yzp2/?location=": dial tcp 172.18.0.3:9000: connect: connection refused.
Connection failed, retrying in 5 seconds...
/bin/sh: -c: line 11: syntax error near unexpected token `done'
/bin/sh: -c: line 11: `done echo "Failed to connect to MinIO after 5 attempts" exit 1; '
P.S.: dial tcp 172.18.0.3:9000? The servers local IP schould be 172.17.0.1 or 172.18.0.1 afaik
I´ve got the same issue - after creation the createbuckets container fails but if i start it again it seems to work as intended but i still can´t signup.
root@debian:/# docker logs worklenz_createbuckets
Attempt to connect to MinIO...
mc: <ERROR> Unable to initialize new alias from the provided credentials. Get "http://minio:9000/probe-bsign-43pqil0xpf0wp43ttegr62ty6qn5vn/?location=": dial tcp 172.27.0.2:9000: connect: connection refused.
Connection failed, retrying in 5 seconds...
/bin/sh: -c: line 11: syntax error near unexpected token 'done'
/bin/sh: -c: line 11: done echo "Failed to connect to MinIO after 5 attempts" exit 1; '
Attempt to connect to MinIO...
Added 'myminio' successfully.
Successfully connected to MinIO!
Bucket created successfully 'myminio/worklenz-bucket'.
mc: Please use 'mc anonymous'
there is a error in createbuckets service you can try this and tell me if this fix the issue
createbuckets:
image: minio/mc
container_name: worklenz_createbuckets
depends_on:
- minio
entrypoint: >
/bin/sh -c " echo 'Waiting for MinIO to start...'; sleep 15; for i in 1 2 3 4 5; do
echo \"Attempt $i to connect to MinIO...\";
if /usr/bin/mc config host add myminio http://minio:9000 minioadmin minioadmin; then
echo \"Successfully connected to MinIO!\";
/usr/bin/mc mb --ignore-existing myminio/worklenz-bucket;
/usr/bin/mc policy set public myminio/worklenz-bucket;
exit 0;
fi;
echo \"Connection failed, retrying in 5 seconds...\";
sleep 5;
done; echo \"Failed to connect to MinIO after 5 attempts\"; exit 1; "
networks:
- worklenz
@kithmina1999 It doesn't work. The docker-compose.yml has already, what u have responsed
@kithmina1999 It doesn't work. The docker-compose.yml has already, what u have responsed
there's syntax error in the config try replacing this service config
@kithmina1999
worklenz_createbuckets | Attempt to connect to MinIO...
worklenz_createbuckets | Added myminio successfully.
worklenz_createbuckets | Successfully connected to MinIO!
worklenz_createbuckets | Bucket created successfully myminio/worklenz-bucket.
worklenz_createbuckets | mc: Please use 'mc anonymous'
worklenz_db | selecting dynamic shared memory implementation ... posix
worklenz_db | selecting default max_connections ... 100
worklenz_db | selecting default shared_buffers ... 128MB
worklenz_db | selecting default time zone ... Etc/UTC
worklenz_db | creating configuration files ... ok
worklenz_db | running bootstrap script ... ok
worklenz_db | performing post-bootstrap initialization ... ok
worklenz_db | syncing data to disk ... ok
But still the Problem with "Failed to validate signup details" which means i can't create an account in woklenz
@kithmina1999 I forked the project and changed the createbuckets part.
After deleting the old install and starting it again with ./start.sh i get the following during install:
(Not sure if relevant)
__ __ _ _
\ \ / / | | | |
\ \ /\ / /__ _ __| | _| | ___ _ __ ____
\ \/ \/ / _ \| '__| |/ / |/ _ \ '_ \|_ /
\ /\ / (_) | | | <| | __/ | | |/ /
\/ \/ \___/|_| |_|\_\_|\___|_| |_/___|
W O R K L E N Z
Starting Worklenz Docker Environment...
Running preflight checks...
✓ Docker is running
✓ Using Docker Compose V2
Starting Worklenz services...
WARN[0000] The "i" variable is not set. Defaulting to a blank string.
WARN[0000] The "i" variable is not set. Defaulting to a blank string.
[+] Running 6/6
✔ Network worklenz_worklenz Created 0.1s
✔ Container worklenz_db Healthy 11.2s
✔ Container worklenz_minio Started 0.7s
✔ Container worklenz_createbuckets Started 1.1s
✔ Container worklenz_backend Started 11.3s
✔ Container worklenz_frontend Started 11.7s
Waiting for services to initialize...
This may take a minute or two depending on your system...
Checking Database service...
✓ Database is running
Checking MinIO service...
✓ MinIO is running and responding at http://localhost:9000/minio/health/live
Checking Backend service...
.............................⚠ Backend container is running but not responding at http://localhost:3000/api/health
Checking Frontend service...
✓ Frontend is running and responding at http://localhost:5000
Service URLs:
• Frontend: http://localhost:5000
• MinIO Console: http://localhost:9001 (login: minioadmin/minioadmin)
⚠ Some services may not be running properly. Check the logs for more details:
docker compose logs
Useful commands:
• View logs: docker compose logs -f
• Stop services: ./stop.sh
MinIO has a bucket, but nothing else. (To be fair, i don't know what should be there, but for me it looks kinda empty)
ServerIP:3000 returns
{
"done": false,
"message": "Invalid CSRF token",
"body": null
}
And trrying to signup still gives "Failed to validate signup details"
And here are the full logs:
WARN[0000] The "i" variable is not set. Defaulting to a blank string.
worklenz_createbuckets | Waiting for MinIO to start...
worklenz_createbuckets | Attempt to connect to MinIO...
worklenz_createbuckets | Added `myminio` successfully.
worklenz_createbuckets | Successfully connected to MinIO!
worklenz_createbuckets | Bucket created successfully `myminio/worklenz-bucket`.
worklenz_createbuckets | mc: Please use 'mc anonymous'
worklenz_createbuckets | Waiting for MinIO to start...
worklenz_createbuckets | Attempt to connect to MinIO...
worklenz_createbuckets | Added `myminio` successfully.
worklenz_createbuckets | Successfully connected to MinIO!
worklenz_createbuckets | Bucket created successfully `myminio/worklenz-bucket`.
worklenz_createbuckets | mc: Please use 'mc anonymous'
worklenz_frontend | INFO Accepting connections at http://localhost:5000
worklenz_frontend | HTTP 4/24/2025 7:47:53 AM 172.18.0.1 GET /
worklenz_frontend | HTTP 4/24/2025 7:47:53 AM 172.18.0.1 Returned 200 in 19 ms
worklenz_frontend | HTTP 4/24/2025 7:52:26 AM 87.122.22.37 GET /
worklenz_frontend | HTTP 4/24/2025 7:52:26 AM 87.122.22.37 Returned 304 in 2 ms
worklenz_frontend | HTTP 4/24/2025 7:52:26 AM 87.122.22.37 GET /assets/js/index-C_eAWM1r.js
worklenz_frontend | HTTP 4/24/2025 7:52:26 AM 87.122.22.37 Returned 304 in 9 ms
worklenz_frontend | HTTP 4/24/2025 7:52:26 AM 87.122.22.37 GET /assets/js/antd-DQ2Uih60.js
worklenz_frontend | HTTP 4/24/2025 7:52:26 AM 87.122.22.37 GET /assets/css/index-D1LktS97.css
worklenz_frontend | HTTP 4/24/2025 7:52:26 AM 87.122.22.37 GET /assets/js/i18n-C4yzD5Uu.js
worklenz_frontend | HTTP 4/24/2025 7:52:26 AM 87.122.22.37 Returned 304 in 3 ms
worklenz_frontend | HTTP 4/24/2025 7:52:26 AM 87.122.22.37 Returned 304 in 3 ms
worklenz_frontend | HTTP 4/24/2025 7:52:26 AM 87.122.22.37 Returned 304 in 16 ms
worklenz_frontend | HTTP 4/24/2025 7:52:27 AM 87.122.22.37 GET /locales/en/translation.json
worklenz_frontend | HTTP 4/24/2025 7:52:27 AM 87.122.22.37 Returned 304 in 1 ms
worklenz_frontend | HTTP 4/24/2025 7:52:27 AM 87.122.22.37 GET /locales/en/auth/login.json
worklenz_frontend | HTTP 4/24/2025 7:52:27 AM 87.122.22.37 Returned 304 in 2 ms
worklenz_frontend | HTTP 4/24/2025 7:53:38 AM 87.122.22.37 GET /locales/en/auth/signup.json
worklenz_frontend | HTTP 4/24/2025 7:53:38 AM 87.122.22.37 Returned 304 in 3 ms
worklenz_db |
worklenz_db | PostgreSQL Database directory appears to contain a database; Skipping initialization
worklenz_db |
worklenz_db | 2025-04-24 07:47:11.698 UTC [1] LOG: starting PostgreSQL 15.12 (Debian 15.12-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
worklenz_db | 2025-04-24 07:47:11.701 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
worklenz_db | 2025-04-24 07:47:11.701 UTC [1] LOG: listening on IPv6 address "::", port 5432
worklenz_db | 2025-04-24 07:47:11.703 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
worklenz_db | 2025-04-24 07:47:11.718 UTC [27] LOG: database system was shut down at 2025-04-24 07:45:05 UTC
worklenz_db | 2025-04-24 07:47:11.743 UTC [1] LOG: database system is ready to accept connections
worklenz_db | 2025-04-24 07:52:11.798 UTC [25] LOG: checkpoint starting: time
worklenz_db | 2025-04-24 07:52:12.306 UTC [25] LOG: checkpoint complete: wrote 8 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.503 s, sync=0.002 s, total=0.509 s; sync files=6, longest=0.002 s, average=0.001 s; distance=24 kB, estimate=24 kB
worklenz_db | 2025-04-24 07:57:11.385 UTC [25] LOG: checkpoint starting: time
worklenz_db | 2025-04-24 07:57:11.690 UTC [25] LOG: checkpoint complete: wrote 4 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.302 s, sync=0.002 s, total=0.305 s; sync files=4, longest=0.001 s, average=0.001 s; distance=13 kB, estimate=23 kB
worklenz_backend |
worklenz_backend | > [email protected] start
worklenz_backend | > node ./build/bin/www
worklenz_backend |
worklenz_backend | Storage provider initialized: s3
worklenz_backend | Using endpoint: http://minio:9000
worklenz_backend | Bucket: worklenz-bucket
worklenz_backend | Listening on port 3000
worklenz_backend | DbTaskStatusChangeListener connected.
worklenz_backend | GET /api/health 404 13.176 ms - 149
worklenz_backend | GET /api/health 404 1.611 ms - 149
worklenz_backend | GET /api/health 404 1.088 ms - 149
worklenz_backend | GET /api/health 404 1.238 ms - 149
worklenz_backend | GET /api/health 404 1.099 ms - 149
worklenz_backend | GET /api/health 404 1.094 ms - 149
worklenz_backend | GET /api/health 404 1.079 ms - 149
worklenz_backend | GET /api/health 404 1.066 ms - 149
worklenz_backend | GET /api/health 404 1.303 ms - 149
worklenz_backend | GET /api/health 404 1.252 ms - 149
worklenz_backend | GET /api/health 404 1.124 ms - 149
worklenz_backend | GET /api/health 404 1.152 ms - 149
worklenz_backend | GET /api/health 404 1.106 ms - 149
worklenz_backend | GET /api/health 404 1.330 ms - 149
worklenz_backend | GET /api/health 404 1.100 ms - 149
worklenz_backend | GET /api/health 404 1.053 ms - 149
worklenz_backend | GET /api/health 404 1.314 ms - 149
worklenz_backend | GET /api/health 404 1.077 ms - 149
worklenz_backend | GET /api/health 404 1.005 ms - 149
worklenz_backend | GET /api/health 404 1.033 ms - 149
worklenz_backend | GET /api/health 404 1.249 ms - 149
worklenz_backend | GET /api/health 404 1.340 ms - 149
worklenz_backend | GET /api/health 404 1.068 ms - 149
worklenz_backend | GET /api/health 404 1.233 ms - 149
worklenz_backend | GET /api/health 404 2.140 ms - 149
worklenz_backend | GET /api/health 404 0.892 ms - 149
worklenz_backend | GET / 403 17.425 ms - 57
worklenz_backend | GET /favicon.ico 403 2.259 ms - 57
worklenz_backend | GET / 403 10.396 ms - 57
worklenz_backend | GET /favicon.ico 403 1.954 ms - 57
worklenz_minio | MinIO Object Storage Server
worklenz_minio | Copyright: 2015-2025 MinIO, Inc.
worklenz_minio | License: GNU AGPLv3 - https://www.gnu.org/licenses/agpl-3.0.html
worklenz_minio | Version: RELEASE.2025-04-08T15-41-24Z (go1.24.2 linux/amd64)
worklenz_minio |
worklenz_minio | API: http://172.18.0.2:9000 http://127.0.0.1:9000
worklenz_minio | WebUI: http://172.18.0.2:9001 http://127.0.0.1:9001
worklenz_minio |
worklenz_minio | Docs: https://docs.min.io
worklenz_minio | WARN: Detected default credentials 'minioadmin:minioadmin', we recommend that you change these values with 'MINIO_ROOT_USER' and 'MINIO_ROOT_PASSWORD' environment variables
worklenz_minio | INFO:
worklenz_minio | You are running an older version of MinIO released 2 weeks before the latest release
worklenz_minio | Update: Run `mc admin update ALIAS`
worklenz_minio |
worklenz_minio |
@kithmina1999 I forked the project and changed the createbuckets part.
After deleting the old install and starting it again with
./start.shi get the following during install: (Not sure if relevant)
\ \ / / | | | | \ \ /\ / /__ _ | | _| | ___ _ __ ____ \ / / / _ | '| |/ / |/ _ \ '_ |_ / \ /\ / () | | | <| | / | | |/ / / / _/|| ||__|___|| |/__|
W O R K L E N ZStarting Worklenz Docker Environment... Running preflight checks... ✓ Docker is running ✓ Using Docker Compose V2 Starting Worklenz services... WARN[0000] The "i" variable is not set. Defaulting to a blank string. WARN[0000] The "i" variable is not set. Defaulting to a blank string. [+] Running 6/6 ✔ Network worklenz_worklenz Created 0.1s ✔ Container worklenz_db Healthy 11.2s ✔ Container worklenz_minio Started 0.7s ✔ Container worklenz_createbuckets Started 1.1s ✔ Container worklenz_backend Started 11.3s ✔ Container worklenz_frontend Started 11.7s Waiting for services to initialize... This may take a minute or two depending on your system... Checking Database service... ✓ Database is running Checking MinIO service... ✓ MinIO is running and responding at http://localhost:9000/minio/health/live Checking Backend service... .............................⚠ Backend container is running but not responding at http://localhost:3000/api/health Checking Frontend service... ✓ Frontend is running and responding at http://localhost:5000
Service URLs: • Frontend: http://localhost:5000 • MinIO Console: http://localhost:9001 (login: minioadmin/minioadmin)
⚠ Some services may not be running properly. Check the logs for more details: docker compose logs
Useful commands: • View logs: docker compose logs -f • Stop services: ./stop.sh MinIO has a bucket, but nothing else. (To be fair, i don't know what should be there, but for me it looks kinda empty)
ServerIP:3000 returns
{ "done": false, "message": "Invalid CSRF token", "body": null }And trrying to signup still gives "Failed to validate signup details"
can you try
docker-compose down -v
and try ./start.sh again
i think db need to be reinitialize
@kithmina1999
root@ubuntu:~/worklenz# docker compose down -v
[+] Running 8/8
✔ Container worklenz_createbuckets Removed 0.0s
✔ Container worklenz_frontend Removed 0.2s
✔ Container worklenz_backend Removed 0.7s
✔ Container worklenz_minio R... 0.3s
✔ Container worklenz_db Remo... 0.3s
✔ Volume worklenz_worklenz_postgres_data Removed 0.1s
✔ Volume worklenz_worklenz_minio_data Removed 0.1s
✔ Network worklenz_worklenz Removed 0.1s
root@ubuntu:~/worklenz# ./start.sh
__ __ _ _
\ \ / / | | | |
\ \ /\ / /__ _ __| | _| | ___ _ __ ____
\ \/ \/ / _ \| '__| |/ / |/ _ \ '_ \|_ /
\ /\ / (_) | | | <| | __/ | | |/ /
\/ \/ \___/|_| |_|\_\_|\___|_| |_/___|
W O R K L E N Z
Starting Worklenz Docker Environment...
Running preflight checks...
✓ Docker is running
✓ Using Docker Compose V2
Starting Worklenz services...
[+] Running 8/8
✔ Network worklenz_worklenz Created 0.1s
✔ Volume "worklenz_worklenz_minio_data" Created 0.0s
✔ Volume "worklenz_worklenz_postgres_data" Created 0.0s
✔ Container worklenz_db Healthy 10.8s
✔ Container worklenz_minio Started 0.8s
✔ Container worklenz_backend Started 10.9s
✔ Container worklenz_createbuckets Started 1.5s
✔ Container worklenz_frontend Started 11.6s
Waiting for services to initialize...
This may take a minute or two depending on your system...
Checking Database service...
✓ Database is running
Checking MinIO service...
✓ MinIO is running and responding at http://localhost:9000/minio/health/live
Checking Backend service...
.............................⚠ Backend container is running but not responding at http://localhost:3000/api/health
Checking Frontend service...
✓ Frontend is running and responding at http://localhost:5000
Service URLs:
• Frontend: http://localhost:5000
• MinIO Console: http://localhost:9001 (login: minioadmin/minioadmin)
⚠ Some services may not be running properly. Check the logs for more details:
docker compose logs
Useful commands:
• View logs: docker compose logs -f
• Stop services: ./stop.sh
And now the bucket is gone too.
root@ubuntu:~/worklenz# docker logs worklenz_createbuckets
Attempt to connect to MinIO...
mc: <ERROR> Unable to initialize new alias from the provided credentials. Get "http://minio:9000/probe-bsign-3tfwlccqt9v65p4x0hnuhbbclhivt1/?location=": dial tcp 172.18.0.3:9000: connect: connection refused.
Connection failed, retrying in 5 seconds...
/bin/sh: -c: line 11: syntax error near unexpected token `done'
/bin/sh: -c: line 11: `done echo "Failed to connect to MinIO after 5 attempts" exit 1; '
root@ubuntu:~/worklenz# docker compose down -v [+] Running 8/8 ✔ Container worklenz_createbuckets Removed 0.0s ✔ Container worklenz_frontend Removed 0.2s ✔ Container worklenz_backend Removed 0.7s ✔ Container worklenz_minio R... 0.3s ✔ Container worklenz_db Remo... 0.3s ✔ Volume worklenz_worklenz_postgres_data Removed 0.1s ✔ Volume worklenz_worklenz_minio_data Removed 0.1s ✔ Network worklenz_worklenz Removed 0.1s root@ubuntu:~/worklenz# ./start.sh
\ \ / / | | | | \ \ /\ / /__ _ | | _| | ___ _ __ ____ \ / / / _ | '| |/ / |/ _ \ '_ |_ / \ /\ / () | | | <| | / | | |/ / / / _/|| ||__|___|| |/__|
W O R K L E N ZStarting Worklenz Docker Environment... Running preflight checks... ✓ Docker is running ✓ Using Docker Compose V2 Starting Worklenz services... [+] Running 8/8 ✔ Network worklenz_worklenz Created 0.1s ✔ Volume "worklenz_worklenz_minio_data" Created 0.0s ✔ Volume "worklenz_worklenz_postgres_data" Created 0.0s ✔ Container worklenz_db Healthy 10.8s ✔ Container worklenz_minio Started 0.8s ✔ Container worklenz_backend Started 10.9s ✔ Container worklenz_createbuckets Started 1.5s ✔ Container worklenz_frontend Started 11.6s Waiting for services to initialize... This may take a minute or two depending on your system... Checking Database service... ✓ Database is running Checking MinIO service... ✓ MinIO is running and responding at http://localhost:9000/minio/health/live Checking Backend service... .............................⚠ Backend container is running but not responding at http://localhost:3000/api/health Checking Frontend service... ✓ Frontend is running and responding at http://localhost:5000
Service URLs: • Frontend: http://localhost:5000 • MinIO Console: http://localhost:9001 (login: minioadmin/minioadmin)
⚠ Some services may not be running properly. Check the logs for more details: docker compose logs
Useful commands: • View logs: docker compose logs -f • Stop services: ./stop.sh And now the bucket is gone too
/bin/sh: -c: line 11: syntax error near unexpected token
done' /bin/sh: -c: line 11:done echo "Failed to connect to MinIO after 5 attempts" exit 1; '
there's syntax error here, i provided a createbuckets service config earlier u can check and get it from above replace it with current one
did you check http://localhost:5000 and try signup you can check bucket from port 9001
As i said, the bucket got removed after
can you try
docker-compose down -v
and try ./start.sh again
And signup also not working
As i said, the bucket got removed after
can you try docker-compose down -v and try ./start.sh againAnd signup also not working
-v flag in docker-compose down -v remove all declare volumes and also minio bucket so use it with caution in docker-compose so you can reinitialize db scripts freshly without skipping it
and u need to replace createbuckets service config in your docker-compose.yaml with below one because original one have syntax error
createbuckets:
image: minio/mc
container_name: worklenz_createbuckets
depends_on:
- minio
entrypoint: >
/bin/sh -c " echo 'Waiting for MinIO to start...'; sleep 15; for i in 1 2 3 4 5; do
echo \"Attempt $i to connect to MinIO...\";
if /usr/bin/mc config host add myminio http://minio:9000 minioadmin minioadmin; then
echo \"Successfully connected to MinIO!\";
/usr/bin/mc mb --ignore-existing myminio/worklenz-bucket;
/usr/bin/mc policy set public myminio/worklenz-bucket;
exit 0;
fi;
echo \"Connection failed, retrying in 5 seconds...\";
sleep 5;
done; echo \"Failed to connect to MinIO after 5 attempts\"; exit 1; "
networks:
- worklenz
and try to ./start.sh again to check the result validation error seems to happen because of db not initialize properly
@kithmina1999 Sorry if i misunderstand something, but you already provided these steps, which we tried (without success) and posted the results.
BTW: Only docker compose up -d creates a bucket, ./start.sh does not.
BTW: Only
docker compose up -dcreates a bucket,./start.shdoes not.
what happened when run ./start.sh
@MarkBubacz With ./start.sh create a bucket but i still have the problem "Failed to validate signup details" @kithmina1999 I have deleted the volumes but still doesn't working
Maybe there have been leftovers from testing, so let's do this from scratch again:
-
Fresh install Ubuntu 24.04
-
Install Docker
# Add Docker's official GPG key:
sudo apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
# Add the repository to Apt sources:
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
-
Fork the project
-
Changed the
docker-compose.ymlcode you provided -
Clone it
git clone https://github.com/[Our Workspace]/worklenz.git
cd worklenz
- Start the script
./start.sh
Result:
__ __ _ _
\ \ / / | | | |
\ \ /\ / /__ _ __| | _| | ___ _ __ ____
\ \/ \/ / _ \| '__| |/ / |/ _ \ '_ \|_ /
\ /\ / (_) | | | <| | __/ | | |/ /
\/ \/ \___/|_| |_|\_\_|\___|_| |_/___|
W O R K L E N Z
Starting Worklenz Docker Environment...
Running preflight checks...
✓ Docker is running
✓ Using Docker Compose V2
Starting Worklenz services...
WARN[0000] The "i" variable is not set. Defaulting to a blank string.
WARN[0000] The "i" variable is not set. Defaulting to a blank string.
[+] Running 55/55
✔ minio Pulled 19.4s
✔ 546fbfcace65 Pull complete 6.1s
✔ d0c8865a0302 Pull complete 6.1s
✔ cf67644788eb Pull complete 15.5s
✔ df0d0d229f33 Pull complete 16.9s
✔ 62481e699c81 Pull complete 17.2s
✔ 68a66c893f7c Pull complete 17.3s
✔ d7ab9c0b242a Pull complete 17.3s
✔ 39c8ce9a80d2 Pull complete 17.4s
✔ createbuckets Pulled 6.8s
✔ d949f716ce77 Pull complete 2.2s
✔ 8c577d69454d Pull complete 2.3s
✔ 3a3fd2aa552d Pull complete 2.3s
✔ 8242a3e5dca2 Pull complete 2.3s
✔ 2566c79cc301 Pull complete 2.3s
✔ 5d145a3de6f4 Pull complete 3.5s
✔ 4da90d54f1de Pull complete 4.8s
✔ db Pulled 26.3s
✔ 8a628cdd7ccc Pull complete 8.3s
✔ 7f231089d790 Pull complete 8.4s
✔ e315323dafc9 Pull complete 9.6s
✔ eac1e56d4ee8 Pull complete 9.9s
✔ 90463926d2a7 Pull complete 12.2s
✔ b1654e8e1b7f Pull complete 12.4s
✔ 8a0c5f7da6d6 Pull complete 12.4s
✔ 88de5978531b Pull complete 12.4s
✔ f9509fe905c8 Pull complete 24.3s
✔ 27e79f9556ed Pull complete 24.3s
✔ 3a416bb02678 Pull complete 24.3s
✔ c33dbe9c2f08 Pull complete 24.4s
✔ 75dd0845c5ca Pull complete 24.4s
✔ ea429041403b Pull complete 24.4s
✔ frontend Pulled 13.1s
✔ f18232174bc9 Pull complete 0.7s
✔ cb2bde55f71f Pull complete 6.4s
✔ 9d0e0719fbe0 Pull complete 6.7s
✔ 6f063dbd7a5d Pull complete 6.8s
✔ a0879fb058ec Pull complete 6.8s
✔ 88ae0a53cace Pull complete 8.3s
✔ 2ebac3fe63f6 Pull complete 11.4s
✔ backend Pulled 53.9s
✔ 23b7d26ef1d2 Pull complete 17.1s
✔ 07d1b5af933d Pull complete 18.6s
✔ 1eb98adba0eb Pull complete 23.6s
✔ b617a119f8a2 Pull complete 33.1s
✔ 885fd1df0feb Pull complete 33.1s
✔ 9479cec2166e Pull complete 35.9s
✔ 302483aed7a8 Pull complete 36.0s
✔ 0bf6e2e75b83 Pull complete 36.0s
✔ a62ea972d4e1 Pull complete 36.0s
✔ 7d176dcdbc45 Pull complete 37.5s
✔ be01faf136d5 Pull complete 37.5s
✔ bd35c8ca5054 Pull complete 50.0s
✔ 199b89bbaeb6 Pull complete 50.8s
✔ fe930c777e63 Pull complete 51.9s
[+] Running 8/8
✔ Network worklenz_worklenz Created 0.1s
✔ Volume "worklenz_worklenz_postgres_data" Created 0.0s
✔ Volume "worklenz_worklenz_minio_data" Created 0.0s
✔ Container worklenz_db Healthy 11.2s
✔ Container worklenz_minio Started 1.2s
✔ Container worklenz_createbuckets Started 1.9s
✔ Container worklenz_backend Started 11.1s
✔ Container worklenz_frontend Started 11.9s
Waiting for services to initialize...
This may take a minute or two depending on your system...
Checking Database service...
✓ Database is running
Checking MinIO service...
✓ MinIO is running and responding at http://localhost:9000/minio/health/live
Checking Backend service...
.............................⚠ Backend container is running but not responding at http://localhost:3000/api/health
Checking Frontend service...
✓ Frontend is running and responding at http://localhost:5000
Service URLs:
• Frontend: http://localhost:5000
• MinIO Console: http://localhost:9001 (login: minioadmin/minioadmin)
⚠ Some services may not be running properly. Check the logs for more details:
docker compose logs
Useful commands:
• View logs: docker compose logs -f
• Stop services: ./stop.sh
-
Login to ServerIP:9001 A bucket was created. Should the bucket has a size? (It's 0.0 B) Should there be more? Identities? Configuration?
-
Try ServerIP:3000
{
"done": false,
"message": "Invalid CSRF token",
"body": null
}
-
Try Sign up => "Failed to validate signup details"
-
Checking logs:
root@ubuntu:~/worklenz# docker compose logs
WARN[0000] The "i" variable is not set. Defaulting to a blank string.
worklenz_frontend | INFO Accepting connections at http://localhost:5000
worklenz_frontend | HTTP 4/24/2025 9:19:40 AM 172.18.0.1 GET /
worklenz_frontend | HTTP 4/24/2025 9:19:40 AM 172.18.0.1 Returned 200 in 32 ms
worklenz_frontend | HTTP 4/24/2025 9:22:38 AM 87.122.22.37 GET /
worklenz_frontend | HTTP 4/24/2025 9:22:38 AM 87.122.22.37 Returned 304 in 2 ms
worklenz_frontend | HTTP 4/24/2025 9:22:38 AM 87.122.22.37 GET /assets/js/index-C_eAWM1r.js
worklenz_frontend | HTTP 4/24/2025 9:22:38 AM 87.122.22.37 Returned 304 in 10 ms
worklenz_frontend | HTTP 4/24/2025 9:22:38 AM 87.122.22.37 GET /assets/css/index-D1LktS97.css
worklenz_frontend | HTTP 4/24/2025 9:22:38 AM 87.122.22.37 Returned 304 in 3 ms
worklenz_frontend | HTTP 4/24/2025 9:22:38 AM 87.122.22.37 GET /assets/js/antd-DQ2Uih60.js
worklenz_frontend | HTTP 4/24/2025 9:22:38 AM 87.122.22.37 GET /assets/js/i18n-C4yzD5Uu.js
worklenz_frontend | HTTP 4/24/2025 9:22:38 AM 87.122.22.37 Returned 304 in 3 ms
worklenz_frontend | HTTP 4/24/2025 9:22:38 AM 87.122.22.37 Returned 304 in 16 ms
worklenz_frontend | HTTP 4/24/2025 9:22:39 AM 87.122.22.37 GET /locales/en/translation.json
worklenz_frontend | HTTP 4/24/2025 9:22:39 AM 87.122.22.37 Returned 304 in 2 ms
worklenz_frontend | HTTP 4/24/2025 9:22:39 AM 87.122.22.37 GET /locales/en/auth/login.json
worklenz_frontend | HTTP 4/24/2025 9:22:39 AM 87.122.22.37 Returned 304 in 3 ms
worklenz_frontend | HTTP 4/24/2025 9:22:56 AM 87.122.22.37 GET /locales/en/auth/signup.json
worklenz_frontend | HTTP 4/24/2025 9:22:56 AM 87.122.22.37 Returned 304 in 3 ms
worklenz_backend |
worklenz_backend | > [email protected] start
worklenz_backend | > node ./build/bin/www
worklenz_backend |
worklenz_backend | Storage provider initialized: s3
worklenz_backend | Using endpoint: http://minio:9000
worklenz_backend | Bucket: worklenz-bucket
worklenz_backend | Listening on port 3000
worklenz_backend | DbTaskStatusChangeListener connected.
worklenz_backend | GET /api/health 404 7.178 ms - 149
worklenz_backend | GET /api/health 404 1.691 ms - 149
worklenz_backend | GET /api/health 404 1.115 ms - 149
worklenz_backend | GET /api/health 404 1.301 ms - 149
worklenz_backend | GET /api/health 404 1.085 ms - 149
worklenz_backend | GET /api/health 404 1.195 ms - 149
worklenz_backend | GET /api/health 404 0.975 ms - 149
worklenz_backend | GET /api/health 404 1.088 ms - 149
worklenz_backend | GET /api/health 404 1.387 ms - 149
worklenz_backend | GET /api/health 404 1.829 ms - 149
worklenz_backend | GET /api/health 404 1.220 ms - 149
worklenz_backend | GET /api/health 404 1.310 ms - 149
worklenz_backend | GET /api/health 404 1.123 ms - 149
worklenz_backend | GET /api/health 404 1.279 ms - 149
worklenz_backend | GET /api/health 404 1.169 ms - 149
worklenz_backend | GET /api/health 404 1.061 ms - 149
worklenz_backend | GET /api/health 404 1.366 ms - 149
worklenz_backend | GET /api/health 404 1.185 ms - 149
worklenz_backend | GET /api/health 404 1.046 ms - 149
worklenz_backend | GET /api/health 404 1.079 ms - 149
worklenz_backend | GET /api/health 404 1.191 ms - 149
worklenz_backend | GET /api/health 404 1.167 ms - 149
worklenz_backend | GET /api/health 404 1.016 ms - 149
worklenz_backend | GET /api/health 404 1.118 ms - 149
worklenz_backend | GET /api/health 404 2.031 ms - 149
worklenz_backend | GET /api/health 404 0.965 ms - 149
worklenz_backend | GET / 403 14.456 ms - 57
worklenz_backend | GET /favicon.ico 403 2.398 ms - 57
worklenz_createbuckets | Waiting for MinIO to start...
worklenz_createbuckets | Attempt to connect to MinIO...
worklenz_createbuckets | Added `myminio` successfully.
worklenz_createbuckets | Successfully connected to MinIO!
worklenz_createbuckets | Bucket created successfully `myminio/worklenz-bucket`.
worklenz_createbuckets | mc: Please use 'mc anonymous'
worklenz_db | The files belonging to this database system will be owned by user "postgres".
worklenz_db | This user must also own the server process.
worklenz_db |
worklenz_db | The database cluster will be initialized with locale "en_US.utf8".
worklenz_db | The default database encoding has accordingly been set to "UTF8".
worklenz_db | The default text search configuration will be set to "english".
worklenz_db |
worklenz_db | Data page checksums are disabled.
worklenz_db |
worklenz_db | fixing permissions on existing directory /var/lib/postgresql/data ... ok
worklenz_db | creating subdirectories ... ok
worklenz_db | selecting dynamic shared memory implementation ... posix
worklenz_db | selecting default max_connections ... 100
worklenz_db | selecting default shared_buffers ... 128MB
worklenz_db | selecting default time zone ... Etc/UTC
worklenz_db | creating configuration files ... ok
worklenz_db | running bootstrap script ... ok
worklenz_db | performing post-bootstrap initialization ... ok
worklenz_db | syncing data to disk ... ok
worklenz_db |
worklenz_db | initdb: warning: enabling "trust" authentication for local connections
worklenz_db | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb.
worklenz_db |
worklenz_db | Success. You can now start the database server using:
worklenz_db |
worklenz_db | pg_ctl -D /var/lib/postgresql/data -l logfile start
worklenz_db |
worklenz_db | waiting for server to start....2025-04-24 09:19:02.560 UTC [46] LOG: starting PostgreSQL 15.12 (Debian 15.12-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
worklenz_db | 2025-04-24 09:19:02.561 UTC [46] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
worklenz_db | 2025-04-24 09:19:02.569 UTC [49] LOG: database system was shut down at 2025-04-24 09:19:02 UTC
worklenz_db | 2025-04-24 09:19:02.579 UTC [46] LOG: database system is ready to accept connections
worklenz_db | done
worklenz_db | server started
worklenz_db | CREATE DATABASE
worklenz_db |
worklenz_db |
worklenz_db | /usr/local/bin/docker-entrypoint.sh: sourcing /docker-entrypoint-initdb.d/00-init-db.sh
worklenz_db | Starting database initialization...
worklenz_db | Using SQL files from sql/ subdirectory
worklenz_db | Executing 0_extensions.sql...
worklenz_db | CREATE EXTENSION
worklenz_db | CREATE EXTENSION
worklenz_db | Executing 1_tables.sql...
worklenz_db | CREATE DOMAIN
worklenz_db | CREATE DOMAIN
worklenz_db | CREATE TYPE
worklenz_db | CREATE TYPE
worklenz_db | CREATE TYPE
worklenz_db | CREATE TYPE
worklenz_db | CREATE TYPE
worklenz_db | CREATE SEQUENCE
worklenz_db | CREATE TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | COMMENT
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | COMMENT
worklenz_db | COMMENT
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | COMMENT
worklenz_db | COMMENT
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | CREATE TABLE
worklenz_db | ALTER TABLE
worklenz_db | ALTER TABLE
worklenz_db | Executing indexes.sql...
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | CREATE INDEX
worklenz_db | Executing 4_functions.sql...
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | Executing triggers.sql...
worklenz_db | CREATE FUNCTION
worklenz_db | psql:/docker-entrypoint-initdb.d/sql/triggers.sql:16: NOTICE: trigger "users_email_lower" for relation "users" does not exist, skipping
worklenz_db | DROP TRIGGER
worklenz_db | CREATE TRIGGER
worklenz_db | DROP TRIGGER
worklenz_db | psql:/docker-entrypoint-initdb.d/sql/triggers.sql:22: NOTICE: trigger "email_invitations_email_lower" for relation "email_invitations" does not exist, skipping
worklenz_db | CREATE TRIGGER
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE TRIGGER
worklenz_db | CREATE FUNCTION
worklenz_db | psql:/docker-entrypoint-initdb.d/sql/triggers.sql:74: NOTICE: trigger "insert_notification_settings" for relation "team_members" does not exist, skipping
worklenz_db | DROP TRIGGER
worklenz_db | CREATE TRIGGER
worklenz_db | CREATE FUNCTION
worklenz_db | psql:/docker-entrypoint-initdb.d/sql/triggers.sql:92: NOTICE: trigger "remove_notification_settings" for relation "team_members" does not exist, skipping
worklenz_db | DROP TRIGGER
worklenz_db | CREATE TRIGGER
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE TRIGGER
worklenz_db | CREATE FUNCTION
worklenz_db | psql:/docker-entrypoint-initdb.d/sql/triggers.sql:130: NOTICE: trigger "projects_tasks_counter_trigger" for relation "tasks" does not exist, skipping
worklenz_db | DROP TRIGGER
worklenz_db | CREATE TRIGGER
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE TRIGGER
worklenz_db | Executing 3_views.sql...
worklenz_db | CREATE VIEW
worklenz_db | CREATE VIEW
worklenz_db | CREATE VIEW
worklenz_db | Executing 2_dml.sql...
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | CREATE FUNCTION
worklenz_db | sys_insert_task_priorities
worklenz_db | ----------------------------
worklenz_db |
worklenz_db | (1 row)
worklenz_db |
worklenz_db | sys_insert_project_access_levels
worklenz_db | ----------------------------------
worklenz_db |
worklenz_db | (1 row)
worklenz_db |
worklenz_db | sys_insert_task_status_categories
worklenz_db | -----------------------------------
worklenz_db |
worklenz_db | (1 row)
worklenz_db |
worklenz_db | sys_insert_project_statuses
worklenz_db | -----------------------------
worklenz_db |
worklenz_db | (1 row)
worklenz_db |
worklenz_db | sys_insert_project_healths
worklenz_db | ----------------------------
worklenz_minio | INFO: Formatting 1st pool, 1 set(s), 1 drives per set.
worklenz_minio | INFO: WARNING: Host local has more than 0 drives of set. A host failure will result in data becoming unavailable.
worklenz_minio | MinIO Object Storage Server
worklenz_minio | Copyright: 2015-2025 MinIO, Inc.
worklenz_minio | License: GNU AGPLv3 - https://www.gnu.org/licenses/agpl-3.0.html
worklenz_minio | Version: RELEASE.2025-04-22T22-12-26Z (go1.24.2 linux/amd64)
worklenz_minio |
worklenz_minio | API: http://172.18.0.3:9000 http://127.0.0.1:9000
worklenz_minio | WebUI: http://172.18.0.3:9001 http://127.0.0.1:9001
worklenz_minio |
worklenz_minio | Docs: https://docs.min.io
worklenz_minio | WARN: Detected default credentials 'minioadmin:minioadmin', we recommend that you change these values with 'MINIO_ROOT_USER' and 'MINIO_ROOT_PASSWORD' environment variables
worklenz_db |
worklenz_db | (1 row)
worklenz_db |
worklenz_db | sys_insert_license_types
worklenz_db | --------------------------
worklenz_db |
worklenz_db | (1 row)
worklenz_db |
worklenz_db | DROP FUNCTION
worklenz_db | DROP FUNCTION
worklenz_db | DROP FUNCTION
worklenz_db | DROP FUNCTION
worklenz_db | DROP FUNCTION
worklenz_db | DROP FUNCTION
worklenz_db | INSERT 0 1198
worklenz_db | Executing 5_database_user.sql...
worklenz_db | REVOKE
worklenz_db | CREATE ROLE
worklenz_db | GRANT
worklenz_db | GRANT
worklenz_db | GRANT
worklenz_db | REVOKE
worklenz_db | GRANT
worklenz_db | REVOKE
worklenz_db | GRANT
worklenz_db | REVOKE
worklenz_db | GRANT
worklenz_db | REVOKE
worklenz_db | GRANT
worklenz_db | REVOKE
worklenz_db | GRANT
worklenz_db | REVOKE
worklenz_db | GRANT
worklenz_db | REVOKE
worklenz_db | GRANT
worklenz_db | CREATE ROLE
worklenz_db | GRANT ROLE
worklenz_db | Database initialization completed successfully
worklenz_db |
worklenz_db | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/migrations
worklenz_db |
worklenz_db | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/README.md
worklenz_db |
worklenz_db | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/sql
worklenz_db |
worklenz_db | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/worklenz_db_revision_1.svg
worklenz_db |
worklenz_db | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/worklenz_db_revision_2.svg
worklenz_db |
worklenz_db | 2025-04-24 09:19:04.230 UTC [46] LOG: received fast shutdown request
worklenz_db | waiting for server to shut down....2025-04-24 09:19:04.231 UTC [46] LOG: aborting any active transactions
worklenz_db | 2025-04-24 09:19:04.238 UTC [46] LOG: background worker "logical replication launcher" (PID 52) exited with exit code 1
worklenz_db | 2025-04-24 09:19:04.239 UTC [47] LOG: shutting down
worklenz_db | 2025-04-24 09:19:04.239 UTC [47] LOG: checkpoint starting: shutdown immediate
worklenz_db | 2025-04-24 09:19:04.318 UTC [47] LOG: checkpoint complete: wrote 1200 buffers (7.3%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.056 s, sync=0.022 s, total=0.079 s; sync files=692, longest=0.001 s, average=0.001 s; distance=7497 kB, estimate=7497 kB
worklenz_db | 2025-04-24 09:19:04.328 UTC [46] LOG: database system is shut down
worklenz_db | done
worklenz_db | server stopped
worklenz_db |
worklenz_db | PostgreSQL init process complete; ready for start up.
worklenz_db |
worklenz_db | 2025-04-24 09:19:04.356 UTC [1] LOG: starting PostgreSQL 15.12 (Debian 15.12-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
worklenz_db | 2025-04-24 09:19:04.357 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
worklenz_db | 2025-04-24 09:19:04.357 UTC [1] LOG: listening on IPv6 address "::", port 5432
worklenz_db | 2025-04-24 09:19:04.358 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
worklenz_db | 2025-04-24 09:19:04.362 UTC [78] LOG: database system was shut down at 2025-04-24 09:19:04 UTC
worklenz_db | 2025-04-24 09:19:04.420 UTC [1] LOG: database system is ready to accept connections
worklenz_db | 2025-04-24 09:24:04.429 UTC [76] LOG: checkpoint starting: time
worklenz_db | 2025-04-24 09:24:14.760 UTC [76] LOG: checkpoint complete: wrote 106 buffers (0.6%); 0 WAL file(s) added, 0 removed, 0 recycled; write=10.326 s, sync=0.003 s, total=10.331 s; sync files=41, longest=0.001 s, average=0.001 s; distance=614 kB, estimate=614 kB
@MarkBubacz I have tested on debian 12 and Windows docker and same problem
there seem to be issue with the CORS policy is blocking the IP addresses it will be fixed shortly
I've fixed the issue with the URLs. Please pull the latest changes from the main branch. I've added a new script update-docker-env.sh that automatically configures the correct URLs for both local and remote environments.
For local development, you don't need to run the script as it's already configured to work with localhost.
The script takes two parameters:
- Hostname/Domain - Your server's domain or IP address
- SSL Flag - Whether to use secure connections (true/false)
Example usage:
# For local development (no SSL needed)
./update-docker-env.sh localhost false
# For production server with SSL
./update-docker-env.sh your-domain.com true
# For local network testing
./update-docker-env.sh 192.168.1.100 false
The script will automatically:
- Configure all necessary URLs in the frontend and backend
- Set up proper CORS settings
- Configure the appropriate protocol (http/https) based on the SSL flag
- Update all environment files with the correct values
Let us know whether this fixes your issue.