Syncloud not reachable after installing apps

Dear @boris ,

sadly I have some serious issue with my syncloud device, as I’m not able to reach the syncloud UI nor other apps that did work before.

It’s probably due to one of the reasons: I installed crowdsec without an error during installation, but I was not able to see any service under the subdomain (something like nginx not reachable). However, I did not uninstall it again (my fault).

I wanted to test another new app “gramps” and after installation now, I can not reach anything.

I can not send logs, as I can not reach the syncloud UI. I also just restarted my device by plugin out /in, but nothing changed.

I can enter with ssh but there is no output for command. Maybe you have a idea, which command I could try?

Its a odroid HC4 with 2 HDDs (RAID). It contains all my data and classical case, I did no independent backup before.

I would be happy about any help. Thank you.

Ok, I can do simple ssh commands like ls but snap list --all or systemctl status snap.platform.* does not print anything.

ok, I can access via sftp, I will first start to make a backup of data folder

The usual list of commands is here, let’s see if they can tell us somethig : Report problems · syncloud/platform Wiki · GitHub

Thanks for the link. Somehow the device went down and now is not booting any more. I ordered a SATA to USB adapter, hopefully I can get the data this way. Probably I have to start from scratch. I will let you know, how it goes…

If it is odroid hc4 OS is on sdcard

What I wanted to do, is to mount one of the two HDDs from my Odroid HC4 to my PC to get access to the /data/ folder to backup my data. However, I’m not able to mount.

Looks like it’s using Btrfs (B-Tree File System) and I tried:

sudo mount -t btrfs /dev/sdb /media/external-hdd

but it did not work.
I was able to install

sudo snap install btrfs-progs

on my Ubuntu PC but did not found any subvolumes

sudo snap run btrfs-progs.btrfs -v subvolume list /dev/sdb

And now I tried to backup my SD Card with the Syncloud OS, it has:

/dev/mmcblk0p1
/dev/mmcblk0p2

so I used

dd if=/dev/mmcblk0p1 of=/data/backup.img bs=1M

but the output says that I don’t have the rights.
So right now I’m not able to backup my HDD nor my SD.
Next step is probably to flash the SD card without backup hoping that it boots and can recognize the data from the HDDs.


Ok, I’m not able to flash the Odroid HC4 image from Home · syncloud/platform Wiki · GitHub on the SD card. Also tested another SD card and it gives same error.

Then I did

xz -d syncloud-odroid-hc4-24.05.img.xz 

first and tested again, but same error.

Are you getting this error from Etcher gui?

yes, error is from etcher gui

ok, with the 3rd sd card it did work now. One point is also maybe to format first as exFAT before flashing.

I was also able to repair one SD card with the following commands, but at the end, syncloud was not recognized. So SD cards are getting corrupted somehow. Here the commands:

lsblk
sudo umount /dev/mmcblk0p1
sudo umount /dev/mmcblk0p2
sudo fdisk /dev/mmcblk0

with pressing “d”, “1”, “d”, “2”, “n”, “p”, “1”, enter, enter, “w”

sudo mkfs.exfat /dev/mmcblk0p1

hi @boris , i can now read my 2 HDDs again and I see some app backups I did in the past, and if I restore e.g. calibre Syncloud UI says success, but the app doesnt show up, logs say:

error job/worker.go:37 error in the task {"error": "exit status 1: error: snap \"calibre\" not found\n"}

ok, i need to install first the app from store and then restore

ok, with the 3rd sd card it did work now

usually etcher does not require to repair/unmount sd cards, also you should not format or do anything with the card as etcher will erase everything anyway.
New sd card is always a good idea.

Ok, looks for me like it is not possible to flash Syncloud OS again on the same SD card, when it is already on the SD card and was booted.

But anyway, I’m almost back. But I have the problem, that I’m not able to install Nextcloud from the store. It keeps in a installing loop. I’ve just sent logs to support.

When I open the nextcloud url, then it says:

Access through untrusted domain Please contact your administrator. If you are an administrator, edit the “trusted_domains” setting in config/config.php like the example in config.sample.php

I’m not able to edit the config.php (read only).

Also there is a path root/snap/nextcloud/current which has files inside like config.php
and root/home/snap/nextcloud/current which as no files inside. What is the difference?

Logs say info cli/executor.go:23 execute {"cmd": "/usr/bin/journalctl -n 1000 --no-pager"}

It’s probably because I restored from the backup before installing from the UI. Also I think the last backup was on v29 from this issue Nextcloud Upgrade to v820 failed

I’m trying now to rollback to a older version v28

snap install nextcloud_775_$(dpkg --print-architecture).snap --devmode

ok, installing from terminal in dev mode has the similar issue:

2025-01-26 09:03:25,317 - nextcloud_occ - INFO - All tables already up to date!
2025-01-26 09:03:25,317 - cron - INFO - running: /usr/bin/snap run nextcloud.cron
Fontconfig error: Cannot load default config file

<aborted>

So probably my new user has no rights to edit the config because I restored first? Is there an option to uninstall from terminal everything or the set rights? I don’t want to start from scratch again as it took me hours and I’m running out of SD cards.
Would be happy about any idea :slight_smile:

I’m not able to edit the config.php (read only).

You do need to edit this file or any other file

backup was on v29

In this case you need to remove nextcloud and install fresh v29 using command line.
Then restore backup.
Then using command line upgrade each version until the latest.