• General
  • Best practice update Appliance to newer release

Hello,

im using the 2022.05.02 release and will updat to the new 2022.12.01. Whats the best practice? Ive tried zypper ref && zypper up but i think i use futhermor the 2022.05.02. Unfortunately I haven't found a way to determine the active release version yet. The versions in the dashboard. The versions on the dashboard are not very meaningful.

I am use the ISO-Appliane installed on Proxmoxx.

I second this request as I am also running 2022.05.02 on Proxmox from the ISO appliance, using just the mail function as the other parts are not useful to my user base. My IT background is in Windows/Exchange so still on a steep learning curve with linux and this forum. I have already spent several hours attempting this upgrade (see details of what I have tried/found below for those who wish to read it). I thank the many posters on the forum for the time and effort they put in to help the less knowledgeable of us trying to get this all working for our user bases.

I have cloned the my current live VM (2022.05.02) and run 'Zypper Ref' and 'Zypper Up' on the clone and all seemed to run through OK. The rebooted VM showed no unexpected errors in the logs, but the Grub boot screen still showed 2022.05.02 not the new version as I expected. Digging around the forum posts and suggested updating the /usr/lib/os-release should fix this (it seems to), but I thought that the installer packaging should do this as part of the upgrade.

I read a forum post that suggested the new release is expecting to run on OpenSuse Leap 15.4 (as the new ISO appliance installs), yet most of the base appliance repos still appear to be pointing to version 15.3. Another Grommuinio Community Forum post suggested updating the Grommunio repo to use the 15.4 repository, so tried that on my upgraded version and then ended up with a mix of 15.3 and 15.4 versions of the Grommunio components. Listing the repos on my install showed that many of the base openSuse repos are still pointing to 15.3. At this point I decided that my linux knowledge was being stretched and the upgrade process had not been debugged enough, for linux newbies, so decided to put the upgrade to one side for the moment.

I did try doing another 'zypper ref' and 'zypper up' on a fresh clone of my live system after editing the Grommunio repo to use the 15.4 repository which also ran through without any new errors in the logs which did update the Grub boot screen correctly without needing to update the /usr/lib/os-release file. Another article suggested running 'zypper dup' but this just seemed to open another 'can of worms' with 'Problems' being reported for an number of the Grommunio files (can't remember all of them but Sync and Web were definitely mentioned). My inexperience with linux clearly now showing.

I then did a clean install of 2022.12.01 ISO into a new VM and imported emails from Outlook OST's (gave me a chance to play with the Grommunio import tools). The Webclient seemed to run OK and mails were viewable as expected. 'Zypper ref' and 'Zypper up' seem to work OK on this VM as well. Due to constraints of me having only 1 dynamic IP address an d needing tom keep my live system live I wasn't able to test full functionality of this new VM). I did some version checks between the various Grommunio components and found a number of discrepancies between the clean install and my test upgraded version. It looks like the new build requires php8 etc, which is present in the new ISO appliance but the upgraded VM is still appears to be using php7 which I believe is giving rise to various 'Problems' during the 'Zypper dup'. Not having enough knowledge/experience with linux to resolve this suggested I need to do more reading/testing.

Later that evening I saw that one of the regular forum posters mentioned that an upgrade process might be forthcoming in the near future, so decided to sit back and wait.

  • Andy replied to this.

    I think he means, that the System is still labeled with version 2022.05.2 and wondering, if the update was fully successful. I also encountered this. I did a full Update and still get the old Version number everywhere. For example at the login screen of the machine and also this:
    grommunio:~ # cat /etc/*release
    NAME="grommunio"
    VERSION="2022.05.2"
    ID="grommunio-lds"
    ID_LIKE="suse"
    VERSION_ID="2022.05.2"
    PRETTY_NAME="grommunio"

    Also I just saw I still have an older Version of gromox?
    grommunio:~ # rpm -qi gromox | head -n 3
    Name : gromox
    Version : 1.37.104.0cf0ce0
    Release : lp153.55.1

    I thought first its just a Bug and only the label didnt got updated, but maybe there is a bigger problem with the update process?

    Are there any information, when the instructions for the distribution update (that is mentioned in the linked other thread) will be available?

    Edit, 7th January 2023:
    I now also noticed this:
    When I try to do zypper up it says
    [The following package update will NOT be installed:
    gromox]
    When I try to do zypper dup it says
    Problem: nothing provides 'php7-cli' needed by the to be installed gromox-2.0.41.af35418-lp153.19.1.x86_64
    Solution 1: deinstallation of gromox-1.37.104.0cf0ce0-lp153.55.1.x86_64
    Solution 2: keep obsolete gromox-1.37.104.0cf0ce0-lp153.55.1.x86_64
    Solution 3: break gromox-2.0.41.af35418-lp153.19.1.x86_64 by ignoring some of its dependencies

    I think something there is wrong, but dont understand what happened. I did normal update on 30th December 2022 and thought it updates to 2022.12.1 but I think something went wrong.

    I think I'll wait until there's an official way. After all, it should be possible to switch to the latest version without too much effort. I think Univention's strategy is a good one.

    Currently there are some PHP8 issues. It is wise to wait.

    a month later

    Guess the "official way" would be the risky "zypper dup". But I can't recommend it.
    I used it. And after "zypper dup" the GRO it ran in multiple errors day by day and I'd
    to restore the GRO each and every day to a previous snap. Not getting better anymore.
    I'd to reinstall the GRO from scratch. Wasn't funny. IMO "zypper dup" is totally buggy.

    Wait a few days. grommunio QA is testing the update strategy.

    Mister2 clean install of 2022.12.01 ISO into a new VM and imported emails from Outlook OST's

    At the moment, this is the only and safe way to went to the current release.

    A major upgrade via zypper dup is currently not possible on a safe way. Using zypper refresh && zypper update to perform minor updates within a release has not led to any problems so far also on my VM v2022.12.1

    However, those who do not have Outlook or Exchange compatible software to backup and restore all items in email, calendar, contacts, tasks, notes have a problem with that way. From this point of view, it would be good to have a command sequence to be able to use a safely transfer from installation to installation or from VM to VM, which would be safe and make the situation easier.

    © 2020-2024 grommunio GmbH. All rights reserved. | https://grommunio.com | Data Protection | Legal notice