forked from H2-invent/jitsi-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dockerupdate.sh
24 lines (20 loc) · 1.17 KB
/
dockerupdate.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env bash
echo --------------Schutdown Apache------------------------------------------
#service apache2 stop
APP=/var/www/html
echo --------------------------------------------------------------------------
echo ----------------Create Database-------------------------------------------
echo ----------------Please Backup your database-------------------------------
echo --------------------------------------------------------------------------
php $APP/bin/console cache:clear
php $APP/bin/console doctrine:mig:mig --no-interaction
php $APP/bin/console app:system:repair
#php bin/console doctrine:migrations:migrate --no-interaction
echo --------------------------------------------------------------------------
echo -----------------Clear Cache----------------------------------------------
echo --------------------------------------------------------------------------
php $APP/bin/console cache:clear
php $APP/bin/console cache:warmup
echo --------------------------------------------------------------------------
echo -----------------------Updated the Jitsi-Admin correct------------------
echo --------------------------------------------------------------------------