Cannot access Nextcloud

Hi,

I’ve been running Nextcloud headless via NextcloudPi already some years on my Odroid HC-2.
Today, there’s an issue: when browsing to the instance, it shows that it is in maintenance mode.

I wanted to check out what is wrong, but I cannot log into via ssh:

ssh -vv root@192.168.0.158                                                                                                                                                                                       
OpenSSH_9.1p1, OpenSSL 3.0.7 1 Nov 2022
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: resolve_canonicalize: hostname 192.168.0.158 is address
debug1: Connecting to 192.168.0.158 [192.168.0.158] port 22.
debug1: Connection established.
debug1: identity file /home/david/.ssh/id_rsa type -1
debug1: identity file /home/david/.ssh/id_rsa-cert type -1
debug1: identity file /home/david/.ssh/id_ecdsa type -1
debug1: identity file /home/david/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/david/.ssh/id_ecdsa_sk type -1
debug1: identity file /home/david/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file /home/david/.ssh/id_ed25519 type -1
debug1: identity file /home/david/.ssh/id_ed25519-cert type -1
debug1: identity file /home/david/.ssh/id_ed25519_sk type -1
debug1: identity file /home/david/.ssh/id_ed25519_sk-cert type -1
debug1: identity file /home/david/.ssh/id_xmss type -1
debug1: identity file /home/david/.ssh/id_xmss-cert type -1
debug1: identity file /home/david/.ssh/id_dsa type -1
debug1: identity file /home/david/.ssh/id_dsa-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_9.1
kex_exchange_identification: read: Connection reset by peer
Connection reset by 192.168.0.158 port 22

Going to NextcloudPi web interface is failing too.

What can I do?

Thanks in advance,
Kind regards,
David

What is the error message you’re getting when navigating to :4443?

How do you store data, is it an SD card or an external drive connected?

It looks like the connection is being reset because you’re connecting as root but I’m not sure, you can check this on another Linux machine if it’s possible for you to connect the SD card or drive to that and use root to look at the /etc/ssh/sshd_config file

Thank you for taking your time to help me! :slight_smile:

There was no error message when navigating to :4443. It showed a pop-up to input name & password, but it kept repeating.

Things have been worsening.
I shut down the server (so I can get to the SD-card), but first tried to reboot. Server is humming & all lights on, but it does not show up on my home-network (checked with nmap).

sshd_config files is here: https://paste.techbag.app/?d1c1af87199f250a#45fFP6xQEtoD4RfznR3BkZ78szMeR5yj73PFzi3TquB5

All data and database is moved to an SSD.

The annoying part is that an ODroid-HC2 does not have a hmdi-output, so now it is just running and I cannot go in to see what’s wrong. :frowning:

I’m clueless.

You can skip this question. I was already thinking, a while ago to update to Odroid-HC4 for my Nextcloud instance. I’ll find another purpose for the older Odroid-HC2 :slight_smile: I figured out how to restore my files, calendar & contacts so I can upgrade my experience.

Thank you for your time.

1 Like