Version 4 works like a charm. Thanks to all developers.
Today I saw there was a Beta 5 version so let's try.
Upgrade from latest 4 to 5 stops at
Restarting pihole-FTL service
Back to version 4 now by restoring from backup
What can I do to upgrade?
Debug Token:
I think I can't provide one because upgrade fails and pihole does not resolve names.
System:
VM (Debian Buster amd64)
Debian up to date except security updates because of an error about repository not being signed. Pi-hole Version v4.3.2 Web Interface Version v4.3.2 FTL Version v4.3.1
-rw-r--r-- 1 root root 1.1K Jan 22 22:13 /etc/pihole/install.log
[✓] Installing scripts from /etc/.pihole
[i] Installing configs from /etc/.pihole...
[i] Existing dnsmasq.conf found... it is not a Pi-hole file, leaving alone!
[✓] Copying 01-pihole.conf to /etc/dnsmasq.d/01-pihole.conf
[i] Installing blocking page...
[✓] Creating directory for blocking page, and copying files
[i] Backing up index.lighttpd.html
No default index.lighttpd.html file found... not backing up
[✓] Installing sudoer file
[✓] Installing latest Cron script
[✓] Installing latest logrotate script
[i] Backing up /etc/dnsmasq.conf to /etc/dnsmasq.conf.old
[✓] man pages installed and database updated
What is the purpose of this command? After this command the file is empty.
I changed this command (see previous post) to put the text in the file.
Now upgrading after deleting self scripted backups.
Disk was full.
It is now putting (big) blocklists in db tables.
Why did the 'Disk space check' pass while the disk was full?
I created a symbolic link from /etc/pihole/pihole-FTL.db to pihole-FTL.db on a second disk.
This moves FTL to the release 5.0 branch, and it is expected that there is no output from the command. This is a method of minimizing the number of branches to download, since this will download with one of the subsequent commands.
This is a problem. What does df -ah show for disk space?
I don't know. I would have to look at the code or have one of the devs answer this.
This file is not where the blocklists are being stored. They are in /etc/pihole/gravity.db
What is the output of the following:
@jfb
No, sorry. When the upgrade failed I couldn't upload.
Then I saw the disk was full. Solved that.
So uploading debug info when upgrade is busy without errors makes no sense imo.
Now pihole is upgrading
[i] Adding adlist with ID 8 to database table...
(big list)
A 2Gig root partition vda1 is going to be really tight. Even after offloading /data to a separate disk vdb1, as we don't put anything in that directory. Logs going to vdb2 should be plenty though.
@DanSchaper
This was the problem. The disk mounted at /data was full. Now 18%
When the second disk (/data) was full the 'Disk space check' passed and 'Restarting FTL service' failed.
Probably because pihole-FTL.db is on the disk that had no free space.
We only check the root partition, and since we don't put any data in /data, we'd have no reason to check that. I don't think we'd even know it existed.
Edit: That's symlink'd so we really would have no knowledge that it was moved.
@DanSchaper
Thanks for your answer. Fair enough only / is checked.
I don't know all my custumizations by heart and should have known before upgrading to v5.0.
After upgrade Pihole isn't upgraded.
I will open a new topic.
Update:
After reading Installation beta - #5 by Bat I understand the version number is not 5 but 4.3.2
Is my pihole installation up to date now?
[i] Checking for updates...
[i] Pi-hole Core: up to date
[i] Web Interface: up to date
[i] FTL: up to date
[i] Warning: You are using FTL from a custom branch (release/v5.0) and might be missing future releases.
[✓] Everything is up to date!
Pi-hole version is v4.3.2-386-g29f06a4 (Latest: v4.3.2)
AdminLTE version is v4.3.2-357-g3cac308e (Latest: v4.3.2)
FTL version is vDev-021cd83 (Latest: v4.3.1)
Yes, you are up to date. The version numbers show that you are on a version that is 386 commits greater than 4.3.2. The version number is based on git tags and that isn't set stable during a beta test. I know that is kind of confusing but it's a limitation of how we currently distribute the software.