Dokploy / Dokploy/dokploy

After a restore, app deployment will fail and need an extra save before it can be authenticated.

Open
#4,518 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs-triage🔍
Dominant language
TypeScript
Stars
37.4k
Forks
3k
Avg merge
1d 3h
Merged PRs (30d)
73

Description

To Reproduce
  1. Restore a Dokploy from a Backup
  2. Press Deploy on an application
  3. It will fail to authenticated to the registry server
  4. Press save button on the Docker credentials
  5. Press Deploy again and it will start pulling and working as normal

This might be an error only on my setup which uses GHCR as a registry

Current vs. Expected behavior

Current: After a Restore, App Deployment will fail authentication on Github GHCR Registry (or perhaps other remote server), require a Save on the Dokcer tab of Application before Deploy button can be pressed without error

Expected behavior: You can just click Deploy right away after a restore and it will just works since the GHCR Registry credentials is there

Provide environment information
- I Created a Github GHCR registry first
- Then in the App Deployment I Select Docker
- Docker Image: ghcr.io/<org>/<package>
- Registry url: ghcr.io
- Username/Password empty
Which area(s) are affected? (Select all that apply)

Docker

Are you deploying the applications where Dokploy is installed or on a remote server?

Same server where Dokploy is installed

Additional context

Custom Provider VPS with Ubuntu 24

Will you send a PR to fix it?

No

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the restore, Docker deployment, and registry-authentication sequence using the GHCR setup described in the issue, then trace how restored Docker credentials are loaded before deployment. Done means an application can deploy immediately after a restore without saving the Docker credentials again.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, github, typescript
Domain
authentication, devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.