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

occ app:install works on and off #11070

Closed
enoch85 opened this issue Sep 5, 2018 · 6 comments
Closed

occ app:install works on and off #11070

enoch85 opened this issue Sep 5, 2018 · 6 comments

Comments

@enoch85
Copy link
Member

enoch85 commented Sep 5, 2018

I've got several reports the about failing app installations since I implemented occ app:install in the VM. I've also noticed it myself that apps often fail to install right after installing Nextcloud. Lately I've also got reports that OnlyOffice works if you enable from gui, but not with the occ commands (install and enable). Hence this report.

I can't really give you any steps to reproduce since it happens randomly. My own theory is that it's due to one of three things:

  1. The App Store is temporarily overloaded
  2. Network is temporarily failing
  3. The code for occ app:install is buggy

Could you please give me any guidance on different scenarios to test so that I can give you more accurate steps to reproduce?

ccing @MorrisJobke on this (as I do for everything else ;) )

@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #7563 ([occ] Hide "not installed" info on "occ maintenance:install"), #1947 (Add app installation and update capabilities to occ), #6581 (Theming app (still) not working in NC 12.0.3), #9853 (No route to host when trying to install an app), and #1599 (Install app via command line - occ app:install).

@nxtester
Copy link

nxtester commented Sep 9, 2018

There is a known DNS issue in Ubuntu 18.04 LTS, see https://medium.com/@ahmadb/fixing-dns-issues-in-ubuntu-18-04-lts-bd4f9ca56620.

After modifying DNS entries in /etc/systemd/resolved.conf I was able to execute NC script with lesser issues regarding resolving external server names.

Modifications in /etc/systemd/resolved.conf:

DNS=8.8.8.8 2001:4860:4860::8888
FallbackDNS=8.8.4.4 2001:4860:4860::8844

nxtester

@blizzz
Copy link
Member

blizzz commented Sep 14, 2018

To be fair the app server was not always reliable. We improved the config, that should hopefully help.

Definitely I bet on 1 &| 2.

@enoch85
Copy link
Member Author

enoch85 commented May 7, 2019

The app server got more stable, haven't seen this for a while. Closing.

@enoch85 enoch85 closed this as completed May 7, 2019
@chriscroome
Copy link

FWIW, I have been hitting this issue for the last 15 minutes via php occ app:install and searching for the problem found this threa, but it now appears to have resolved itself so I suspect that the app servers were having issues again?

@mmallejac
Copy link

mmallejac commented May 11, 2021

Same for me here. NC 21.0.1 running inside the official Docker image.
Random.
See https://gist.github.com/mmallejac/cc6bde4f752bfad977a0941571fb0e3a for the nextcloud.log issued while running the occ app:install command

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

No branches or pull requests

6 participants