Remote database backup fail
To Reproduce
- create a mariadb on remote server
- param backup on s3
- launch backup with dokploy
Current vs. Expected behavior
The backup is create but 0 ko I have this error : 2025-02-09 14:49:29 21 [Warning] Access denied for user 'mydb'@'localhost' (using password: YES) Thanks
Provide environment information
Ubuntu 22.04
Dokploy 0.18.2
Which area(s) are affected? (Select all that apply)
Databases
Are you deploying the applications where Dokploy is installed or on a remote server?
Remote server
Additional context
I tested same configuration on local server, it's work.
Will you send a PR to fix it?
No
The error says it all, access denied, something's wrong with credentials. Are you able to access the database using mysql CLI or DBeaver?
Neither is the log when I run a database backup with Dokploy
I cannot reproduce this issue, did you changed the password of the database manually?
Nope. For your information, I use Hetzner's S3.
With backup with Dokploy on the same server :
With backup on remote server (After that, I don't know if it's necessarily related) (MariaDB for Directus) :
I'll keep looking on my own
ok, i run manually a backup, in the logs :
2025-02-22 20:19:49 471 [Warning] Access denied for user 'myappdb'@'localhost' (using password: YES)
Any idea ?
Did you specify the correct database in the backup? The only way you get empty information is because you wrote a database that doesn't exist.
I hope it will be fixed in #1431