Infos:
- Used Zammad version: 5.0 → 5.4
- Used Zammad installation type: package
- Operating system: Debian 11
- Browser + version: Latest Chrome
Expected behavior:
- Running apt Update && apt upgrade should update Zammad to the newer version
Actual behavior:
- Zammad Update finishes with a lot of errors, resulting in a the whole install being broken and the browser only showing a 502 Error
Steps to reproduce the behavior:
- Install Zammad pinned to version 5.0 on new host, recover a backup from different host running zammad 5.0, update Zammad on new Host to 5.4.
Hello,
relatively new to Zammad, I’m currently trying to move a production Environment from an old host to a new one.
Since the current Environment is running Zammad 5.0.x according to the Version Info, I Installed that version on the new host to apply the backup I created on the current System.
This works fine with me being able to login on the new system and everything I backed up before is there.
I then put the new system in Maintenance mode and disabled E-Mails to not send any notifications by accident.
After that I try to update the new system to Zammad 5.4 before I want to also upgrade to 6.0. The Update process fails with multiple errors like this:
opt/zammad/vendor/ruby-3.1.3/lib/ruby/3.1.0/fileutils.rb:243:in `mkdir': File exists @ dir_s_mkdir - /opt/zammad/storage/fs (Errno::EEXIST)
Before those errors appear it looks fine to me:
Get:1 https://dl.packager.io/srv/deb/zammad/zammad/stable-5.4/debian 11/main amd64 zammad amd64 5.4.1-1686035985.315231a1.bullseye [143 MB]
Fetched 143 MB in 9s (15.8 MB/s)
Reading changelogs… Done
(Reading database … 55824 files and directories currently installed.)
Preparing to unpack …/zammad_5.4.1-1686035985.315231a1.bullseye_amd64.deb …
Unpacking zammad (5.4.1-1686035985.315231a1.bullseye) over (5.0.3-1675247826.34800255.bullseye)
dpkg: warning: unable to delete old directory ‘/opt/zammad/vendor/bundle/ruby/2.7.0/specifications’: Directory not empty
dpkg: warning: unable to delete old directory ‘/opt/zammad/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0-static’: Directory not empty
dpkg: warning: unable to delete old directory ‘/opt/zammad/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux’: Directory not empty
dpkg: warning: unable to delete old directory ‘/opt/zammad/vendor/bundle/ruby/2.7.0/extensions’: Directory not empty
dpkg: warning: unable to delete old directory ‘/opt/zammad/vendor/bundle/ruby/2.7.0/gems’: Directory not empty
dpkg: warning: unable to delete old directory ‘/opt/zammad/vendor/bundle/ruby/2.7.0’: Directory not empty
Setting up zammad (5.4.1-1686035985.315231a1.bullseye) …
(Re)creating init scripts
Nothing to do.
Nothing to do.
Nothing to do.
Enabling Zammad on boot
Stopping Zammad
Clear cache…
Basically every Task that tries to access/create /opt/zammad/storage/fs
fails.
I tried it with FULL_FS_DUMP='no'
as well as FULL_FS_DUMP='yes'
in the backup config, always changing those at source and target, but the errors keep being the same.
I’m out of Ideas and neither google nor this forum have led me to any solution so far.
Thanks in advance for any pointers!