2 # upgrade gpodder.net from public repository
3 # Stefan Kögl; 2011-02-10
9 COUCHDB
=`mygpo/print-couchdb.py`
10 MAINTENANCE_FILE
=mygpo
/MAINTENANCE_MODE
15 ===================================
17 ===================================
19 You are about to perform an upgrade of your gpodder.net installation.
20 Press ENTER to continue or Ctrl+C to abort...
26 echo -n " * Restart Webserver in Maintenace Mode... "
27 touch $MAINTENANCE_FILE
28 sudo
/etc
/init.d
/lighttpd restart
> /dev
/null
31 echo -n "* Stashing non-committed changes... "
35 echo " * Retrieving changes from public repository... "
39 echo " * Popping stashed changes... "
40 git stash pop
> /dev
/null
43 echo " * Syncing Database... "
45 .
/manage.py syncdb
> /dev
/null
49 echo " * Wait for View-Updates to finish... "
50 bin
/touch-views.sh
> /dev
/null
56 Finished update procedure!
58 Please resolve conflicts if any
59 You can then start the webserver again by typing
61 sudo /etc/init.d/lighttpd start