Closed akosilar closed 2 weeks 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.
When was the last time you updated? We put in a fix for windows backups a week or so ago to master.
When was the last time you updated? We put in a fix for windows backups a week or so ago to master.
13179 #13230
It seems I have the latest version based from the changelog. I did another git clone to the directory it's installed, but I still get the error.
I also took a look at the settingscontroller.php, and confirmed it has the change in the update.
I also have this same issue.
New install on Windows Server 2019 with IIS 10. Snipe-IT Version v6.3.0 - build 12490 (master). Verified windows permissions per the install guide (several times).
The command "php artisan snipeit:backup" completes as expected and generates the backup ZIP file.
Clicking the "Generate Backup" button in the web interface generates a wall of errors.
More info: Initially, the wall of errors included "Backup failed because The dump process failed with exitcode 1 : General error : . #0 C:\inetpub\wwwroot\snipe-it\vendor\spatie\db-dumper\src\DbDumper.php(263): Spatie\DbDumper\Exceptions\DumpFailed::processDidNotEndSuccessfully() ..."
After searching for resolutions, I re-re-re-set all the folder permissions and now I get the "Backup failed because The dump process failed with exitcode 1 : General error : Access is denied. ..." error. It sure would be helpful if the error message included where the access was denied...
Thanks in advance.
I too have this exact same issue,
Fresh install, latest version: Version v6.4.2 - build 13487 (master) Windows Server
Any update on a resolution to this? Thanks
It sure would be helpful if the error message included where the access was denied...
That message is what mysqldump itself is saying. The backup uses mysqldump, so if it's not a directory permission issue, or a path issue (it's usually a path issue), it's a DB user/grant permissions issue.
Debug mode
Describe the bug
Even with the database setting below, backup is failing when done from the GUI.
DB_DUMP_PATH=C:\\PROGRA~1\\MARIAD~1.2\\bin
Reproduction steps
...
Expected behavior
I have not seen what a successful backup looks like in the GUI.
Screenshots
No response
Snipe-IT Version
v6.1.2 build 10938 (g32747cafd)
Operating System
Windows 11 enterprise 21h2
Web Server
IIS
PHP Version
8.1.21
Operating System
Windows 11 enterprise 21h2
Browser
microsoft edge
Version
Version 114.0.1823.82 (Official build) (64-bit)
Device
No response
Operating System
No response
Browser
No response
Version
No response
Error messages
Additional context
fresh install windows 11, and iis installed via git adjusted IUSR permissions as stated in the help guide manual backup works via CLI php artisan snipeit:backup