CloudFlare Tunnels Connecter not showing up

Im using Cloudflare tunnels to try and connect a dashboard to my domain. Im using a ubuntu server. Im using the pre generated command to install everything. Im getting this error
2023-09-05T07:33:02Z INF Using Systemd
2023-09-05T07:33:02Z ERR error generating service template error="cloudflared service is already installed at /etc/systemd/system/cloudflared-update.service; if you are running a cloudflared tunnel, you can point it to multiple origins, avoiding the need to 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 again this command"
cloudflared service is already installed at /etc/systemd/system/cloudflared-update.service; if you are running a cloudflared tunnel, you can point it to multiple origins, avoiding the need to 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 again this command


If i run
cloudflared service uninstall

2023-09-05T07:33:50Z ERR systemctl daemon-reload error error="systemctl [daemon-reload] returned with error code exit status 1 due to: Failed to reload daemon: Interactive authentication required.\n"
systemctl [daemon-reload] returned with error code exit status 1 due to: Failed to reload daemon: Interactive authentication required.


and if i run it with sudo everything works
2023-09-05T07:34:49Z INF Linux service for cloudflared uninstalled successfully


Then if i run
sudo cloudflared service install xxxx
i get the error i started with saying its already installed? There is no connecter showing up when it refreshes?

I Think im stuck in a loop
Was this page helpful?