Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NextCloud Instance Down #7752

Closed
ibr123 opened this issue Jan 9, 2018 · 9 comments
Closed

NextCloud Instance Down #7752

ibr123 opened this issue Jan 9, 2018 · 9 comments

Comments

@ibr123
Copy link

ibr123 commented Jan 9, 2018

Hi,

i have installed NextCloud version 12 server on a linux server of my own, following the link and it was working fine but now i'm having this error
serverdown
the server that i have installed NextCloud on it is working, and the question is, since the NextCloud server is installed on my server, how is it closed for maintenance ? meaning is it still requesting or linked to a different location ? and is the only this instance down (my instance) or is the same for all ?
Thanks

@BernhardPosselt
Copy link
Member

@MorrisJobke
Copy link
Member

you need to disable the maintenance mode, because it kept active after the upgrade (usually it resets it to off, but in case of an issue or warning it does not).

After this the instance should be available again.

@ibr123
Copy link
Author

ibr123 commented Jan 9, 2018

yeah i already changed maintenance to false, but when i do the following, the problem reappear
1- i already have an app on NextCloud server and working fine
2- want to modify the app, i i modify the code then change the <version>0.0.1</version> at info.xml for the same app
3- copy the app to nextcloud/extra-apps/
4- the server isn't responding
to solve it:
1- delete the app
2- set maintenance to true at config.php
3- the message "this nextcloud instance is currently in maintenance ......"
4- set maintenance to false again, then the server is working

of course that solved the issue, yet that means i can't modify the app already on the server, does it have anything to do with the app version, it was working fine (modifying the app) until i reached <version>0.0.17</version> any idea?
NOTE: if i created a new app with a new name, the NextCloud server accepts it
Thanks

@MorrisJobke
Copy link
Member

it was working fine (modifying the app) until i reached 0.0.17 any idea?

Downgrade (from 0.0.17 to 0.0.1) of apps is not supported. I guess that this is the reason of the failure.

@ibr123
Copy link
Author

ibr123 commented Jan 9, 2018

actually what happened i didn't do downgrade, my app "AppOne" the version started as 0.0.1 and i kept modifying and then increasing the version until i reached 0.0.17 or 0.0.16 then the problem started to show.
what i did, i created another app "AppTwo" with version 0.0.1 and then changed the version to 0.0.2 and copied it again to server, and the previous issue didn't appear, seems there is a certain limit for the first digit at the version

@MorrisJobke
Copy link
Member

what i did, i created another app "AppTwo" with version 0.0.1 and then changed the version to 0.0.2 and copied it again to server, and the previous issue didn't appear, seems there is a certain limit for the first digit at the version

Mmmmh ... usually not and nothing that I'm aware of :/ Could you check with the second app to also go through all of this until 0.0.17 and verify it is that?

@ibr123
Copy link
Author

ibr123 commented Jan 9, 2018

it happened again today but i didn't went above version 0.0.17, it did't even pass 10, i'm sure it has to do with app version, maybe if any consistency in versions happened this issue appears
still, i'm not sure what scenario makes it

@MorrisJobke
Copy link
Member

it happened again today but i didn't went above version 0.0.17, it did't even pass 10, i'm sure it has to do with app version, maybe if any consistency in versions happened this issue appears
still, i'm not sure what scenario makes it

I'm pretty sure it's unrelated to the version number, but to a different change. Maybe turn on debug mode and set the log level to debug as well.

@ibr123
Copy link
Author

ibr123 commented Jan 10, 2018

actually i disabled debugging app for now, what makes think it has to do with the app version, is that when i have the same problem i create a different app, copy the code to it, and works normally again, and i also can increase the version number in the newly created app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants