Giter VIP home page Giter VIP logo

Comments (4)

scubamuc avatar scubamuc commented on June 26, 2024

@Pajkastare welcome and thanks for your request

please run the debugging script and post results here

I think I recall that the Nextcloud "cron" interval could be changed using nextcloud.occ, but I don't remember the syntax right now.

see managing cron

from nextcloud-snap.

scubamuc avatar scubamuc commented on June 26, 2024

@Pajkastare just found this #2349 (comment) in one of your older issues, did you disable preview generator as suggested? assuming this is an upgrade issue as before.

  • revert
  • disable preview generator
  • upgrade
  • re-enable preview generator

see FAQ's

from nextcloud-snap.

Pajkastare avatar Pajkastare commented on June 26, 2024

@Pajkastare just found this #2349 (comment) in one of your older issues, did you disable preview generator as suggested? assuming this is an upgrade issue as before.

I did not do anything to previewgenerator prior to doing the upgrade (only sudo snap refresh nextcloud, no other preparation). Nevertheless, I did disable it (sudo nextcloud.occ app:disable previewgenerator), but the maintenance mode problem persisted.

@Pajkastare welcome and thanks for your request

please run the debugging script and post results here

I think I recall that the Nextcloud "cron" interval could be changed using nextcloud.occ, but I don't remember the syntax right now.

see managing cron

Thanks for the links - Regarding cron, I had apparently alreday set it to 24h (sudo snap get nextcloud nextcloud.cron-interval), but the fixer script runs every five minutes. This got me digging, since it was obviously something other than the cron service that started the fixer script all the time.

It appeared it was another cron job recently created by myself, which started/stopped nextcloud if the external storage (which I access via Samba and mount under /mnt/, since the disk performance on the Raspberry Pi was too poor for running Nextcloud well enough) was available/unavailable, and that cron job called "snap start nextcloud" even if it was already running. I fixed it to do nothing if Nextcloud was in fact running, and the maintenance mode problems went away.

So, today I learned that the fixer service is called every time the Nextcloud snap starts, and that running snap start $NAME_OF_SNAP runs all startup code for that snap even if it was already running.

In other words, let's close this issue, it was my own fault, thanks for the help and sorry for wasting your time.

from nextcloud-snap.

Pajkastare avatar Pajkastare commented on June 26, 2024

Problem not related to the Nextcloud snap. (Erroneously believed that calling "snap start nextcloud" would not do anything if Nextcloud was already running, but the fixer service will be executed anyway.)

from nextcloud-snap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.