Skip to content

[Bug]: Admin "Already Created" When First Installed #2242

Description

@economist-ted

Issue Description

When first pulling and deploying OpenSign, browser access goes straight to login and does not allow me to /addadmin at all. I haven't been able to get the other fix solutions to this issue to work, so I'm hoping it's because I'm using Ubuntu Server 26.04. I'd really like to use OpenSign over DocuSeal due to having more self-hosted features avaiable.

Expected Behavior

Upon first access in the browser, I'm expecting to be taken to a signup page to create credentials.

Current Behavior

Upon first browser access, I am taken straight to the login screen. When I attempt to add /addadmin, /signup, or /register, the screen says that an admin already exists. When I check MongoDB, there is a _User DB available, but it's empty. /app and /api/app extensions do not work either. I have attempted to change the ports, URLs, leave the URLs alone — nothing seems to work.

Steps to reproduce

  1. SSH into home server
  2. Install in dedicated ~/docker/opensign directory (editing the URL to the one you will be using)
  3. Update URLs in .env.prod and docker-compose.yml to what you will be using via Cloudflare Tunnels/Zero Trust
  4. Access in browser
  5. Hit login screen instead of signup screen

Screenshots of the issue(optional)

No response

Operating System [e.g. MacOS Sonoma 14.1, Windows 11]

Ubuntu Server 26.04

What browsers are you seeing the problem on?

Chrome, Firefox

What version of OpenSign™ are you seeing this issue on? [e.g. 1.0.6]

latest

What environment are you seeing the problem on?

Hosted (app.yourdomain.com), Dev (localhost or vercel)

Please check the boxes that apply to this issue report.

  • I have searched the existing issues & discussions to make sure that this is not a duplicate.

Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I have searched the existing issues & discussions to make sure that this is not a duplicate.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions