PEW

Validating
  • Content Count

    8
  • Joined

  • Last visited

Reputation Activity

  1. Like
    PEW got a reaction from gprovost in Helios4 Support   
    Here is my guide to upgrade omv4to5. Hopefully this will help out others looking to do the same.
     
    Was able to upgrade omv4 to 5. Here is my posts and the github bash script from the omv site: I downloaded the scripts then changed to executable.
    https://forum.openmediavault.org/index.php?thread/27909-omv-5-0-finally-out/&pageNo=2  
    https://forum.openmediavault.org/index.php?thread/27909-omv-5-0-finally-out/&pageNo=22
    https://github.com/OpenMediaVault-Plugin-Developers/installScript/blob/master/upgrade4to5
    https://forum.openmediavault.org/index.php?thread/33219-upgrade-to-5-x-failure/&pageNo=1
     
    Steps to reproduce:
    1. Remove incompatible plugins
    2. Switch over to dockers that are incompatible
    3. Download the two bash scripts:
    wget https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/upgrade4to5
    wget https://github.com/OpenMediaVault-Plugin-Developers/packages/raw/master/install
    4. chmod +x the upgrade4to5 chmod +x install
    5. Run the upgrade4to5 as root
    6. omv and plugins will fail. as describes here: https://forum.openmediavault.org/index.php?thread/33219-upgrade-to-5-x-failure/&pageNo=1
    7. Remove failed packages not purge since we want config files from omv They should print out.
    8. Reinstall openmediavault only
    9. Reboot
    10. Run this command : apt-get purge openmediavault-omvextrasorg resolvconf
    11. Reboot again
    12. Run the install script as root. this will install omv extras.
    13. apt update
    14. apt dist-upgrade
    15. omv-salt deploy run nginx
    16. omv-salt deploy run phpfpm
    17. But remove or move upsschedule-cmd from usr/bin and bin then run  apt-get install usrmerge
    18. apt install docker
    19. https://forums.docker.com/t/fa…te-nat-chain-docker/78269
    The docker installer uses iptables for nat. Unfortunately Debian uses nftables. You can convert the entries over to nftables or just setup Debian to use the legacy iptables.
    sudo update-alternatives --set iptables /usr/sbin/iptables-legacy
    sudo update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
    dockerd, should start fine after switching to iptables-legacy.
    sudo service docker start
    20. Switch to 5.4 kernel using armbian-config refer to kobol blog: 
    https://blog.kobol.io/2020/03/13/armbian-new-release/
    Hopefully this helps others out.
    Thanks