Merge pull request #14379 from chandanchowdhury/master

Fix #13515: Cannot restore backup
This commit is contained in:
snipe 2024-03-07 11:30:06 +00:00 committed by GitHub
commit b3aba4ad99
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 1 deletions

View file

@ -6,5 +6,5 @@ return array (
'prerelease_version' => '',
'hash_version' => 'g9a5c1b812',
'full_hash' => 'v6.3.2-160-g9a5c1b812',
'branch' => 'develop',
'branch' => 'master',
);

View file

@ -17,16 +17,23 @@ else
fi
# create data directories
# Note: Keep in sync with expected directories by the app
# https://github.com/snipe/snipe-it/blob/master/app/Console/Commands/RestoreFromBackup.php#L232
for dir in \
'data/private_uploads' \
'data/private_uploads/assets' \
'data/private_uploads/accessories' \
'data/private_uploads/audits' \
'data/private_uploads/components' \
'data/private_uploads/consumables' \
'data/private_uploads/eula-pdfs' \
'data/private_uploads/imports' \
'data/private_uploads/assetmodels' \
'data/private_uploads/users' \
'data/private_uploads/licenses' \
'data/private_uploads/signatures' \
'data/uploads/accessories' \
'data/uploads/assets' \
'data/uploads/avatars' \
'data/uploads/barcodes' \
'data/uploads/categories' \