snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

Backup via browser fails "Dump process failed with exitcode 2: Misuse of shell builtins"

Open jonremick opened this issue 1 year ago • 2 comments

Debug mode

Describe the bug

When attempting to generate a backup from the admin page, I am met with an extensive error. (see attached) The error starts with

" The dump process failed with exitcode 2 : Misuse of shell builtins : /usr/local/bin/mysqldump: 19: " t ." Title: mysqldump ."

Reproduction steps

1.go to admin portal 2. select backup 3. Generate Backup. ...

Expected behavior

Backup of system using mysql should occur

Screenshots

image

Snipe-IT Version

v6.4.0 build 13351 (gdb2baae758)

Operating System

Ubuntu

Web Server

Apache

PHP Version

8.1.2-1ubuntu2.18

Operating System

No response

Browser

No response

Version

No response

Device

No response

Operating System

No response

Browser

No response

Version

No response

Error messages

No response

Additional context

No response

jonremick avatar Sep 10 '24 16:09 jonremick

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

welcome[bot] avatar Sep 10 '24 16:09 welcome[bot]

Hi there - I know this is a pretty old issue, but I wanted to check and see if you ever got this resolved? If so, can you please close the ticket? If not, can you update us on what version of Snipe-IT you're currently using, so we can see if it's still an issue on latest?

:) Thanks!

snipe avatar Aug 10 '25 21:08 snipe