mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-26 00:55:10 +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
|
||||
echo "❌ No sites found!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
else
|
||||
echo "📋 Found sites:"
|
||||
echo "$SITES"
|
||||
echo ""
|
||||
|
|
@ -45,3 +43,4 @@ docker compose exec -T backend bench doctor || {
|
|||
}
|
||||
|
||||
echo "✨ Migration process finished!"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue