2 2
nachoparker

NextCloudPi on Armbian ( tested odroid HC1 )

Recommended Posts

 

 

NextCloudPi has different variants. There is a docker version, there's the curl installer (the one included in softy), and the SD card versions (and the x86 VM).  

 

I Try both it looks like that the Curl installer doesn't work docker version works for me  

 

 

if there is no support for your board, or even better, you can help me support yet another board

ok I will look your link, of course I'm ready to help you for support Orange Pi Pc + 

 

 

 

Share this post


Link to post
Share on other sites

@yogui  @esbeeb @Igor and the rest

 

The curl installer (and softy) should be fixed now. Still testing it but if you want to try it out and confirm that would be great.

Also generating an image for the OrangePi Zero Plus 2, should be uploaded to ownyourbits.com/downloads/testing shortly

 

I managed to have Sury provide a php7.2-redis package for armhf, so it shouldn't break again ;)

Looking for somebody to test the banana pi image (I don't own one), and if you guys want images for any board not yet supported just tell me.

Share this post


Link to post
Share on other sites
1 hour ago, nachoparker said:

@yogui  @esbeeb @Igor and the rest


The curl installer (and softy) should be fixed now. Still testing it but if you want to try it out and confirm that would be great.

Ok I will try it asap and give you a feedback

 

Quote


and if you guys want images for any board not yet supported just tell me.

If some other peaple need an image for OrangePi PC+ why not but if I'm the only one who use this board for NCP it is not necesary, it's to much job for one guy :)

 

Share this post


Link to post
Share on other sites

I completely re-installed Armbian using the latest Armbian_5.65_Nanopineocore2_Debian_stretch_next_4.14.78.7z.  Now my resolv.conf is looking much better (and no longer contains a pesky "nameserver 8.8.8.8" line at the start), it now contains:

# Generated by NetworkManager
search fritz.box
nameserver 192.168.0.254

Before running the NCP installer from softy, this time around I was smart enough to:

  1. Set the timezone within armbian-config
  2. Update the system clock, using: sudo ntpdate -s ntp.ubuntu.com
  3. Change the hostname to "nextcloudpi" in armbian-config, then reboot.
  4. Make sure "host nextcloudpi" and "host nextcloudpi.fritz.box" both resolved properly, and they did.

Share this post


Link to post
Share on other sites

@nachoparker, during the nc-init, I saw the output generated:

System config value trusted_domains => 1 set to string 192.168.0.137
System config value trusted_domains => 5 set to string nextcloudpi.local
System config value trusted_domains => 7 set to string nextcloudpi
System config value trusted_domains => 8 set to string nextcloudpi.lan

It would be nice if the trusted_domains also set "nextcloudpi.fritz.box", having seen "search fritz.box" in my /etc/resolv.conf

Share this post


Link to post
Share on other sites

Yay, the Nextcloud install worked really well.  The trick was to completely reflash the MicroSD card with the latest Armbian first

 

After the NCP installation was all done successfully, when I visited the URL with no FQDN (just https://nextcloudpi and https://nextcloudpi:4443), then it all worked well.

 

Edit: I was able to get my FQDN working well with the following command, as root:

sudo -u www-data /var/www/nextcloud/occ config:system:set trusted_domains 9 --value=nextcloudpi.fritz.box

 

Share this post


Link to post
Share on other sites
14 hours ago, esbeeb said:

It would be nice if the trusted_domains also set "nextcloudpi.fritz.box", having seen "search fritz.box" in my /etc/resolv.conf

 

That gets included whenever you activate Letsencrypt or dnsmasq

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
2 2