Nextcloud Broken

    • OMV 4.x
    • Resolved

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Nextcloud Broken

      After almost a month of flawless operation my Nextcloud will not load from my duckdns address and I can't access it from my mobile client. I know it is still there because if I add /index.php/apps/files/?dir=/&fileid=7 to my duckdns.org address in my browser it pops up and navigates through all of the folders and apps. Also Heimdall has stopped working. When I enter its address in the browser all I get on a blank screen is "You are missing php-zip". I also added Watchtower to my OMV this last week as well as attempting a pi-hole install. I abandoned pi-hole on that machine and deleted the container and image. Watchtower appeared to be working as desired, updating several images successfully. I am afraid that my pi-hole debacle and/or Watchtower have spiked my server somehow.

      The OMV server itself has not given any warnings, and appears to be working fine. I haven't any idea where to start looking, or what to look for. Can someone please point me in the right direction? I have been searching in the forums and can't spot anything like this.
      Retired. Love to garden and mess with computers. The more I mess with both the less I know about either.
      OMV 4.1.14-1, Odroid hc2 w/ 4TB WD Blue.
    • Not sure what could cause that problem but if I were you I would get rid of Watchtower, that thing created a lot of problems on my server, one of the problems was containers vanishing, basically the thing deleted my letsnecrypt container and my radarr container...

      My advice check again your containers if they are still set properly.

      I update my images and rebuild my containers manually because I kinda understand why it deleted my container.

      1. you pull the image from docker hub
      2. your container still runs on your older version image name turns into a hash
      3. you stop this container
      4. you select this container press copy and give it a new name because you can't use the old name
      5. you delete the old container
      6. you delete the old image
      7 you update containers that use this container as a mounted volume (like plex uses delunge, Radarr and Sonarr mounted volumes from other containers)

      Somehow Watchtower managed to screw me twice until I understood that it was causing the problem, not sure if for you is the same root cause but be aware of it.
      Theme changer tool: Unofficial OMV Theme Changer tool, css themes and UI manipulation
      Theme changer plugin: OMV-Theme plugin, theme changer and UI customisation

      omv-theme repo: github.com/virgil-av/omv-theme
      openmediavault-theme repo: github.com/virgil-av/openmediavault-theme

      If you appreciate what i do just smash that like
    • @Virgil.A

      Deleting Watchtower was the first thing that I did because I was pretty sure that was what caused it in the first place. I had seen the warnings and should have heeded them.

      I am just hesitant to dig into Nextcloud/MariaDB/Letsencrypt/DuckDNS. I guess I could just take a peek into the containers without modifying. I have also thought about stopping and restarting the containers without modifying them and see if that fixes anything. I might start your method with Heimdall first since it is not really a crucial container. Thank you.
      Retired. Love to garden and mess with computers. The more I mess with both the less I know about either.
      OMV 4.1.14-1, Odroid hc2 w/ 4TB WD Blue.
    • @Virgil.A I just tried your steps with Heimdall and got no change. The page for heimdall still comes up "You are missing php-zip".

      So I decided to delete container AND image and start from scratch with a clean install. Same results: "You are missing php-zip".
      Retired. Love to garden and mess with computers. The more I mess with both the less I know about either.
      OMV 4.1.14-1, Odroid hc2 w/ 4TB WD Blue.
    • never experienced that error but from a search I came across this article

      digitalocean.com/community/que…ry-is-missing-or-disabled

      related to mariadb and wordpress but still similar error

      first run in your terminal: apt-cache search php7.0-*

      and see if you are missing php7.0-zip on my server is present

      Source Code

      1. sudo apt-get install php7.0-zip
      2. don't forget to restart Apache
      3. sudo service apache2 restart
      Theme changer tool: Unofficial OMV Theme Changer tool, css themes and UI manipulation
      Theme changer plugin: OMV-Theme plugin, theme changer and UI customisation

      omv-theme repo: github.com/virgil-av/omv-theme
      openmediavault-theme repo: github.com/virgil-av/openmediavault-theme

      If you appreciate what i do just smash that like
    • @Virgil.A Here is what I get from the command line:

      Shell-Script

      1. root@hc2omv:~# sudo apt-get install php7.0-zip
      2. Reading package lists... Done
      3. Building dependency tree
      4. Reading state information... Done
      5. php7.0-zip is already the newest version (7.0.33-0+deb9u1).
      6. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      7. 2 not fully installed or removed.
      8. After this operation, 0 B of additional disk space will be used.
      9. Do you want to continue? [Y/n] y
      10. Setting up openmediavault-omvextrasorg (4.1.14) ...
      11. Updating configuration database ...
      12. Warning: apt-key should not be used in scripts (called from postinst maintainerscript of the package openmediavault-omvextrasorg)
      13. Executing: /tmp/apt-key-gpghome.d9Fh1PHNFc/gpg.1.sh --no-tty --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 9dc858229fc7dd
      14. 38854ae2d88d81803c0ebfcd88
      15. gpg: keyserver receive failed: No keyserver available
      16. run-parts: /usr/share/openmediavault/mkconf/apt.d/15omvextras exited with return code 2
      17. ERROR: Failed to create the default configuration: Command '['/usr/share/openmediavault/confdb/create.d/conf.system.omvextras.sh'
      18. ]' returned non-zero exit status 1
      19. dpkg: error processing package openmediavault-omvextrasorg (--configure):
      20. subprocess installed post-installation script returned error exit status 1
      21. dpkg: dependency problems prevent configuration of openmediavault-docker-gui:
      22. openmediavault-docker-gui depends on openmediavault-omvextrasorg (>= 4.0.2); however:
      23. Package openmediavault-omvextrasorg is not configured yet.
      24. dpkg: error processing package openmediavault-docker-gui (--configure):
      25. dependency problems - leaving unconfigured
      26. Processing triggers for openmediavault (4.1.17-1) ...
      27. Updating locale files ...
      28. Updating file permissions ...
      29. Purging internal cache ...
      30. Restarting engine daemon ...
      31. Errors were encountered while processing:
      32. openmediavault-omvextrasorg
      33. openmediavault-docker-gui
      34. E: Sub-process /usr/bin/dpkg returned an error code (1)
      35. root@hc2omv:~# sudo service apache2 restart
      36. Failed to restart apache2.service: Unit apache2.service not found.
      Display All
      Retired. Love to garden and mess with computers. The more I mess with both the less I know about either.
      OMV 4.1.14-1, Odroid hc2 w/ 4TB WD Blue.
    • I shutdown and inserted my backup sd card and rebooted. Then I repointed my shared folders to my backup data drive. After that Heimdall works, and Plex has never stopped working, but Nextcloud still refuses to load up.

      @Virgil.A If I update my containers as you have described above in an attempt to get Nextcloud back up and running, what order would you update them? Would you update Nextcloud first and then see if it works without touching the other containers? I'm sure I only have one shot at this.
      Retired. Love to garden and mess with computers. The more I mess with both the less I know about either.
      OMV 4.1.14-1, Odroid hc2 w/ 4TB WD Blue.
    • I have been thinking about this but makes no sense, by any means you should be able to access it.

      I wonder if the letencrypt redirects are acting up.

      From your description duckdns seems to do the job of updating the IP and redirecting to the correct place.

      So why is not working I have no idea at this point.

      Regarding the update just update mariadb and nextcloud does not matter the order just be sure you have backed up the database and configurations.

      When you access nextcloud via local ip is it working or same behaviour
      Theme changer tool: Unofficial OMV Theme Changer tool, css themes and UI manipulation
      Theme changer plugin: OMV-Theme plugin, theme changer and UI customisation

      omv-theme repo: github.com/virgil-av/omv-theme
      openmediavault-theme repo: github.com/virgil-av/openmediavault-theme

      If you appreciate what i do just smash that like
    • Virgil.A wrote:

      I update my images and rebuild my containers manually because I kinda understand why it deleted my container.

      1. you pull the image from docker hub
      2. your container still runs on your older version image name turns into a hash
      3. you stop this container
      4. you select this container press copy and give it a new name because you can't use the old name
      5. you delete the old container
      6. you delete the old image
      7 you update containers that use this container as a mounted volume (like plex uses delunge, Radarr and Sonarr mounted volumes from other containers)
      Many thanks to you @Virgil.A. I finally got around to getting Nextcloud back up. Your seven steps above worked perfectly. I realized if I could reach Nextcloud locally, there was nothing wrong with Nextcloud and MariaDB containers, so I looked at DuckDNS and it looked just as it should. The problem had to be with Letsencrypt so I followed your seven steps above and everything went quite smoothly. In fact, it is better than before because I used the settings laid out in @TechnoDadLifes first Letsencrypt video. His second Letsencrypt video sets things up using sub-subdomains: nextcloud.your-domain.duckdns.org. The first video sets Nextcloud to have your-domain.duckdns.org. Much shorter, neater, more personal.
      Retired. Love to garden and mess with computers. The more I mess with both the less I know about either.
      OMV 4.1.14-1, Odroid hc2 w/ 4TB WD Blue.
    • Users Online 1

      1 Guest