Upgrade problem?
Posted: Sun Dec 07, 2014 9:53 pm
Just a heads up to a possible upgrade problem. My opi stopped responding over the week-end. No web interface, no email server.
Root access was still available so I did the following:
ps -ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 18:38 ? 00:00:02 /sbin/init
root 2 0 0 18:38 ? 00:00:00 [kthreadd]
root 3 2 3 18:38 ? 00:04:09 [ksoftirqd/0]
root 4 2 0 18:38 ? 00:00:00 [kworker/0:0]
root 5 2 0 18:38 ? 00:00:00 [kworker/0:0H]
root 6 2 0 18:38 ? 00:00:00 [kworker/u2:0]
root 7 2 0 18:38 ? 00:00:47 [rcu_sched]
root 8 2 0 18:38 ? 00:00:00 [rcu_bh]
root 9 2 0 18:38 ? 00:00:00 [migration/0]
root 10 2 0 18:38 ? 00:00:00 [khelper]
root 11 2 0 18:38 ? 00:00:00 [kdevtmpfs]
root 12 2 0 18:38 ? 00:00:00 [kworker/u2:1]
root 14 2 0 18:38 ? 00:00:00 [writeback]
root 23 2 0 18:38 ? 00:00:00 [bioset]
root 25 2 0 18:38 ? 00:00:00 [crypto]
root 27 2 0 18:38 ? 00:00:00 [kblockd]
root 29 2 0 18:38 ? 00:00:00 [khubd]
root 109 2 0 18:38 ? 00:00:00 [rpciod]
root 111 2 0 18:38 ? 00:00:00 [kswapd0]
root 113 2 0 18:38 ? 00:00:00 [fsnotify_mark]
root 115 2 0 18:38 ? 00:00:00 [nfsiod]
root 131 2 0 18:38 ? 00:00:00 [OMAP UART0]
root 199 2 0 18:38 ? 00:00:00 [kpsmoused]
root 204 2 0 18:38 ? 00:00:00 [irq/150-mmc0]
root 518 2 0 18:38 ? 00:00:00 [deferwq]
root 521 2 0 18:38 ? 00:00:00 [irq/86-44e0b000]
root 580 2 0 18:38 ? 00:00:00 [mmcqd/0]
root 623 2 0 18:38 ? 00:00:00 [mmcqd/1]
root 626 2 0 18:38 ? 00:00:00 [mmcqd/1boot0]
root 628 2 0 18:38 ? 00:00:00 [mmcqd/1boot1]
root 644 2 0 18:38 ? 00:00:00 [kworker/0:1H]
root 648 2 0 18:38 ? 00:00:00 [jbd2/mmcblk1p2-]
root 649 2 0 18:38 ? 00:00:00 [ext4-rsv-conver]
root 758 1 0 18:38 ? 00:00:00 upstart-udev-bridge --daemon
root 763 1 0 18:38 ? 00:00:00 /lib/systemd/systemd-udevd --daemon
root 839 2 0 18:38 ? 00:00:00 [ipv6_addrconf]
root 843 1 0 18:38 ? 00:00:00 upstart-file-bridge --daemon
syslog 851 1 0 18:38 ? 00:00:00 rsyslogd
root 895 2 0 18:38 ? 00:00:03 [kworker/0:2]
root 1041 1 0 18:38 ? 00:00:00 cron
root 1055 1 0 18:38 ? 00:00:00 /usr/sbin/dropbear -d /etc/dropbear/dropbear_dss_host_key -r /etc/dropbear/dropbear_rsa_host_key -p 22 -W 65536
root 1081 1 0 18:38 ? 00:00:00 /usr/sbin/opi-backend -d
root 1099 1 0 18:38 ? 00:00:01 php-fpm: master process (/etc/php5/fpm/php-fpm.conf)
www-data 1109 1099 0 18:38 ? 00:00:00 php-fpm: pool www
www-data 1110 1099 0 18:38 ? 00:00:00 php-fpm: pool www
ntp 1184 1 0 18:38 ? 00:00:01 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 104:109
root 1192 2 0 18:39 ? 00:00:00 [kauditd]
root 1346 1055 0 20:10 ? 00:00:00 /usr/sbin/dropbear -d /etc/dropbear/dropbear_dss_host_key -r /etc/dropbear/dropbear_rsa_host_key -p 22 -W 65536
root 1347 1346 0 20:11 pts/0 00:00:00 -bash
root 1407 1347 0 20:22 pts/0 00:00:00 ps -ef
No doevcot etc etc.
Mindful that upgrades were being pushed out, I tried a manual update:
root@opi:/etc# apt-get update
Hit http://repo.op237.se elli InRelease
Hit http://repo.op237.se trusty-stable InRelease
Hit http://repo.op237.se elli/main armhf Packages
Hit http://repo.op237.se trusty-stable/main armhf Packages
Ign http://repo.op237.se elli/main Translation-en
Ign http://repo.op237.se trusty-stable/main Translation-en
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
I ran the dpkg --configure -a but it complained about missing paths.
so:
export PATH=/sbin:/usr/sbin:$PATH
Then started again with apt-get update and this time it ran with no complaints. Followed by apt-get upgrade which (ignoring unable to intialize frontend: Dialog messages) seemed to complete OK.
Did a:
reboot now
And all seems to be working again as it was. Owncloud bug still exists but I think the fix for this was due later.
Root access was still available so I did the following:
ps -ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 18:38 ? 00:00:02 /sbin/init
root 2 0 0 18:38 ? 00:00:00 [kthreadd]
root 3 2 3 18:38 ? 00:04:09 [ksoftirqd/0]
root 4 2 0 18:38 ? 00:00:00 [kworker/0:0]
root 5 2 0 18:38 ? 00:00:00 [kworker/0:0H]
root 6 2 0 18:38 ? 00:00:00 [kworker/u2:0]
root 7 2 0 18:38 ? 00:00:47 [rcu_sched]
root 8 2 0 18:38 ? 00:00:00 [rcu_bh]
root 9 2 0 18:38 ? 00:00:00 [migration/0]
root 10 2 0 18:38 ? 00:00:00 [khelper]
root 11 2 0 18:38 ? 00:00:00 [kdevtmpfs]
root 12 2 0 18:38 ? 00:00:00 [kworker/u2:1]
root 14 2 0 18:38 ? 00:00:00 [writeback]
root 23 2 0 18:38 ? 00:00:00 [bioset]
root 25 2 0 18:38 ? 00:00:00 [crypto]
root 27 2 0 18:38 ? 00:00:00 [kblockd]
root 29 2 0 18:38 ? 00:00:00 [khubd]
root 109 2 0 18:38 ? 00:00:00 [rpciod]
root 111 2 0 18:38 ? 00:00:00 [kswapd0]
root 113 2 0 18:38 ? 00:00:00 [fsnotify_mark]
root 115 2 0 18:38 ? 00:00:00 [nfsiod]
root 131 2 0 18:38 ? 00:00:00 [OMAP UART0]
root 199 2 0 18:38 ? 00:00:00 [kpsmoused]
root 204 2 0 18:38 ? 00:00:00 [irq/150-mmc0]
root 518 2 0 18:38 ? 00:00:00 [deferwq]
root 521 2 0 18:38 ? 00:00:00 [irq/86-44e0b000]
root 580 2 0 18:38 ? 00:00:00 [mmcqd/0]
root 623 2 0 18:38 ? 00:00:00 [mmcqd/1]
root 626 2 0 18:38 ? 00:00:00 [mmcqd/1boot0]
root 628 2 0 18:38 ? 00:00:00 [mmcqd/1boot1]
root 644 2 0 18:38 ? 00:00:00 [kworker/0:1H]
root 648 2 0 18:38 ? 00:00:00 [jbd2/mmcblk1p2-]
root 649 2 0 18:38 ? 00:00:00 [ext4-rsv-conver]
root 758 1 0 18:38 ? 00:00:00 upstart-udev-bridge --daemon
root 763 1 0 18:38 ? 00:00:00 /lib/systemd/systemd-udevd --daemon
root 839 2 0 18:38 ? 00:00:00 [ipv6_addrconf]
root 843 1 0 18:38 ? 00:00:00 upstart-file-bridge --daemon
syslog 851 1 0 18:38 ? 00:00:00 rsyslogd
root 895 2 0 18:38 ? 00:00:03 [kworker/0:2]
root 1041 1 0 18:38 ? 00:00:00 cron
root 1055 1 0 18:38 ? 00:00:00 /usr/sbin/dropbear -d /etc/dropbear/dropbear_dss_host_key -r /etc/dropbear/dropbear_rsa_host_key -p 22 -W 65536
root 1081 1 0 18:38 ? 00:00:00 /usr/sbin/opi-backend -d
root 1099 1 0 18:38 ? 00:00:01 php-fpm: master process (/etc/php5/fpm/php-fpm.conf)
www-data 1109 1099 0 18:38 ? 00:00:00 php-fpm: pool www
www-data 1110 1099 0 18:38 ? 00:00:00 php-fpm: pool www
ntp 1184 1 0 18:38 ? 00:00:01 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 104:109
root 1192 2 0 18:39 ? 00:00:00 [kauditd]
root 1346 1055 0 20:10 ? 00:00:00 /usr/sbin/dropbear -d /etc/dropbear/dropbear_dss_host_key -r /etc/dropbear/dropbear_rsa_host_key -p 22 -W 65536
root 1347 1346 0 20:11 pts/0 00:00:00 -bash
root 1407 1347 0 20:22 pts/0 00:00:00 ps -ef
No doevcot etc etc.
Mindful that upgrades were being pushed out, I tried a manual update:
root@opi:/etc# apt-get update
Hit http://repo.op237.se elli InRelease
Hit http://repo.op237.se trusty-stable InRelease
Hit http://repo.op237.se elli/main armhf Packages
Hit http://repo.op237.se trusty-stable/main armhf Packages
Ign http://repo.op237.se elli/main Translation-en
Ign http://repo.op237.se trusty-stable/main Translation-en
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
I ran the dpkg --configure -a but it complained about missing paths.
so:
export PATH=/sbin:/usr/sbin:$PATH
Then started again with apt-get update and this time it ran with no complaints. Followed by apt-get upgrade which (ignoring unable to intialize frontend: Dialog messages) seemed to complete OK.
Did a:
reboot now
And all seems to be working again as it was. Owncloud bug still exists but I think the fix for this was due later.