Oyabi
March 29, 2024, 1:26am
1
Infos:
Used Zammad version: 6.0.0-1691482286.78b4467b.bullseye
Used Zammad installation type: (source, package, docker-compose, …) : package
Operating system: debian 11.9
Browser + version: /
Expected behavior:
install the version I want
Actual behavior:
The installation does’t advance past this even after waiting for hour:
database.yml found. Updating db…
== 20230508101744 TechDebt297ThreeStateBoolean: migrating =====================
– change_column_null(:users, :vip, false, false)
Progress: [ 67%] [###############################################################################################################################################…]
Steps to reproduce the behavior:
I try to install many version but can’t install newer version than 6.0.0-1694581997.6c378be7.bullseye
apt update
apt install zammad=6.0.0-1694581997.6c378be7.bullseye # ok
apt install zammad=6.1.0-1701845240.5a81e629.bullseye # doesn’t work with just apt install zammad or 6.2, etc.
Any idea to resolve this? I want to update my server to the most recent one but I’m block with the upgrade 6.0->6.1
Regards.
Oyabi
April 2, 2024, 6:04pm
2
Anybody got an idea please?
Hi @Oyabi . Any error message…?!
Oyabi
April 3, 2024, 6:06pm
4
None that I can find. Just a really long install that I stopped after 3 hours.
Have you a file in mind?
Look into your process list. If there’s a recursive chown
on /opt/zammad/
running that’s your reason.
Oyabi
April 9, 2024, 10:00pm
6
No chown in the process list.
root@zammad:~# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 167672 10960 ? Ss mars24 11:19 /sbin/init
root 2 0.0 0.0 0 0 ? S mars24 0:01 [kthreadd]
root 3 0.0 0.0 0 0 ? I< mars24 0:00 [rcu_gp]
root 4 0.0 0.0 0 0 ? I< mars24 0:00 [rcu_par_gp]
root 6 0.0 0.0 0 0 ? I< mars24 0:00 [kworker/0:0H-events_highp
root 8 0.0 0.0 0 0 ? I< mars24 0:00 [mm_percpu_wq]
root 9 0.0 0.0 0 0 ? S mars24 0:00 [rcu_tasks_rude_]
root 10 0.0 0.0 0 0 ? S mars24 0:00 [rcu_tasks_trace]
root 11 0.0 0.0 0 0 ? S mars24 0:12 [ksoftirqd/0]
root 12 0.0 0.0 0 0 ? I mars24 19:27 [rcu_sched]
root 13 0.0 0.0 0 0 ? S mars24 0:05 [migration/0]
root 15 0.0 0.0 0 0 ? S mars24 0:00 [cpuhp/0]
root 16 0.0 0.0 0 0 ? S mars24 0:00 [cpuhp/1]
root 17 0.0 0.0 0 0 ? S mars24 0:06 [migration/1]
root 18 0.0 0.0 0 0 ? S mars24 0:09 [ksoftirqd/1]
root 20 0.0 0.0 0 0 ? I< mars24 0:00 [kworker/1:0H-events_highp
root 21 0.0 0.0 0 0 ? S mars24 0:00 [cpuhp/2]
root 22 0.0 0.0 0 0 ? S mars24 0:05 [migration/2]
root 23 0.0 0.0 0 0 ? S mars24 2:24 [ksoftirqd/2]
root 25 0.0 0.0 0 0 ? I< mars24 0:00 [kworker/2:0H-events_highp
root 26 0.0 0.0 0 0 ? S mars24 0:00 [cpuhp/3]
root 27 0.0 0.0 0 0 ? S mars24 0:05 [migration/3]
root 28 0.0 0.0 0 0 ? S mars24 0:07 [ksoftirqd/3]
root 30 0.0 0.0 0 0 ? I< mars24 0:00 [kworker/3:0H-events_highp
root 31 0.0 0.0 0 0 ? S mars24 0:00 [cpuhp/4]
root 32 0.0 0.0 0 0 ? S mars24 0:06 [migration/4]
root 33 0.0 0.0 0 0 ? S mars24 0:09 [ksoftirqd/4]
root 35 0.0 0.0 0 0 ? I< mars24 0:00 [kworker/4:0H-events_highp
root 36 0.0 0.0 0 0 ? S mars24 0:00 [cpuhp/5]
root 37 0.0 0.0 0 0 ? S mars24 0:05 [migration/5]
root 38 0.0 0.0 0 0 ? S mars24 0:08 [ksoftirqd/5]
root 40 0.0 0.0 0 0 ? I< mars24 0:00 [kworker/5:0H-events_highp
root 41 0.0 0.0 0 0 ? S mars24 0:00 [cpuhp/6]
root 42 0.0 0.0 0 0 ? S mars24 0:05 [migration/6]
root 43 0.0 0.0 0 0 ? S mars24 0:38 [ksoftirqd/6]
root 45 0.0 0.0 0 0 ? I< mars24 0:00 [kworker/6:0H-events_highp
root 46 0.0 0.0 0 0 ? S mars24 0:00 [cpuhp/7]
root 47 0.0 0.0 0 0 ? S mars24 0:05 [migration/7]
root 48 0.0 0.0 0 0 ? S mars24 0:07 [ksoftirqd/7]
root 50 0.0 0.0 0 0 ? I< mars24 0:00 [kworker/7:0H-kblockd]
root 58 0.0 0.0 0 0 ? S mars24 0:00 [kdevtmpfs]
root 59 0.0 0.0 0 0 ? I< mars24 0:00 [netns]
root 60 0.0 0.0 0 0 ? S mars24 0:00 [kauditd]
root 62 0.0 0.0 0 0 ? S mars24 0:01 [khungtaskd]
root 63 0.0 0.0 0 0 ? S mars24 0:00 [oom_reaper]
root 64 0.0 0.0 0 0 ? I< mars24 0:00 [writeback]
root 65 0.0 0.0 0 0 ? S mars24 6:44 [kcompactd0]
root 66 0.0 0.0 0 0 ? SN mars24 0:00 [ksmd]
root 67 0.0 0.0 0 0 ? SN mars24 0:34 [khugepaged]
root 87 0.0 0.0 0 0 ? I< mars24 0:00 [kintegrityd]
root 88 0.0 0.0 0 0 ? I< mars24 0:00 [kblockd]
root 89 0.0 0.0 0 0 ? I< mars24 0:00 [blkcg_punt_bio]
root 90 0.0 0.0 0 0 ? I< mars24 0:00 [edac-poller]
root 91 0.0 0.0 0 0 ? I< mars24 0:00 [devfreq_wq]
root 93 0.0 0.0 0 0 ? I< mars24 0:11 [kworker/1:1H-kblockd]
root 94 0.0 0.0 0 0 ? S mars24 19:52 [kswapd0]
root 95 0.0 0.0 0 0 ? I< mars24 0:00 [kthrotld]
root 96 0.0 0.0 0 0 ? I< mars24 0:00 [acpi_thermal_pm]
root 97 0.0 0.0 0 0 ? I< mars24 0:21 [kworker/2:1H-kblockd]
root 98 0.0 0.0 0 0 ? I< mars24 0:00 [ipv6_addrconf]
root 108 0.0 0.0 0 0 ? I< mars24 0:00 [kstrp]
root 111 0.0 0.0 0 0 ? I< mars24 0:00 [zswap-shrink]
root 112 0.0 0.0 0 0 ? I< mars24 0:00 [kworker/u17:0-xprtiod]
root 135 0.0 0.0 0 0 ? I< mars24 0:11 [kworker/3:1H-kblockd]
root 170 0.0 0.0 0 0 ? I< mars24 0:13 [kworker/4:1H-kblockd]
root 172 0.0 0.0 0 0 ? I< mars24 0:00 [ata_sff]
root 173 0.0 0.0 0 0 ? S mars24 0:00 [scsi_eh_0]
root 174 0.0 0.0 0 0 ? I< mars24 0:00 [scsi_tmf_0]
root 175 0.0 0.0 0 0 ? S mars24 0:00 [scsi_eh_1]
root 176 0.0 0.0 0 0 ? I< mars24 0:00 [scsi_tmf_1]
root 179 0.0 0.0 0 0 ? S mars24 0:00 [scsi_eh_2]
root 180 0.0 0.0 0 0 ? I< mars24 0:00 [scsi_tmf_2]
root 181 0.0 0.0 0 0 ? I< mars24 0:12 [kworker/7:1H-kblockd]
root 185 0.0 0.0 0 0 ? I< mars24 0:12 [kworker/0:1H-kblockd]
root 189 0.0 0.0 0 0 ? I< mars24 0:12 [kworker/5:1H-kblockd]
root 225 0.0 0.0 0 0 ? S mars24 0:42 [jbd2/sdb1-8]
root 226 0.0 0.0 0 0 ? I< mars24 0:00 [ext4-rsv-conver]
root 275 0.0 0.2 144900 85680 ? Ss mars24 3:50 /lib/systemd/systemd-journ
root 291 0.0 0.0 0 0 ? I< mars24 0:22 [kworker/6:1H-kblockd]
root 296 0.0 0.0 0 0 ? I< mars24 0:00 [rpciod]
root 297 0.0 0.0 0 0 ? I< mars24 0:00 [xprtiod]
root 298 0.0 0.0 21588 3752 ? Ss mars24 0:01 /lib/systemd/systemd-udevd
root 397 0.0 0.0 0 0 ? S mars24 0:12 [jbd2/sdc1-8]
root 398 0.0 0.0 0 0 ? I< mars24 0:00 [ext4-rsv-conver]
root 408 0.0 0.0 0 0 ? S mars24 0:39 [jbd2/sda1-8]
root 409 0.0 0.0 0 0 ? I< mars24 0:00 [ext4-rsv-conver]
root 410 0.0 0.0 0 0 ? S mars24 0:24 [jbd2/sdb6-8]
root 411 0.0 0.0 0 0 ? I< mars24 0:00 [ext4-rsv-conver]
root 413 0.0 0.0 0 0 ? S mars24 0:14 [jbd2/sdd1-8]
root 414 0.0 0.0 0 0 ? I< mars24 0:00 [ext4-rsv-conver]
_rpc 437 0.0 0.0 7900 3480 ? Ss mars24 0:01 /sbin/rpcbind -f -w
root 444 0.0 0.0 0 0 ? I< mars24 0:00 [ttm_swap]
root 445 0.0 0.0 2412 764 ? Ss mars24 0:00 /usr/sbin/acpid
avahi 449 0.0 0.0 7332 2860 ? Ss mars24 0:22 avahi-daemon: running [zam
message+ 451 0.0 0.0 8432 3836 ? Ss mars24 4:19 /usr/bin/dbus-daemon --sys
root 454 0.0 0.0 2376 68 ? S< mars24 2:06 /usr/sbin/atopacctd
root 458 0.0 0.0 82684 3404 ? Ssl mars24 0:34 /usr/sbin/irqbalance --for
root 460 0.0 0.0 220796 5968 ? Ssl mars24 1:25 /usr/sbin/rsyslogd -n -iNO
root 463 0.0 0.0 14016 5032 ? Ss mars24 0:52 /lib/systemd/systemd-login
avahi 476 0.0 0.0 7148 348 ? S mars24 0:00 avahi-daemon: chroot helpe
root 703 0.0 0.1 428156 44484 ? Ss mars24 0:01 /usr/bin/python3 /usr/bin/
root 719 0.0 0.0 108720 16068 ? Ssl mars24 0:00 /usr/bin/python3 /usr/shar
root 723 0.0 0.0 544160 15116 ? Ssl mars24 11:16 /usr/bin/python3 /usr/bin/
root 737 0.0 0.0 13352 5496 ? Ss mars24 0:00 sshd: /usr/sbin/sshd -D [l
root 751 0.0 0.0 0 0 ? I< mars24 0:00 [nfsiod]
root 819 0.0 0.0 0 0 ? I< mars24 0:00 [kworker/u17:1-xprtiod]
root 925 0.0 0.0 0 0 ? S mars24 0:00 [NFSv4 callback]
root 969 0.0 0.0 6744 2648 ? Ss mars24 0:02 /usr/sbin/cron -f
daemon 982 0.0 0.0 3720 1964 ? Ss mars24 0:00 /usr/sbin/atd -f
root 1016 0.0 0.0 5844 1544 tty1 Ss+ mars24 0:00 /sbin/agetty -o -p -- \u -
Debian-+ 1342 0.0 0.0 18624 3316 ? Ss mars24 0:00 /usr/sbin/exim4 -bd -q30m
postgres 522363 0.0 0.0 234628 32972 ? Ss mars25 1:19 /usr/lib/postgresql/13/bin
postgres 522366 0.0 0.3 235236 145896 ? Ss mars25 1:35 postgres: checkpointer
postgres 522367 0.0 0.3 234896 144656 ? Ss mars25 3:08 postgres: background write
postgres 522368 0.0 0.0 234628 7728 ? Ss mars25 2:56 postgres: walwriter
postgres 522369 0.0 0.0 235592 10568 ? Ss mars25 0:18 postgres: autovacuum launc
postgres 522370 0.0 0.0 68972 3292 ? Ss mars25 3:40 postgres: stats collector
postgres 522371 0.0 0.0 235436 5064 ? Ss mars25 0:00 postgres: logical replicat
root 1650275 0.0 0.0 20404 19656 ? S<Ls 00:00 0:51 /usr/bin/atop -R -w /var/lo
ntp 1709901 0.0 0.0 74756 2952 ? Ssl mars29 0:47 /usr/sbin/ntpd -p /var/run
root 1969915 0.0 0.0 9696 3368 ? S 20:00 0:00 /usr/sbin/CRON -f
root 1969917 0.0 0.0 2480 512 ? Ss 20:00 0:00 /bin/sh -c sudo -u zammad "
root 1969919 0.0 0.0 10756 4856 ? S 20:00 0:00 sudo -u zammad /opt/zammad/
zammad 1969933 0.0 0.0 7080 2548 ? S 20:00 0:00 bash /opt/zammad/contrib/ba
zammad 1970030 99.6 0.5 317184 231680 ? R 20:00 237:41 /usr/lib/postgresql/13/bin/
postgres 1970031 12.7 0.8 561288 346272 ? Ss 20:00 30:24 postgres: zammad zammad ::1
root 2006120 0.0 0.0 0 0 ? I 22:19 0:00 [kworker/3:2-cgroup_destroy
root 2015943 0.0 0.0 0 0 ? I 22:49 0:01 [kworker/u16:8-events_unbou
root 2017100 0.0 0.0 0 0 ? I 23:02 0:00 [kworker/2:0-events]
root 2020536 0.0 0.0 0 0 ? I 23:10 0:00 [kworker/4:0-cgroup_destroy
root 2020766 0.0 0.0 0 0 ? I 23:15 0:00 [kworker/1:2-events]
td-agent 2020884 0.0 0.1 146804 44772 ? Sl 23:17 0:00 /opt/td-agent/bin/ruby /opt
td-agent 2020887 0.3 0.1 327524 62116 ? Sl 23:17 0:08 /opt/td-agent/bin/ruby -Eas
root 2024592 0.0 0.0 0 0 ? I 23:30 0:00 [kworker/6:1-events]
root 2024648 0.0 0.0 0 0 ? I 23:31 0:00 [kworker/0:2-ata_sff]
root 2027067 0.0 0.0 0 0 ? I 23:34 0:00 [kworker/u16:1-flush-8:16]
root 2027952 0.0 0.0 0 0 ? I 23:36 0:00 [kworker/7:0-cgroup_destroy
root 2028309 0.0 0.0 0 0 ? I 23:39 0:00 [kworker/5:0-events]
root 2028447 0.0 0.0 0 0 ? I 23:43 0:00 [kworker/u16:0-flush-8:16]
root 2028591 0.0 0.0 0 0 ? I 23:45 0:00 [kworker/4:2-events]
root 2028890 0.0 0.0 0 0 ? I 23:48 0:00 [kworker/7:2-events]
root 2028908 0.0 0.0 0 0 ? I 23:49 0:00 [kworker/0:1-ata_sff]
zabbix 2029777 0.2 0.0 2136668 23988 ? Ssl 23:49 0:01 /usr/sbin/zabbix_agent2 -c
root 2029807 0.0 0.0 0 0 ? I 23:49 0:00 [kworker/3:0-mm_percpu_wq]
root 2029916 0.0 0.1 64144 58020 ? Ss 23:49 0:00 glpi-agent (tag infra-telia
root 2031263 0.0 0.0 0 0 ? I 23:50 0:00 [kworker/u16:3-flush-8:32]
root 2031282 0.0 0.0 0 0 ? R 23:50 0:00 [kworker/u16:4+events_unbou
root 2031295 0.0 0.0 0 0 ? I 23:50 0:00 [kworker/1:0-cgroup_destroy
root 2031373 0.0 0.0 0 0 ? I 23:50 0:00 [kworker/2:1-cgroup_destroy
root 2031915 0.0 0.0 0 0 ? I 23:51 0:00 [kworker/5:2-mm_percpu_wq]
root 2031991 0.0 0.0 0 0 ? I 23:53 0:00 [kworker/6:0-events]
root 2032044 0.0 0.0 14640 8760 ? Ss 23:54 0:00 sshd: root@pts/0
root 2032048 0.0 0.0 15340 8224 ? Ss 23:54 0:00 /lib/systemd/systemd --user
root 2032049 0.0 0.0 170628 6824 ? S 23:54 0:00 (sd-pam)
root 2032068 0.0 0.0 8528 4988 pts/0 Ss 23:54 0:00 -bash
root 2032947 0.0 0.0 0 0 ? I 23:54 0:00 [kworker/0:0-mm_percpu_wq]
root 2033216 0.0 0.0 0 0 ? I 23:55 0:00 [kworker/4:1-mm_percpu_wq]
root 2033398 0.0 0.0 0 0 ? I 23:55 0:00 [kworker/7:1-cgroup_destroy
root 2033505 0.0 0.0 0 0 ? I 23:56 0:00 [kworker/3:1-events]
elastic+ 2033857 34.4 51.9 28648072 21357316 ? Ssl 23:56 0:54 /usr/share/elasticsearch/jd
elastic+ 2034051 0.0 0.0 108232 8324 ? Sl 23:56 0:00 /usr/share/elasticsearch/mo
root 2034411 0.0 0.0 18948 1012 ? Ss 23:56 0:00 nginx: master process /usr/
www-data 2034412 0.2 0.0 21480 8072 ? S 23:56 0:00 nginx: worker process
www-data 2034413 0.0 0.0 20116 3892 ? S 23:56 0:00 nginx: worker process
www-data 2034414 0.0 0.0 20116 3892 ? S 23:56 0:00 nginx: worker process
www-data 2034415 0.0 0.0 20116 3892 ? S 23:56 0:00 nginx: worker process
root 2034419 0.0 0.0 0 0 ? I 23:56 0:00 [kworker/5:1]
root 2034563 0.4 0.1 66340 56272 pts/0 S+ 23:57 0:00 apt install zammad=6.1.0-16
root 2034581 0.0 0.0 14640 8756 ? Ss 23:57 0:00 sshd: root@pts/2
root 2034687 0.0 0.0 8904 5524 pts/2 Ss 23:57 0:00 -bash
root 2034730 0.0 0.0 0 0 ? I 23:57 0:00 [kworker/2:2-events]
root 2034792 0.0 0.0 12176 6168 pts/1 Ss+ 23:58 0:00 /usr/bin/dpkg --status-fd 2
root 2034793 0.0 0.0 6948 3388 pts/1 S+ 23:58 0:00 /bin/bash /var/lib/dpkg/inf
root 2034808 0.0 0.0 7212 3564 pts/1 S+ 23:58 0:00 /bin/bash /tmp/tmp.7KmsCdiE
redis 2034892 0.1 0.0 65160 14884 ? Ssl 23:58 0:00 /usr/bin/redis-server 127.0
root 2034915 0.0 0.0 0 0 ? I 23:58 0:00 [kworker/7:3-events]
root 2035080 0.0 0.0 0 0 ? I 23:58 0:00 [kworker/1:1-events]
zammad 2035106 5.8 0.3 313912 163640 pts/1 Sl+ 23:58 0:03 /opt/zammad/vendor/bundle/r
postgres 2035138 0.0 0.1 237692 44976 ? Ss 23:58 0:00 postgres: zammad zammad [lo
postgres 2035139 0.0 0.0 236816 19972 ? Ss 23:58 0:00 postgres: zammad zammad [lo
root 2035198 0.0 0.0 9848 3352 pts/2 R+ 23:59 0:00 ps aux
root 3818284 0.0 0.0 29032 12428 ? Ss avril03 0:26 /opt/rudder/bin/cf-execd
root 3818285 0.0 0.0 29112 10456 ? Ss avril03 0:07 /opt/rudder/bin/cf-server
Block on this message :
# (Re)creating init scripts
Nothing to do.
Nothing to do.
Nothing to do.
# Enabling Zammad on boot
# Stopping Zammad
# Clear cache...
# database.yml found. Updating db...
== 20230508101744 TechDebt297ThreeStateBoolean: migrating =====================
-- change_column_null(:users, :vip, false, false)
Oyabi
April 16, 2024, 2:23am
7
Any idea boys? I am blocked with an old version for now.
Might not have been clear enough sorry. You’re looking for these processes during an active update installation, not during normal runtime.
Oyabi
April 17, 2024, 6:25pm
9
The ps aux
was done during the update.
You can ctrl+f or grep apt and will found this line root 2034563 0.4 0.1 66340 56272 pts/0 S+ 23:57 0:00 apt install zammad=6.1.0-16
zammad=6.1.0-16
is not a valid version number from our repos or you provide truncated outputs…
What repository are you using?
Oyabi
April 18, 2024, 12:50am
11
The output is truncated on X character on the right, as said in my first post the command I used is 6.1.0-1701845240.5a81e629.bullseye
and here 6.1.0-1694582876.ec4ddb8a.bullseye
.
Repo :
deb [signed-by=/etc/apt/trusted.gpg.d/pkgr-zammad.gpg] dl-packager-io/srv/deb/zammad/zammad/stable/debian 11 main
I can’t post link but you understand what I mean.