[SOLVED] cloudfared error

January 24, 2025, 18:23

tv3.lt

Hello, I need help with my Behringer UCA 222. My audio input isn't working and I don't know how to fix it. Thank you for the help!

tv3.lt

For my windows device it worked like plug n play

k9t33n

Could we have a link of this behringer UCA 222?

tv3.lt

I think the case is closed as my rpi misinterpreted the audio inputs

tv3.lt

Like, i have a webserver and the option to choose hw codec doesnt appear anywhere else except localhost

illegitimate_egg

I've got a UMC202HD that worked oob on Linux

illegitimate_egg

is it possible that there's a connection issue somewhere?

illegitimate_egg

does it work for sound out?

tv3.lt

i couldnt pick the hw:codec correctly, it works now!

tv3.lt

anyone knows how to fix this problem lol? tried installing cloudfared % 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 16.6M 100 16.6M 0 0 698k 0 0:00:24 0:00:24 --:--:-- 782k (Reading database ... 193853 files and directories currently installed.) Preparing to unpack cloudflared.deb ... Unpacking cloudflared:arm64 (2025.1.0) over (2025.1.0) ... Setting up cloudflared:arm64 (2025.1.0) ... Processing triggers for man-db (2.11.2-2) ... /usr/local/bin/cloudflared: 1: Syntax error: Unterminated quoted string

illegitimate_egg

I installed it from binaries on my system and that seemed to work

illegitimate_egg

maybe try that

illegitimate_egg

rather than package management

tv3.lt

how do i do that lol

tv3.lt

imnew

illegitimate_egg

look under other

illegitimate_egg

oh

illegitimate_egg

this is just updates

illegitimate_egg

hang on

tv3.lt

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:~ $ `

tv3.lt

pi 2b

illegitimate_egg

ah

illegitimate_egg

not sure if cloudflared builds for armhf

tv3.lt

omfg damn

tv3.lt

wtf it works now

tv3.lt