mirror of
https://github.com/louislam/dockge.git
synced 2026-03-03 02:06:55 -05:00
Password reset #214
Labels
No labels
bug
feature-request
help
help wanted
invalid-format
need-reproduce-steps
question
security
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/dockge-louislam#214
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @shahab-cl on GitHub (Jun 9, 2025).
⚠️ Please verify that this bug has NOT been reported before.
🛡️ Security Policy
Description
I just installed dockge a few weeks ago and wanted to reset my password but got the following output after running the recomended steps.
Not sure if the password was supposed to show in the output. I only had version 1.5 so didnt upgrade from a previous version.
Also I am running this as a proxmox container using https://community-scripts.github.io/ProxmoxVE/scripts?id=dockge
👟 Reproduction steps
Login to LXC via pve console -> Container name -> console and execute the command
👀 Expected behavior
I was hoping to get a password returned back for the dashboard
😓 Actual Behavior
== Dockge Reset Password Tool ==
2025-06-09T16:27:02Z [SERVER] INFO: NODE_ENV: production
2025-06-09T16:27:02Z [SERVER] INFO: Server Type: HTTP
Connecting the database
2025-06-09T16:27:02Z [DB] INFO: Database Type: sqlite
2025-06-09T16:27:02Z [SERVER] INFO: Connected to the database
Found user: skhan
Error: readline was closed
2025-06-09T16:27:02Z [DB] INFO: Closing the database
2025-06-09T16:27:04Z [DB] INFO: Database closed
Finished.
npm notice
npm notice New major version of npm available! 10.9.2 -> 11.4.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.4.1
npm notice To update run: npm install -g npm@11.4.1
npm notice
Dockge Version
1.5
💻 Operating System and Arch
not sure
🌐 Browser
Chrome / firefox
🐋 Docker Version
28.2.2, build e6534b4
🟩 NodeJS Version
based upon container
📝 Relevant log output
@cyril59310 commented on GitHub (Jun 10, 2025):
You need to connect directly to the container using:
docker exec -it dockge-dockge-1 bashThen, run the following command:
npm run reset-passwordIt will ask you to enter a new password and then confirm it. Once done, your password should be changed. You can then exit the container by typing:
exit@shahab-cl commented on GitHub (Jun 10, 2025):
Can this be added to a readme. I was not able to find this command
anywhere. The ony command I found was the one mentioned above.
Shahab Khan
Cubicle Logic
Main: 571-636-1200
Cell: +1-703-861-6397
Email: @.***
Bringing people and technology together
PLEASE CONSIDER OUR ENVIRONMENT BEFORE PRINTING
On Tue, Jun 10, 2025 at 11:48 AM Cyril59310 @.***>
wrote:
@Djeex commented on GitHub (Oct 2, 2025):
You should ad
-itparameter for interactive shell :-itmeans interactive: the command results are forwarded from the container to your shell until the end of the command.There is no need to directly use bash in the container.
@toluLikesToCode commented on GitHub (Jan 18, 2026):
just ran into the same issue and this fixed it, thank you