Admittedly, I’m entirely new to Syncloud. I saw it as an alternative to manually trying to manage a server when I want something that is low maintenance.
I’m currently testing it out on a Pi 3 - self installed from images.
I’ve encountered an issue whereby when I’ve got Nextcloud and Plex installed. With the image online 21.01, these both work very well. However, if I check for updates from the Syncloud UI, it shows installed is 210114627, upgrade to 210215644.
If I then do the upgrade, it breaks the Nextcloud snap somehow to the point where it will either
Not start
Run but show a 502 Nginx error
Not installed after being removed
I’m now setting up another server again without upgrading and once everything is set up, I will image the SD to save myself the work again.
Definitely something that could do with being looked into though, why updating Syncloud breaks Nextcloud.
Unfortunately, given the world of Linux etc I’m a bit of a dunce but learn quick, so I am open to suggestions.
Still running version 210114627 and the system is stable, Plex running well and nextcloud is working despite a weird issue with uploads transferring a 40-50MB at a time with large >1gb file then waiting 10-20 seconds before sending more but that’s a different issue. Its working nonetheless.
I will take an image of the SD card so I’ve got a backup.
I don’t think it’s a corrupt SD card as the card has been used for other PI images without fail and the issue only occurs when updating Syncloud directly from the UI.
We have released an update to fix some router (natpmp) related issue, could you update when you have time to see if upgrade still breaks things for you?
Still broken I’m afraid. Somewhat frustrating as now my Nextcloud instance is being hijacked by Nginx which I think is the Syncloud snap stealing the port.
Unfortunately, I never got round to taking a backup of the SD.
It would also seem that this broke during the course of an apt update, I was installing CUPS printer driver for a label printer and looks like performing apt update broke nextcloud.
Performing the syncloud update made no difference.
Are you saying this is not stock image + Platform update?
apt update will probably break things.
Syncloud Nextcloud (php fpm) is actually listening on a unix socket file and Syncloud Platform nginx is listening on 443/80.
This is stock image. Installing CUPS installed a load of dependencies which I think broke nextcloud.
Obviously, not being able to install other packages like a print server because it might break something like that is a deal breaker.
Nonetheless, that’s what’s happening, going to the nextcloud page opens an Nginx error, seeing as Syncloud snap runs on Nginx, something is breaking PHP fpm or Nginx is hijacking it.
Why do you install cups on server?
If you really want to use apt to install random things I would suggest to isolate Syncloud and use docker image instead and then deal with exposing port and making sure that cups or any other software is not taking the same ports.