Page:
UpgradeTo14.04
Pages
0x_id
API
Configuration
Customization
DatabaseUpdate
Docker
GoogleMapsAPI
Home
IMDb
MultilingualAnnotations
MultipleAudioTracks
MyFavoriteBugs
Places
QuerySyntax
RenamingFiles
UpgradeTo14.04
UpgradeTo16.04
UpgradeTo18.04
UpgradeTo20.04
UpgradeToPython3
UseCases
WikipediaTemplate
config
database backup
embed
filenames
groups
ids
install
ldap
media
metadata
objects
permissions
posterservice
services
shell
ssl
text
todo
urls
video
volume
No results
1
UpgradeTo14.04
j edited this page 2019-08-13 13:06:13 +00:00
Table of Contents
Upgrade to Ubuntu 14.04
notes on upgrading unbuntu from 12.04 to 14.04 for pan.do/ra
do-release-upgrade -p
Questions:
- ssh disable root password: yes
- postgress-common install maintainer
- nginx keep local
restart
Post Upgrade:
Stop all pan.do/ra processes (run as root):
/srv/pandora/ctl stop
Enable pan.do/ra PPA again (run as root):
sed -i "s/^# deb/deb/g" /etc/apt/sources.list.d/j-pandora-precise.list
apt-get update
apt-get upgrade
Install ffmpeg (run as root)
apt-get install ffmpeg
New version of Postgres requires database migration (run as root):
apt-get install postgresql-9.3 postgresql-contrib-9.3
pg_dropcluster 9.3 main --stop
pg_upgradecluster 9.1 main
pg_dropcluster 9.1 main
apt-get remove postgresql-9.1 postgresql-contrib-9.1
Upgrade virtualenv (run this as "pandora" user):
cd /srv/pandora
rm -r lib/python2.7/site-packages/pip-* bin/pip*
virtualenv --system-site-packages .
Start pan.do/ra again (run as root):
/srv/pandora/ctl start
LXC
Container configuration needs to be changed for the containers to start up again. in /var/lib/lxc/NAME/
- Remove proc/sys mount point from fstab, leaving an empty file.
- Remove most options from config, leave name/rootfs and network config:
Common configuration
lxc.include = /usr/share/lxc/config/ubuntu.common.conf
# Container specific configuration
lxc.rootfs = /var/lib/lxc/pandora/rootfs
lxc.mount = /var/lib/lxc/pandora/fstab
lxc.utsname = pandora
lxc.arch = amd64
# Network configuration
lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = lxcbr0
lxc.network.hwaddr = XX:...
lxc.start.auto = 1