snipe / snipe-it

A free open source IT asset/license management system
https://snipeitapp.com
GNU Affero General Public License v3.0
11.08k stars 3.18k forks source link

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

Open jonremick opened 1 month ago

jonremick commented 1 month ago

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

  1. select backup
  2. 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

welcome[bot] commented 1 month ago

👋 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.