Closed kgnfth closed 1 year ago
Are there logs for logs/auth.log? And are you also using CapRover (as per the original issue)?
Are there logs for logs/auth.log? And are you also using CapRover (as per the original issue)?
Hello, I'm not using CapRover, I've tried following the 'Self-hosting with Docker' documentation to the letter. Tried it twice, with no modifications.
Thought I'd chime in here as it seemed I was facing a similar problem, unable to register only getting a 500 error. And similar error in my logs. I've attached all my logs and my config files here. standardnotes_server_logs.zip
In the logs/auth.err file, it says:
Error: ENCRYPTION_SERVER_KEY must be a hex string exactly 32 bytes long!
As per the documentation:
If you encounter issues, check the error logs:
tail -f logs/*.err
In the logs/auth.err file, it says:
Error: ENCRYPTION_SERVER_KEY must be a hex string exactly 32 bytes long!
As per the documentation:
If you encounter issues, check the error logs:
tail -f logs/*.err
Ah thank you! That fixed my issue, I didn't see that line when looking through the logs.
My mistake following the documentation was generating the keys. I had created them directly in my personal password manager. And had mistaken this example command to be generating a key 32 characters in length openssl rand -hex 32
which is clearly not the case.
I believe I'm facing a similar issue, as when I try to register for a new account I also get status 500 error.
I've tried following the Self-hosting with Docker documentation. Completed it twice, with no modifications to the basic setup, haven't gotten anywhere sadly.
Running
tail -f logs/*.log
these look the most interesting