-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Description
Debug mode
- I have enabled debug mode
- I have read checked the Common Issues page
Describe the bug
Taking a backup fails because mariadb-dump attempts to use SSL by default in latent releases which is not the case on this machine's local socket connections.
Reproduction steps
- Try to take a backup in the Settings area
- A large error consuming the entire page is spit out, I have attached an excerpt below.
...
Expected behavior
A backup to be created
Screenshots
NA
Snipe-IT Version
Updated to commit c54bff0
Operating System
Archlinux (Kernel 6.6.16-1-lts)
Web Server
Nginx 1.26.0-3
PHP Version
8.3.7-2
Operating System
Archlinux
Browser
Firefox
Version
129.0.1
Device
No response
Operating System
No response
Browser
No response
Version
No response
Error messages
Backup failed because: The dump process failed with a none successful exitcode. Exitcode ======== 2: Misuse of shell builtins Output ====== <no output> Error Output ============ /usr/bin/mysqldump: Deprecated program name. It will be removed in a future release, use '/usr/bin/mariadb-dump' instead mysqldump: Got error: 2026: "TLS/SSL error: SSL is required, but the server does not support it" when trying to connect .Additional context
I think snipe-it should be able to retry the backup with the appropriate flags to disable SSL when it fails.
I think my workaround for this will have to be some kind of client config file for mariadb-dump to NOT try ssl.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels