Update Raspberry pi

Rooster

New Member
Hello, just installed Adguard on my raspberry pi... and its already saying theres a new version !!!!
How do I update please ?
 

Boo Berry

Moderator + Beta Tester
Moderator
What happens if you select the update now option? If that doesn't work, AdGuard Home is likely installed in a directory without write permissions.
 

Boo Berry

Moderator + Beta Tester
Moderator
Yeah, if I had to guess, the directory it's installed in doesn't have write permissions, so the notice to update it in that dialog doesn't appear.

You'll have to find out where it's installed and on the directory (and the other directories inside the main AG Home directory) use chmod to add write permissions.
 

Rooster

New Member
Mine is exactly the same as Billy's above.... total noob here, so can you please walk us though your suggestion Mr Boo ?
 

Billy_McSkintos

New Member
Mine is exactly the same as Billy's above.... total noob here, so can you please walk us though your suggestion Mr Boo ?
I ended up installing Adguard on to my OPNSense router as a plugin and so now have the latest version. Freed up a pi and a switch port...
 
Last edited:

Rooster

New Member
Using a virgin media hub - so thats not an option :confused:
Running adguard on the pi is ideal for me as I already have one on 24/7 running aircraft radar - so it may as well do this too !!!

Since youve installed on a router, do you now see the update button ?
 

Billy_McSkintos

New Member
As Boo mentioned I suspect that is due to the permissions and install location. On the Pi, I think my install location was within my home/user folder. I couldn't change the permissions in any way that allowed for upgrade. I think that if I had installed another way it would have worked as expected.

Anyway, yes, now installed with my OPNSense firewall/router as a community repo plugin, I see the 'Update now' button (to a beta):
1652974493142.png
 
Last edited:

Billy_McSkintos

New Member
Check this out: https://www.reddit.com/r/Adguard/comments/lkkb2z
I think a reinstall is the way to go but instead of installing from the static releases on the adguard server use the (github) releases:

Check your ARM version:
cat /proc/cpuinfo

wget https://static.adguard.com/adguardhome/release/AdGuardHome_linux_arm.tar.gz
Code:
cd $HOME

wget https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.105.2/AdGuardHome_linux_armv7.tar.gz

tar xvf AdGuardHome_linux_armv7.tar.gz

cd AdGuardHome

sudo ./AdGuardHome -s install
Although later in the thread, I believe they are implying that it can be reinstalled in place and perhaps maintain your settings. I am sure you can backup your config anyway.
Code:
cd $HOME/AdGuardHome

sudo ./AdGuardHome -s stop

cd ..

wget https://static.adguard.com/adguardhome/beta/AdGuardHome_linux_armv6.tar.gz

sudo tar xvf AdGuardHome_linux_armv6.tar.gz

cd AdGuardHome

sudo ./AdGuardHome -s start
 
Last edited:

Boo Berry

Moderator + Beta Tester
Moderator
Again, what directory is AdGuard Home installed in? Are you using Docker? Snap or did you use the install script? If so did you run the install script as-is (where it installs it into /opt/AdGuardHome) or is AdGuard Home installed in the home directory (e.g. /home/pi/AdGuardHome)?

Gotta know where it's installed and how you installed it to be able to fix it. If all else fails, post about your issue on the AdGuard Home Github issue tracker here: https://github.com/AdguardTeam/AdGuardHome/issues
 

Billy_McSkintos

New Member
Again, what directory is AdGuard Home installed in? Are you using Docker? Snap or did you use the install script? If so did you run the install script as-is (where it installs it into /opt/AdGuardHome) or is AdGuard Home installed in the home directory (e.g. /home/pi/AdGuardHome)?

Gotta know where it's installed and how you installed it to fix it.
Yes mine was installed in home/pi/AdGuardHome on my Pi. No Docker or SNAP, just by executing the same kind of commands - something like below. My thinking now is that we installed the "static" release and it might not offer the option to upgrade? Caveat: N00b talking.
Code:
cd $HOME

wget https://static.adguard.com/adguardhome/release/AdGuardHome_linux_arm.tar.gz

tar xvf AdGuardHome_linux_armv7.tar.gz

cd AdGuardHome

sudo ./AdGuardHome -s install
 
Last edited:

Boo Berry

Moderator + Beta Tester
Moderator
It should be able to automatically update if it has write permissions on the directory it's installed in. It does for me.

A shot in the dark would be to try these commands in the terminal (assuming AG Home is installed in one of two places in Raspberry Pi OS)...

Code:
sudo chmod 777 /opt/AdGuardHome
And/or...

Code:
sudo chmod 777 /home/pi/AdGuardHome
Then reboot the Pi and see if AG Home gives the option to update.
 

Billy_McSkintos

New Member
It should be able to automatically update if it has write permissions on the directory it's installed in. It does for me.

A shot in the dark would be to try these commands in the terminal (assuming AG Home is installed in one of two places in Raspberry Pi OS)...
Code:
sudo chmod 777 /home/pi/AdGuardHome
Then reboot the Pi and see if AG Home gives the option to update.
The latter did not do it for me before I reinstalled. I believe I also used the -R flag as overkill
 

Rooster

New Member
This is all greek to me... ive tried to mukkle through - im getting this (if its any help ! )
To install I ran the script from the website - I think !
 

Attachments

Top