I have installed NC 18 on my linux system (Mint 19) and All the setup went fine except that on first start up, I check the box to install the calendar and other useful apps, but they don’t install. Also, when I go to the apps page it shows the installed and disabled apps, but none of the other apps in the app store. I think there is an issue with the link to the store somewhere in a config file, but I am not sure where this would be or how to fix it. I also am new to this so I am not sure what kind of config file or log would be helpful to post.
Any help would be appreciated.
edit - further research indicates there should be references to the app store in the config.php file. Mine has none of that. I have tried adding those parts from the sample config but still no luck.
I thought I had it figured out. It looked like I had multiple versions of php, including 7.4 which apparently is not compatible. I did a reinstall from scratch with just 7.2 and it seemed to be fine, app store showed up. I did a little more tweaking, including an apt-get upgrade and update and now the app store is gone again, but checking php it seems to still be 7.2 only. Not sure what happened.
I checked the config.php and it doesn’t have any reference to the app store.
I have been trying to open ports 443 and 80 and although I have them configured in my router the still don’t seem to open. Occasionally they do open, but somehow I end up changing settings and messing it up. Any clear directions on linux command line steps to actually open the ports and have Nextcloud listen on them would be appreciated.
Actually PHP 7.4 is compatible with NC18. It was not compatible with NC17.x.
Can you provide the following data?
config.php (with the sensitive information removed/ replaced)
browser console output when you access the NC Apps overview
webserver error log
Okay, you wrote first
Usually, outgoing traffic is not blocked and there are no changes to the router or firewall necessary. When apps.nextcloud.com is listening on port 80 or 443, your server uses just any port (any port number higher than 1024) to connect to the other webserver’s port. So no need to manipulate anything on your side regarding these two ports.
Did you set up any firewall with rules for outgoing traffic? Are there any entries in /etc/hosts regarding the apps.nextcloud.com?
I’m actually not even sure that apps.nextcloud.com is the correct address for the store.
Can you please post your config.php (remove sensitive information like password and salts before posting)?
Also, please perform the following shell command from your nextcloud server (via ssh): curl -vvv https://apps.nextcloud.com
I also used ufw to allow 80/tcp and 443/tcp as well as 22/tcp
nothing is in etc/hosts about app.nextcloud.com
I should mention I was trying to do a self signed certificate (the cloud is for my own use only) but the nextcloud.enable-ssh self-signed didn’t work (command not found)
As mentioned before: when you access any webserver (which by default run on port 80 and 443) your client computer uses completely different ports and definitely not port 80 and 443. These are reserved ports - reserved for webservers.
Your Nextcloud server is the client when it requests the app list from apps.nextcloud.com and therefore also uses completely different ports and not 80 or 443.
So don’t worry about these ports for now
Real bad is, that your NC server has no route to the host. Your NC server is connected to the internet, right?
Can you run the following command and post the output? tracepath -b apps.nextcloud.com
In case you don’t have tracepath installed, use a similar program which also starts with trace; don’t know traceroute …
And please check again, that your nextcloud server has an internet connection. Outgoing traffic should be allowed.
Here is the output on that command:
1?: [LOCALHOST] pmtu 1500
1: tardis (192.168.2.112) 3080.750ms !H
Resume: pmtu 1500
I know there is no connection to the internet. I can access it using the ip address when I am on the LAN, but outside there is not access (I do have a ddns setup but it isn’t working yet). How do I connect it to the internet?
Latest update. I checked on the actual computer the server is on (I usually just SSH’d into it0, and it was having some network connection issues, not sure exactly what, but on the browser some websites wouldn’t load. I fiddled a bit with the settings and got it working fine. I checked and the ports are open. I also created a self signed certificate for https. Things seem to be progressing in the right way. I still can’t log in using the dns names, just the ip address on the lan. I also notice that although the categories show up in the app store on the left side, when I click on them the circle turns for a bit and the it just stops with no apps to show. The log says there was a timeout. I feel like I’ve seen where you can lengthen the time before it times out but I don’t remember where.
I wouldn’t worry about this timeout bit - the apps.nextcloud.com server is up and running, and it responds in good time to any requests to it. The problem is that your computer isn’t getting an answer when it asks (via DNS) what apps.nextcloud.com’s IP address is.
Do you know what DNS servers your computer is set to use? I’d try setting them to a known-working public DNS service: Cloudflare 18.104.22.168, OpenDNS 22.214.171.124, or Google 126.96.36.199. See if your server can reach the apps server after that. It may also clear up your DDNS problem, depending how that is configured.
Thanks for the suggestions. I tried the different nameservers. Cloudflare and OpenDNS was no different than my existing one (the left side menu shows up but the actual apps don’t show up. The Google one didn’t even show the left side menu.