fmdx@raspberrypi:~ $ sudo apt-get upgrade cloudflared
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
libwlroots12
Use 'sudo apt autoremove' to remove it.
The following packages will be REMOVED:
cloudflared:arm64
The following NEW packages will be installed:
cloudflared
0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
Need to get 16.7 MB of archives.
After this operation, 2,384 kB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 https://pkg.cloudflare.com/cloudflared bookworm/main armhf cloudflared armhf 2025.1.0 [16.7 MB]
Fetched 16.7 MB in 22s (759 kB/s)
Selecting previously unselected package cloudflared.
(Reading database ... 193853 files and directories currently installed.)
Preparing to unpack .../cloudflared_2025.1.0_armhf.deb ...
Unpacking cloudflared (2025.1.0) over (2025.1.0) ...
Setting up cloudflared (2025.1.0) ...
Processing triggers for man-db (2.11.2-2) ...
fmdx@raspberrypi:~ $ sudo systemctl restart cloudflared.service
Job for cloudflared.service failed because the control process exited with error code.
See "systemctl status cloudflared.service" and "journalctl -xeu cloudflared.service" for details.
fmdx@raspberrypi:~ $ curl --location --output cloudflared.deb https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb && sudo dpkg -i cloudflared.deb
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 17.6M 100 17.6M 0 0 731k 0 0:00:24 0:00:24 --:--:-- 832k
tv3.lt
dpkg: error processing archive cloudflared.deb (--install):
package architecture (amd64) does not match system (armhf)
Errors were encountered while processing:
cloudflared.deb
tv3.lt
its all messed up here
tv3.lt
i have cloudfared.deb but its either corrupted or missing parts
tv3.lt
fmdx@raspberrypi:~ $ sudo mkdir -p --mode=0755 /usr/share/keyrings
curl -fsSL https://pkg.cloudflare.com/cloudflare-main.gpg | sudo tee /usr/share/keyrings/cloudflare-main.gpg >/dev/null
fmdx@raspberrypi:~ $ echo "deb [signed-by=/usr/share/keyrings/cloudflare-main.gpg] https://pkg.cloudflare.com/cloudflared $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/cloudflared.list
deb [signed-by=/usr/share/keyrings/cloudflare-main.gpg] https://pkg.cloudflare.com/cloudflared bookworm main
fmdx@raspberrypi:~ $ sudo apt-get update && sudo apt-get install cloudflared
Hit:1 http://archive.raspberrypi.com/debian bookworm InRelease
Hit:2 http://raspbian.raspberrypi.com/raspbian bookworm InRelease
Hit:3 https://pkg.cloudflare.com/cloudflared bookworm InRelease
Reading package lists... Done
W: http://raspbian.raspberrypi.com/raspbian/dists/bookworm/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
cloudflared is already the newest version (2025.1.0).
The following package was automatically installed and is no longer required:
libwlroots12
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
fmdx@raspberrypi:~ $
tv3.lt
boom
tv3.lt
ill try to tunnel again
illegitimate_egg
you're on a pi 2 or ealier?
tv3.lt
fmdx@raspberrypi:~ $ sudo cloudflared service install eyJh[redacted]
2025-01-24T20:17:12Z INF Using Systemd
2025-01-24T20:17:12Z ERR error generating service template error="cloudflared service is alr eady installed at /etc/systemd/system/cloudflared.service; if you are running a cloudflared tunnel, you can point it to multiple origins, avoiding the need to run more than one cloudfl ared service in the same machine; otherwise if you are really sure, you can do cloudflared service uninstall` to clean up the existing service and then try again this command"
cloudflared service is already installed at /etc/systemd/system/cloudflared.service; if you are running a cloudflared tunnel, you can point it to multiple origins, avoiding the need to
illegitimate_egg
or a pi zero
tv3.lt
run more than one cloudflared service in the same machine; otherwise if you are really sure , you can do cloudflared service uninstall to clean up the existing service and then try a gain this command
fmdx@raspberrypi:~ $
`