Plesk, Nextcloud, and my shortening patience

I’ve a self-hosted Nextcloud installation which is frankly a pain, there’s a good chance updates will break everything.

Plesk is a fairly intuitive interface for self hosting but is best described as non-standard Ubuntu – it handles PHP oddly in particular. Try running any of the php occ commands in it’s built-in ssh terminal and you’ll experience an exercise in frustration.

It’s so much easier to ssh from an Ubuntu terminal and run occ commands directly – giving a clear error message that you can actually do something with.

So its the Circles app, lets disable it:

php occ app:disable circles

Then repair the installation:

php occ maintenance:repair

Finally turn off maintenance mode:

php occ maintenance:mode --off

I don’t even use that app but we’re back.


2 responses to “Plesk, Nextcloud, and my shortening patience”

  1. >>I’ve a self-hosted Nextcloud installation which is frankly a pain, there’s a good chance updates will break everything.

    What about switching to Nextcloud on docker? Then the Nextcloud stack is just a service. If something breaks in the service, you can roll back to a specific Nextcloud version. I’ve been running docker services for a few years now and won’t go back to managing a full server of munged together services.

    If a host fails, rebuilding a server is a matter of spinning up a fresh Ubuntu build and running a few docker scripts from my Gitlab and we’re back in business within minutes. Repeatable builds and repeatable services are great. It works for me and hopefully offers a path for you.
    https://docs.linuxserver.io/images/docker-nextcloud/#docker-compose-recommended-click-here-for-more-info

    1. Nextcloud is integrated into the Plesk installation, but sure I might give it a try. There’s other containers running on this server like Bitwarden.

Leave a Reply

Your email address will not be published. Required fields are marked *