Hi all,
i have tried to update my Nexcloud instance from 19 to 20 but it failed with and shows only the Maintinance Mode.
After disabling the mainitnance Mode using the SSH Console it shows again the option to update. When I try to update it fails because a problem with mail occured. The log was empty
After several tries to solve the Problem I guess I have now a bigger problem:
E: Missgestalteter Eintrag 1 in list Datei /etc/apt/sources.list.d/php.list (Component)
E: Die Liste der Quellen konnte nicht gelesen werden.
root:~# cat /etc/apt/sources.list
deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free
DietPi-Software
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
Step: Checking for conflicts and missing inputs
DietPi-Software
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
Step: Checking for prerequisite software
[ OK ] DietPi-Software | mkdir -p /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads /var/www /opt /usr/local/bin
[ OK ] DietPi-Software | chown dietpi:dietpi /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads
[ OK ] DietPi-Software | chmod 0775 /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads
[ SUB1 ] DietPi-Services > stop
[ OK ] DietPi-Services | stop : cron
[ OK ] DietPi-Services | stop : docker
[ OK ] DietPi-Services | stop : apache2
[ OK ] DietPi-Services | stop : mariadb
[ OK ] DietPi-Services | stop : redis-server
[ INFO ] DietPi-Software | APT update, please wait...
E: Malformed entry 1 in list file /etc/apt/sources.list.d/php.list (Component)
E: The list of sources could not be read.
[FAILED] DietPi-Software | APT update
- Command: apt-get -y update
#### Details:
- Date | Sun Jan 14 13:32:56 CET 2024
- DietPi version | v8.25.1 (MichaIng/master)
- Image creator | DietPi Core Team
- Pre-image | Raspbian Lite
- Hardware | RPi 4 Model B (armv7l) (ID=4)
- Kernel version | `Linux Donnervogel 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l GNU/Linux`
- Distro | buster (ID=5,RASPBIAN=1)
- Command | `apt-get -y update`
- Exit code | 100
- Software title | DietPi-Update
After re run aptget-updtate I recive thsi message:
root@Donnervogel:~# dietpi-launcher
[. ] DietPi-Software | Initialising database
[ OK ] DietPi-Software | Initialised database
[ OK ] DietPi-Software | Reading database
[ OK ] DietPi-Software | DietPi-Userdata validation: /mnt/dietpi_userdata
DietPi-Software
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
Step: Checking for conflicts and missing inputs
DietPi-Software
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
Step: Checking for prerequisite software
[ OK ] DietPi-Software | mkdir -p /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads /var/www /opt /usr/local/bin
[ OK ] DietPi-Software | chown dietpi:dietpi /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads
[ OK ] DietPi-Software | chmod 0775 /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads
[ SUB1 ] DietPi-Services > stop
[ OK ] DietPi-Services | stop : cron
[ OK ] DietPi-Services | stop : docker
[ OK ] DietPi-Services | stop : apache2
[ OK ] DietPi-Services | stop : mariadb
[ OK ] DietPi-Services | stop : redis-server
[ INFO ] DietPi-Software | APT update, please wait...
E: Malformed entry 1 in list file /etc/apt/sources.list.d/php.list (Component)
E: The list of sources could not be read.
[FAILED] DietPi-Software | APT update
- Command: apt-get -y update
Unfortunaly I am just a Linux beginner and have no clue to fixe the issue.
Last trie was to manually start the services
root@Donnervogel:~# sudo /etc/init.d/cron start
[ ok ] Starting cron (via systemctl): cron.service.
root@Donnervogel:~# sudo /etc/init.d/docker start
[ ok ] Starting docker (via systemctl): docker.service.
root@Donnervogel:~# sudo /etc/init.d/apache2 start
[ ok ] Starting apache2 (via systemctl): apache2.service.
**root@Donnervogel:~# sudo /etc/init.d/mariadb start**
**sudo: /etc/init.d/mariadb: Befehl nicht gefunden**
root@Donnervogel:~# sudo /etc/init.d/redis-server start
[ ok ] Starting redis-server (via systemctl): redis-server.service.
But the start of mariadb failed since the command was not found
Update:
after rebooting the RasPi Nextcloud is just struggeling with the update: