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

Backup Issue IIS/Windows

Open namarie23 opened this issue 6 years ago • 5 comments

Expected Behavior (or desired behavior if a feature request)

Back up Snipe IT using web GUI


Actual Behavior

The DB_Dump_Path appears to be correct but have tried it a couple ways, using: cmd /c for %A in ("C:\Program Files\MariaDB 10.5\bin") do @echo % ~ sA

getting C:\PROGRA ~ 1\MARIAD ~ 1.5\bin and changing it to C:\PROGRA ~ 1\MARIAD ~ 1.5\bin and using D:\Program Files\MariaDB 10.5\bin (Maria DB was originally installed on the D drive, copied it to the C drive) C and D Temp folders have IIS_IUSRS and IUSR modify permissions, cleared artisan cache, restarted server, and its not fixing the error (full error attached) error.txt Screen cap below (successful install is from running php artisan backup:run in CMD) image


Please confirm you have done the following before posting your bug report:


Provide answers to these questions:

  • Is this a fresh install or an upgrade? fresh

  • Version of Snipe-IT you're running: v4.7.8 build 4170 (g4fe689dc5)

  • Version of PHP you're running 7.3.12

  • Version of MySQL/MariaDB you're running MariaDB 10.5

  • What OS and web server you're running Snipe-IT on: Windows 10 Server 2016, IIS 10

  • What method you used to install Snipe-IT (install.sh, manual installation, docker, etc): Manual Install

  • WITH DEBUG TURNED ON, if you're getting an error in your browser, include that error: Error: 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(246): Spatie\DbDumper\Exceptions\DumpFailed::processDidNotEndSuccessfully(Object(Symfony\Component\Process\Process)) #1 C:\inetpub\wwwroot\snipe-it\vendor\spatie\db-dumper\src\Databases\MySql.php(148): Spatie\DbDumper\DbDumper->checkIfDumpWasSuccessFul(Object(Symfony\Component\Process\Process), 'C:\inetpub\wwwr

  • What specific Snipe-IT page you're on, and what specific element you're interacting with to trigger the error: /admin/backups clicking "generate backup button"

  • If a stacktrace is provided in the error, include that too.

  • Any errors that appear in your browser's error console.

  • Confirm whether the error is reproducible on the demo: https://snipeitapp.com/demo. : No, disabled

  • Include any additional information you can find in storage/logs and your webserver's logs. Storage log attached. laravel.storagelog.txt

  • Include what you've done so far in the installation, and if you got any error messages along the way. Followed the guide, no errors before this.

  • Indicate whether or not you've manually edited any data directly in the database No

Please do not post an issue without answering the related questions above. If you have opened a different issue and already answered these questions, answer them again, once for every ticket. It will be next to impossible for us to help you.

https://snipe-it.readme.io/docs/getting-help

namarie23 avatar Apr 07 '20 19:04 namarie23

Any update on this?

namarie23 avatar May 28 '20 20:05 namarie23

Any feedback is appreciated @snipe

namarie23 avatar Jul 22 '20 19:07 namarie23

Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!

stale[bot] avatar Sep 20 '20 19:09 stale[bot]

This issue has been automatically closed because it has not had recent activity. If you believe this is still an issue, please confirm that this issue is still happening in the most recent version of Snipe-IT and reply to this thread to re-open it.

stale[bot] avatar Oct 04 '20 05:10 stale[bot]

I gave up on this.

Sent from my Verizon, Samsung Galaxy smartphone Get Outlook for Androidhttps://aka.ms/ghei36


From: stale[bot] [email protected] Sent: Saturday, October 3, 2020 10:21:51 PM To: snipe/snipe-it [email protected] Cc: namarie23 [email protected]; Author [email protected] Subject: Re: [snipe/snipe-it] Backup Issue IIS/Windows (#7946)

Closed #7946https://github.com/snipe/snipe-it/issues/7946.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/snipe/snipe-it/issues/7946#event-3837225186, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APDB266QBTI6IPIB2OLKS23SJAA67ANCNFSM4MDMCFEQ.

namarie23 avatar Oct 05 '20 02:10 namarie23