Jump to content

Nextcloudpi running on Armbian running on Debian Buster 19.11.7 - upgrade not possible - now no access anymore


Recommended Posts


My Nextcloudpi was running like a charm for years on an Odroid HC1 (no possibility to attache a monitor). It was still running Debian Buster 19.11.7. It was running so well that I neglected it a little too much. And then, when I attempted to upgrade the distro, it went bad.

During the upgrade the following error occured:
``
Err:5 http://httpredir.debian.org/debian buster-backports Release              
  404  Not Found [IP: 2a04:4e42:6f::644 80]
Ign:6 http://mirrors.dotsrc.org/armbian-apt buster InRelease
Err:7 http://mirrors.dotsrc.org/armbian-apt buster Release
  404  Not Found [IP: 2001:878:346::116 80]
Reading package lists... Done
E: The repository 'http://httpredir.debian.org/debian buster-backports Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://apt.armbian.com buster Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Something went wrong. Fix it and try again
``
Then I followed this [guidance](https://forum.armbian.com/topic/19237-armbian-upgrade-from-buster-to-bullseye/)
In `/etc/apt/sources.list.d/armbian.list`  I commented out the armbian repo and in `/etc/apt/sources.list` I changed from buster to bullseye. The I ran `apt update`, then
`apt upgrade --without-new-pkgs`, then `apt full-upgrade`and then I rebooted the system. The Ordoid HC1 seemed to have started up again, I also see it my router, but it cannot be accessed via SSH, via the webbrowser nor the web-domain.

1. Is there a way to fix the install?
2. If not, is there a way to retreive the data and configs? (Not sure if the drive was encrypted. What is the default of Nextcloudpi?)

Would really appreciate help.

Link to comment
Share on other sites

Debian Buster is EOL.

Remove Armbian related entries from apt sources and you are good to go. There won't be any further updates from Armbian for this userspace.

 

https://docs.armbian.com/User-Guide_FAQ/#how-do-i-upgrade-from-armbian-buster-to-bullseye

 

Debug boot issue: https://debug.armbian.de

 

Put SD card into your Linux computer and mount it.

Link to comment
Share on other sites

Hi Werner,

 

thanks a lot for your recommendations. I finally found some time to go back to the issue. I bought a CP2102 USB UART Adapter as you recommended in your video. The Odroid h1 has a Molex 5268-04a coonncetor mounted on its PCB. In the "ODROID Port description of UART Connector" (https://wiki.odroid.com/accessory/development/usb_uart_kit) the pins are described like follows. However, on the board itself the pins are not marked. I would not want to destroy anything here. Do you know which is which?

_____UART____

|Pin 4 - VCC|

|Pin 3 - RXD|

|Pin 2 - TXD|

|Pin 1 - GND|

\___________|

 

BTW: In the manual (https://magazine.odroid.com/wp-content/uploads/odroid-xu4-user-manual.pdf#page=7) the baud rate is specified with 115200.

 

 

 

Link to comment
Share on other sites

Cannot tell for sure since I do not have this board.

However I would use a multimeter and measure the voltage between the outer pins to determ which is GND and which is 5V.

Then I'd hook ground to ground and randomly connect rxd and txd. The chances are 50:50 to get it right the first try. If there is no output, swap rxd and txd and try again.

Link to comment
Share on other sites

Hi Werner,

 

weirdly it seems to be this wiring. In any case I get a readout.

_____UART____

/Pin 4 - VCC| red

|Pin 3 - TXD|

|Pin 2 - RXD|

\Pin 1 - GND| black

 

However, I am now confronted with the prompt "nextcloudpi login". "root" and "ncp" do not work, nor any of my other logins. I am using a PW manager, so it cannot really be that I am getting anything wrong. Do you know what the cause could be?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines