Hi Guys,
i am encountering a problem on upgrading the ally plugin on moodle 3.5.5 all the other plugin updates go smothly but ally gets stuck.
bellow are the commands i am running.
cd /********/moodle-plugins && wget https://moodle.org/plugins/download.php/18865/tool_ally_moodle35_2018080810.zip && unzip tool_ally_moodle35_2018080810.zip && yes | cp -rva /********/ally/* /********/admin/tool/ally/
============================================
sudo -u apache /usr/bin/php admin/cli/maintenance.php --enable
sudo -u apache /usr/bin/php admin/cli/upgrade.php
============================================
== Upgrading Moodle database from version 3.5.5 (Build: 20190311) (2018051705) to 3.5.5 (Build: 20190311) (2018051705) ==
Your Moodle files have been changed, and you are about to automatically
upgrade your server to this version:
3.5.5 (BUILD: 20190311) (2018051705)
Once you do this you can not go back again. Please note that this process
can take a long time.
Are you sure you want to upgrade this server to this version?
type y (means yes) or n (means no)
: y
-->tool_ally
Is anyone experiencing the same issue. i dont have error on httpd or mariadb. Also the disk usage is under 70%. i did it two times from snapshots one time all the updated plugins together and it got stuck and the second one first the all the other updates and them rebooted the servers and started the upgrade of the tool_ally and same result.
Note: The machine i am testing is a clone of production.
=Tim
command outputs:
# iostat 5 5
Linux 4.1.12-124.22.4.el7uek.x86_64 (************) 03/25/2019 _x86_64_ (8 CPU)
avg-cpu: %user %nice %system %iowait %steal %idle
14.52 0.00 0.26 0.50 0.00 84.72
Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn
sda 22.93 470.78 252.45 1168764 626720
sdb 55.62 1583.22 280.50 3930488 696364
dm-0 30.23 327.38 249.26 812761 618816
dm-1 0.03 1.04 0.00 2588 0
dm-2 3.82 129.71 1.21 322021 3016
dm-3 0.06 0.53 0.06 1317 144
dm-4 0.04 0.51 0.01 1277 20
dm-5 18.38 184.57 18.27 458221 45356
dm-6 31.49 1361.30 173.07 3379549 429668
dm-7 26.45 34.74 89.09 86257 221176
dm-8 0.53 1.02 1.96 2521 4868
avg-cpu: %user %nice %system %iowait %steal %idle
12.50 0.00 0.03 0.00 0.00 87.47
Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn
sda 25.00 0.00 436.80 0 2184
sdb 0.20 3.20 0.00 16 0
dm-0 24.00 0.00 409.60 0 2048
dm-1 0.00 0.00 0.00 0 0
dm-2 5.40 0.00 21.60 0 108
dm-3 0.00 0.00 0.00 0 0
dm-4 0.00 0.00 0.00 0 0
dm-5 0.00 0.00 0.00 0 0
dm-6 0.20 3.20 0.00 16 0
dm-7 0.00 0.00 0.00 0 0
dm-8 1.40 0.00 5.60 0 28
avg-cpu: %user %nice %system %iowait %steal %idle
12.47 0.00 0.02 0.02 0.00 87.48
Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn
sda 0.40 0.00 18.40 0 92
sdb 0.00 0.00 0.00 0 0
dm-0 4.60 0.00 18.40 0 92
dm-1 0.00 0.00 0.00 0 0
dm-2 0.00 0.00 0.00 0 0
dm-3 0.00 0.00 0.00 0 0
dm-4 0.00 0.00 0.00 0 0
dm-5 0.00 0.00 0.00 0 0
dm-6 0.00 0.00 0.00 0 0
dm-7 0.00 0.00 0.00 0 0
dm-8 0.00 0.00 0.00 0 0
avg-cpu: %user %nice %system %iowait %steal %idle
12.47 0.00 0.07 0.00 0.00 87.45
Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn
sda 0.00 0.00 0.00 0 0
sdb 0.00 0.00 0.00 0 0
dm-0 0.00 0.00 0.00 0 0
dm-1 0.00 0.00 0.00 0 0
dm-2 0.00 0.00 0.00 0 0
dm-3 0.00 0.00 0.00 0 0
dm-4 0.00 0.00 0.00 0 0
dm-5 0.00 0.00 0.00 0 0
dm-6 0.00 0.00 0.00 0 0
dm-7 0.00 0.00 0.00 0 0
dm-8 0.00 0.00 0.00 0 0
avg-cpu: %user %nice %system %iowait %steal %idle
12.46 0.00 0.03 0.00 0.00 87.52
Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn
sda 0.00 0.00 0.00 0 0
sdb 0.00 0.00 0.00 0 0
dm-0 0.00 0.00 0.00 0 0
dm-1 0.00 0.00 0.00 0 0
dm-2 0.00 0.00 0.00 0 0
dm-3 0.00 0.00 0.00 0 0
dm-4 0.00 0.00 0.00 0 0
dm-5 0.00 0.00 0.00 0 0
dm-6 0.00 0.00 0.00 0 0
dm-7 0.00 0.00 0.00 0 0
dm-8 0.00 0.00 0.00 0 0
# top
top - 14:37:34 up 42 min, 3 users, load average: 0.97, 0.94, 0.94
Tasks: 276 total, 2 running, 274 sleeping, 0 stopped, 0 zombie
%Cpu(s): 12.4 us, 0.1 sy, 0.0 ni, 87.5 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem : 20.8/16282460 [||||||||||||||||||||| ]
KiB Swap: 0.0/6291452 [ ]
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
12910 mysql 20 0 8916408 2.4g 19960 S 99.0 15.6 12:54.83 mysqld
12949 apache 20 0 972092 128172 56532 S 0.7 0.8 0:04.23 php
9852 root 20 0 300732 10968 9500 S 0.3 0.1 0:01.52 vmtoolsd
13234 root 20 0 162232 4720 3728 R 0.3 0.0 0:00.05 top
1 root 20 0 194032 8528 5580 S 0.0 0.1 0:07.95 systemd
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
3 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0
5 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0H
7 root 20 0 0 0 0 S 0.0 0.0 0:00.46 rcu_sched
8 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_bh
9 root 20 0 0 0 0 R 0.0 0.0 0:00.44 rcuos/0
10 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcuob/0
11 root rt 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
12 root rt 0 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
13 root rt 0 0 0 0 S 0.0 0.0 0:00.00 watchdog/1
14 root rt 0 0 0 0 S 0.0 0.0 0:00.00 migration/1
15 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/1
17 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/1:0H
18 root 20 0 0 0 0 S 0.0 0.0 0:00.08 rcuos/1
19 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcuob/1
20 root rt 0 0 0 0 S 0.0 0.0 0:00.00 watchdog/2
#tail -f /var/log/MariaDB/******-slow.log
Time Id Command Argument
/usr/sbin/mysqld, Version: 10.2.19-MariaDB-log (MariaDB Server). started with:
Tcp port: 3306 Unix socket: /*******/mysql/mysql.sock
Time Id Command Argument
/usr/sbin/mysqld, Version: 10.2.19-MariaDB-log (MariaDB Server). started with:
Tcp port: 3306 Unix socket: /*******/mysql/mysql.sock
Time Id Command Argument
/usr/sbin/mysqld, Version: 10.2.19-MariaDB-log (MariaDB Server). started with:
Tcp port: 3306 Unix socket: /*******/mysql/mysql.sock
Time Id Command Argument
the disk usage is under 70%