-
After upgrading to v2.9.45 from v2.9.37, I'm unable to run any new task. I would get |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 5 replies
-
Can you see if you can get more detailed logs and possibly a stack trace from the logs?
|
Beta Was this translation helpful? Give feedback.
-
I'm not sure how to get more detailed logs. Every time when I try to start a task, that single line of error appears. I forgot to mention that I'm running Semaphore via Docker. Not sure if this additional info helps. I got the logs via
|
Beta Was this translation helpful? Give feedback.
-
What database do you use? Do you use a Dockerfile to build on the semaphore image or have a configured invocation? Can you share your config.json (with redaction if necessary)? |
Beta Was this translation helpful? Give feedback.
-
Hi Andreas, I use Docker Compose. Below is my file: version: '3' semaphore: |
Beta Was this translation helpful? Give feedback.
-
Hi @loweehahn
You should use Docs: https://docs.semui.co/administration-guide/security#database-encryption |
Beta Was this translation helpful? Give feedback.
-
I agree, error message absolutely uninformative. TODO: change error message for encryption key errors. |
Beta Was this translation helpful? Give feedback.
-
Hi @fiftin Below is the output of the container's log after I adopted your suggestion and updated to the latest version:
The error at the last line is very similar to the one I got before. Below is my updated Docker Compose file:
|
Beta Was this translation helpful? Give feedback.
-
Hi @fiftin I followed your suggestion and got this error instead: Then I recalled that actually Anyway when I reverted to the current access key encryption value, I'm getting the same error message as my first post. |
Beta Was this translation helpful? Give feedback.
Hi @loweehahn
SEMAPHORE_ACCESS_KEY_ENCRYPTION: 1234=
is incorrect.You should use
head -c32 /dev/urandom | base64
to generate key.Docs: https://docs.semui.co/administration-guide/security#database-encryption