mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
DB_DUMP_PATH not set when using install.sh (#2623)
Backup errors out when DB_DUMP_PATH is not set. According to https://snipe-it.readme.io/docs/configuration#required-database-settings this is usually '/usr/bin'
This commit is contained in:
parent
2d8269ddcd
commit
08f320b76a
|
@ -200,6 +200,7 @@ case $distro in
|
|||
DB_PASSWORD=$mysqluserpw
|
||||
APP_URL=http://$fqdn
|
||||
APP_KEY=$random32
|
||||
DB_DUMP_PATH='/usr/bin'
|
||||
EOF
|
||||
|
||||
echo "## Setting up hosts file."
|
||||
|
@ -315,6 +316,7 @@ case $distro in
|
|||
DB_PASSWORD=$mysqluserpw
|
||||
APP_URL=http://$fqdn
|
||||
APP_KEY=$random32
|
||||
DB_DUMP_PATH='/usr/bin'
|
||||
EOF
|
||||
|
||||
## TODO make sure mysql is set to start on boot and go ahead and start it
|
||||
|
@ -447,6 +449,7 @@ case $distro in
|
|||
DB_PASSWORD=$mysqluserpw
|
||||
APP_URL=http://$fqdn
|
||||
APP_KEY=$random32
|
||||
DB_DUMP_PATH='/usr/bin'
|
||||
EOF
|
||||
|
||||
|
||||
|
@ -561,7 +564,7 @@ case $distro in
|
|||
DB_PASSWORD=$mysqluserpw
|
||||
APP_URL=http://$fqdn
|
||||
APP_KEY=$random32
|
||||
|
||||
DB_DUMP_PATH='/usr/bin'
|
||||
EOF
|
||||
|
||||
# Change permissions on directories
|
||||
|
|
Loading…
Reference in a new issue