-
Notifications
You must be signed in to change notification settings - Fork 262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Unable to create first user on brand new local Docker installation #1158
Comments
Same for me - I have been through every document on the website and it seems like the initialisation is something that is normal process but not happening in the latest build. |
I initially thought a user would be automatically created and it wasn't documented, so I opened Mongo Compass and inspected the db. However, the |
I have the same Problem and it seems to be a duplicate of #1115 . |
@useahawk that's right, my bad for not finding that one although it doesn't say how it was fixed. |
I got it solved for my env. Looing at the Caddyfile it makes sense, so i tweaked my ports in live env as needed (cant use any of the 3000, 3001, 8080, 80 or 443 ports) and fixed my own reverse proxy with the rules from the Caddyfile. Finally it's working! |
just try https://localhost In live I changed all docker ports as needed and used apache reverse proxy
Had also problems with minio s3 storage and smtp mail, so for now i'm switching to another solution. |
@useahawk |
hey @dsaltares , please checkout this updated documentation and let us know if you still encounter any issues. |
I just came across this issue setting up a fresh project. I followed the linked docs, but Turns out, theres an easy mistake in the .env files for
The value provided by the copied envs is Docker uses the service name for the in-network host, not the container name. |
What OS are you using? For most of us container name works instead of service name. |
macOS As far as I am aware service name works on all systems on the latest docker |
@andrew-opensignlabs https://docs.docker.com/reference/compose-file/services/#aliases |
The problem also concerns me, I wanted to try opensign, but unfortunately I can't because I get directly to the login form My Compose:
|
Same issue with my installation as well. |
Hello, I have the same problem, do you know which container it could come from ? This is a new installation. |
@andrew-opensignlabs please allow setup on the PUBLIC_URL, with headless servers we can't access localhost, much less localhost:3001 which opensign needs |
I just noticed the issue is that (at least in my case) I get:
In the console, because of this OpenSign returns that there is an admin already (trying accessing /addadmin) OpenSign/apps/OpenSign/src/constant/Utils.js Lines 1936 to 1938 in 76f5136
The 403 is not coming from mongo since I've tested stopping the mongo container and upon reloading I get the same 403 error. I think it needs to use the master key? Yes, it needs the master key, using curl I get:
|
For me this was caused by not using |
thank you, that was it! But why? |
See #1256, that would be my guess |
Hello, after a lot of modification of the docker-compose file and the environment file I managed to deploy the server on Portainer and it is accessible from the internet.
and its declaration in the volumes |
Issue Description
I am not presented with a first-time setup to create an admin user when I first open the app on a local Docker installation. This is similar to #973, but I am on
2.2.0
(have also triedmain
).Expected Behavior
Judging from comments (#1080 (comment)). I am meant to see a user registration screen the first time I use the app.
Current Behavior
I am presented with a login screen that reads
Welcome back!
, but there are not registered users.Steps to reproduce
Follow the instructions to self-host from https://docs.opensignlabs.com/docs/self-host/docker/run-locally
I also tried tagging a specific version (2.2.0):
Screenshots of the issue(optional)
Operating System [e.g. MacOS Sonoma 14.1, Windows 11]
MacOS Ventura 13.6.7
What browsers are you seeing the problem on?
Chrome
What version of OpenSign™ are you seeing this issue on? [e.g. 1.0.6]
2.2.0
I used the Docker
main
anddocker_beta
versions.What environment are you seeing the problem on?
Hosted (app.yourdomain.com)
Please check the boxes that apply to this issue report.
Code of Conduct
The text was updated successfully, but these errors were encountered: