mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-22 15:55:09 +00:00
migration shouldnt fail if there is no site yet
This commit is contained in:
parent
c39e86d319
commit
23e5b0ce27
1 changed files with 30 additions and 31 deletions
|
|
@ -10,9 +10,7 @@ SITES=$(docker compose exec -T backend ls -1 /home/frappe/frappe-bench/sites | g
|
||||||
|
|
||||||
if [ -z "$SITES" ]; then
|
if [ -z "$SITES" ]; then
|
||||||
echo "❌ No sites found!"
|
echo "❌ No sites found!"
|
||||||
exit 1
|
else
|
||||||
fi
|
|
||||||
|
|
||||||
echo "📋 Found sites:"
|
echo "📋 Found sites:"
|
||||||
echo "$SITES"
|
echo "$SITES"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
@ -45,3 +43,4 @@ docker compose exec -T backend bench doctor || {
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "✨ Migration process finished!"
|
echo "✨ Migration process finished!"
|
||||||
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue