Create sample calendar
This commit is contained in:
@@ -9,15 +9,11 @@ php /var/www/html/occ app:enable calendar
|
||||
|
||||
# Wait for calendar app to be fully initialized
|
||||
echo "Waiting for calendar app to initialize..."
|
||||
sleep 10
|
||||
sleep 5
|
||||
|
||||
# Ensure maintenance mode is off before calendar operations
|
||||
php /var/www/html/occ maintenance:mode --off
|
||||
|
||||
# Create a default calendar for the admin user (may already exist, ignore errors)
|
||||
echo "Creating default calendar..."
|
||||
php /var/www/html/occ dav:create-calendar admin personal "Personal" "Default personal calendar" || true
|
||||
|
||||
# Sync DAV system to ensure proper initialization
|
||||
echo "Syncing DAV system..."
|
||||
php /var/www/html/occ dav:sync-system-addressbook
|
||||
@@ -28,6 +24,6 @@ php /var/www/html/occ maintenance:repair --include-expensive
|
||||
|
||||
# Final wait to ensure CalDAV service is fully ready
|
||||
echo "Final CalDAV initialization wait..."
|
||||
sleep 10
|
||||
sleep 5
|
||||
|
||||
echo "Calendar app installation complete!"
|
||||
|
||||
Reference in New Issue
Block a user