Nextcloud via Ubuntu Appliance Install issue

I usually can follow instructions well enough to do various raspberry pi projects. But i am stumped on this one. I Installed the NextCloud Ubuntu Appliance for Raspberry Pi using these instructions.

I imported my ssh keys to ubuntu’s site here:
https://login.ubuntu.com/ssh-keys
I am able to ssh in from my mac.

The raspberry pi Ubuntu Core shows this on the screen.

Ubuntu Core 18 on 192.168.2.130
it says my host key fingerprints
RSA xxxxxxx
ECDSA xxxxxx
ED25519 xxxxxx

To login:
ssh username@192.168.2.130

Personalize your account at https://login.ubuntu.com

But i have no idea how to launch nextcloud on the raspberry pi. I also tried to use browser on mac to go to nextcloud.local and get err connection refused. Also tried in browser going to 192.168.2.130. I tried nextcloud.local:443 as well. Not sure what to do.

So long as you have your RasPi screen as shown, a headless NextCloud server is already running there. To verify, the command ‘snap services nextcloud’ should give you the following:

Service Startup Current Notes
nextcloud.apache enabled active -
nextcloud.mdns-publisher enabled active -
nextcloud.mysql enabled active -
nextcloud.nextcloud-cron enabled active -
nextcloud.nextcloud-fixer enabled inactive -
nextcloud.php-fpm enabled active -
nextcloud.redis-server enabled active -
nextcloud.renew-certs enabled active -

I set up my RasPi NextCloud server from Ubuntu 20.04 and was able to log into its web console by pointing my browser to http://nextcloud.local. The web console enables you to manage the server environment. Since you are having difficulties in reaching the web console, I suggest that you do the following:

  • ssh to your RasPi
  • Run ‘sudo nextcloud.occ config:system:set trusted_domains 1 --value=192.168.2.130’. This will register your RasPi’s IP address as a trusted domain.
  • To verify, run ‘sudo nextcloud.occ config:system:get trusted_domains’. You should see the IP address listed:
    nextcloud.local
    192.168.2.130
  • Run ‘snap restart nextcloud’ to restart the NextCloud server.
  • Exit RasPi

Now point your Mac browser to http://192.168.2.130 to log into the web console - You may get an insecure server warning, though. On your first login, you must set your user name & password.

To connect other devices to the NextCloud server on the same LAN, use http://192.168.2.130, not http://nextcloud.local. In my case, Ubuntu/Debian/OS X/Android clients all have been connected this way to my RasPi NextCloud server.

Hope the above will work for you.