You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried restoring a backup while moving Snipe-IT from standalone server to a docker installation.
Restore stopped with the following error: fopen(public/uploads/assets/assets): failed to open stream: No such file or directory
Reproduction steps
Backed up from old server via admin panel
Restored to new server (docker) via admin panel
.
Expected behavior
Successful restore
Screenshots
No response
Snipe-IT Version
v6.0.12 - build 8824
Operating System
Debian Docker
Web Server
apache
PHP Version
7.4
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
ErrorException
fopen(public/uploads/assets/assets): failed to open stream: No such file or directory
Illuminate\Foundation\Bootstrap\HandleExceptions::handleError
app/Console/Commands/RestoreFromBackup.php:304
Additional context
After manually creating the folder public/uploads/assets/, restore completed succesfully
The text was updated successfully, but these errors were encountered:
Just confirming this happens in a clean docker install of v6.2.2 from snipe/snipe-it.
resolution is the same, create public/uploads/assets.
if my case i had a bind mount to local filesystem: ./vol_snipeit:/var/lib/snipeit
i created the the folder locally, but after running artisan restore, owner of the assets directory changed to root:root.
drwxr-xr-x 2 root root 20480 Oct 12 19:00 assets/
restore went fine though, and was then able to artisan migrate up from 6.1.1 without any further hitch.
Debug mode
Describe the bug
I tried restoring a backup while moving Snipe-IT from standalone server to a docker installation.
Restore stopped with the following error:
fopen(public/uploads/assets/assets): failed to open stream: No such file or directory
Reproduction steps
.
Expected behavior
Successful restore
Screenshots
No response
Snipe-IT Version
v6.0.12 - build 8824
Operating System
Debian Docker
Web Server
apache
PHP Version
7.4
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
Additional context
After manually creating the folder
public/uploads/assets/
, restore completed succesfullyThe text was updated successfully, but these errors were encountered: