Figro's Docker Repo Support Thread


Figro

Recommended Posts

On 4/13/2023 at 7:54 AM, ingarb said:

Really appreciate this Cloudflare Tunnels docker! It's worked amazing. But now I'm getting warnings from Cloudflare that my Tunnel version is outdated.. Any plans for a new release of this docker?

Restarting the container should download the latest release of cloudflared.

Link to comment
On 4/14/2023 at 12:30 PM, lrx345 said:

Flood UI Docker

 

Anyone else having issues with Flood failing to start up the first try, but reliably starting up the second try? I'm tempted to just write a script to have it try to start up twice.

 

FATAL internal error. Please open an issue.
Unhandled rejection: undefined
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 58.4M  100 58.4M    0     0  59.4M      0 --:--:-- --:--:-- --:--:--  100M
FATAL internal error. Please open an issue.
Unhandled rejection: undefined
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 58.4M  100 58.4M    0     0  43.1M      0  0:00:01  0:00:01 --:--:-- 64.1M
FATAL internal error. Please open an issue.
Unhandled rejection: undefined
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 58.4M  100 58.4M    0     0  53.3M      0  0:00:01  0:00:01 --:--:-- 93.8M
FATAL internal error. Please open an issue.
Unhandled rejection: undefined
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 58.4M  100 58.4M    0     0  49.0M      0  0:00:01  0:00:01 --:--:-- 72.0M
FATAL internal error. Please open an issue.
Unhandled rejection: undefined
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 58.4M  100 58.4M    0     0  56.1M      0  0:00:01  0:00:01 --:--:-- 56.1M
FATAL internal error. Please open an issue.
Unhandled rejection: undefined
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 58.4M  100 58.4M    0     0  24.9M      0  0:00:02  0:00:02 --:--:-- 34.6M
FATAL internal error. Please open an issue.
Unhandled rejection: undefined
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 58.4M  100 58.4M    0     0  49.0M      0  0:00:01  0:00:01 --:--:-- 87.7M
GET /api/activity-stream?historySnapshot=FIVE_MINUTE 200 1.998 ms - -
GET / 304 0.389 ms - -
GET /static/js/main.e491eea1.js 304 0.408 ms - -
GET /static/css/main.91a3ca36ed1a96839319.css 304 0.467 ms - -
GET /api/auth/verify?1681279117055 200 1.420 ms - 114
GET /static/js/90.8be17c89.chunk.js 304 0.462 ms - -
GET /api/settings 200 1.572 ms - 373
GET /api/client/settings 200 4.245 ms - 605
GET /static/media/Roboto-regular.11bce66a..woff2 304 0.663 ms - -
GET /static/css/116.bc338a685eec2e79b3a6.css 304 0.404 ms - -
GET /static/js/116.0faf47ae.chunk.js 304 0.311 ms - -
GET /static/js/183.afcec458.chunk.js 304 1.109 ms - -
GET /static/js/535.4bb41992.chunk.js 304 1.095 ms - -
GET /static/js/flag0.d867ac2a.chunk.js 304 1.063 ms - -
GET /static/media/Roboto-italic.766b7c5c..woff2 304 0.875 ms - -
GET /static/media/Roboto-700.2b8c7cb1..woff2 304 0.701 ms - -
GET /static/media/Roboto-500.c7e17507..woff2 304 0.365 ms - -
GET /api/activity-stream?historySnapshot=FIVE_MINUTE 200 0.916 ms - -
GET /api/activity-stream?historySnapshot=FIVE_MINUTE 401 0.507 ms - -
GET /apple-touch-icon.png 404 0.775 ms - 159
GET /apple-touch-icon-precomposed.png 404 0.469 ms - 171
GET /favicon.ico 200 1.677 ms - -
GET /login 200 0.460 ms - 992
GET /icon_maskable_180x180.png 200 1.338 ms - 5392
GET /favicon.ico 200 1.132 ms - -
GET /login 200 0.310 ms - 992
GET /favicon.ico 200 0.593 ms - -
Downloading latest flood release...
Flood server 4.7.0 starting on http://0.0.0.0:3000

Downloading latest flood release...
Flood server 4.7.0 starting on http://0.0.0.0:3000

Downloading latest flood release...
Flood server 4.7.0 starting on http://0.0.0.0:3000

Downloading latest flood release...
Flood server 4.7.0 starting on http://0.0.0.0:3000

Downloading latest flood release...
Flood server 4.7.0 starting on http://0.0.0.0:3000

Downloading latest flood release...
Flood server 4.7.0 starting on http://0.0.0.0:3000

Downloading latest flood release...
Flood server 4.7.0 starting on http://0.0.0.0:3000

 

Docker template is left to default other than mapping 3000 to 3001. Running with Deluge. My docker load order is Deluge first, then Flood last, and I even have a 120s wait set before flood loads. Weirdest thing.

I use the :dev tag as the latest release has issues connecting with qbittorrent. I do not use Deluge but maybe try a second instance with the dev tag and see if there is any difference. I have not seen that Error when launching the application before. Sorry I can't be of more help

  • Like 1
Link to comment
8 hours ago, Figro said:

Restarting the container should download the latest release of cloudflared.

Hi. Tried restarting the container, but now it won't start anymore. Also tried removing the docker completely, including the image, but still won't start.
 

hp?doing_wp_cron=1682404875.6131670475006103515625 ip=198.41.200.113 type=http
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 16.8M  100 16.8M    0     0  14.6M      0  0:00:01  0:00:01 --:--:-- 24.9M
./cloudflared: line 2: syntax error: unexpected newline
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 16.8M  100 16.8M    0     0  25.8M      0 --:--:-- --:--:-- --:--:-- 46.1M
./cloudflared: line 2: syntax error: unexpected newline
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 16.8M  100 16.8M    0     0  27.6M      0 --:--:-- --:--:-- --:--:-- 75.0M
./cloudflared: line 2: syntax error: unexpected newline

** Press ANY KEY to close this window ** 

Edited by ingarb
Link to comment
3 hours ago, ingarb said:

Hi. Tried restarting the container, but now it won't start anymore. Also tried removing the docker completely, including the image, but still won't start.
 

hp?doing_wp_cron=1682404875.6131670475006103515625 ip=198.41.200.113 type=http
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 16.8M  100 16.8M    0     0  14.6M      0  0:00:01  0:00:01 --:--:-- 24.9M
./cloudflared: line 2: syntax error: unexpected newline
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 16.8M  100 16.8M    0     0  25.8M      0 --:--:-- --:--:-- --:--:-- 46.1M
./cloudflared: line 2: syntax error: unexpected newline
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 16.8M  100 16.8M    0     0  27.6M      0 --:--:-- --:--:-- --:--:-- 75.0M
./cloudflared: line 2: syntax error: unexpected newline

** Press ANY KEY to close this window ** 

I just updated the container to hopefully address this issue. I could not replicate the issue myself but I have already pushed an update that does change the line that gave you an error. you should be able to check for updates and update and try that out. If you still are having the same issue. I would guess there is some type of network filtering when it is trying to download the binary. There shouldn't be anything you are doing that is incorrect. As long as your token is valid and nothing in the network is preventing the binary from being downloaded it should run fine. Not sure how comfortable you are with command line but if you are comfortable you could try manually downloading the binary with this command:
 

url=$(curl -s https://api.github.com/repos/cloudflare/cloudflared/releases/latest | jq -r '.assets[] | select(.browser_download_url | endswith("cloudflared-linux-amd64")) | .browser_download_url') && curl -L --output "cloudflared" $url && chmod +x ./cloudflared && ./cloudflared -h

 

If everything is good result should show the help command output from cloudflared. 

 

I Hope this solves your issue. Would like to know if this issue has affected anyone else as well

Link to comment
3 minutes ago, Figro said:

I just updated the container to hopefully address this issue. I could not replicate the issue myself but I have already pushed an update that does change the line that gave you an error. you should be able to check for updates and update and try that out. If you still are having the same issue. I would guess there is some type of network filtering when it is trying to download the binary. There shouldn't be anything you are doing that is incorrect. As long as your token is valid and nothing in the network is preventing the binary from being downloaded it should run fine. Not sure how comfortable you are with command line but if you are comfortable you could try manually downloading the binary with this command:
 

url=$(curl -s https://api.github.com/repos/cloudflare/cloudflared/releases/latest | jq -r '.assets[] | select(.browser_download_url | endswith("cloudflared-linux-amd64")) | .browser_download_url') && curl -L --output "cloudflared" $url && chmod +x ./cloudflared && ./cloudflared -h

 

If everything is good result should show the help command output from cloudflared. 

 

I Hope this solves your issue. Would like to know if this issue has affected anyone else as well

Hi, thank you!

That fixed it, works now and Tunnel is back up.

 

  • Like 1
Link to comment
On 4/9/2023 at 5:18 AM, Figro said:

 

Hello, Can you try to remove the appdata directory completley and try again. Make sure you are on not using the :dev tag for the repository line. String should be "figro/leon-ai". Try spinning up the container after doing that and see if the same error occurs. If it does try giving your user rwx permission to the appdata folder for leon. I didn't need to explicitly give my user permission to get it to work. But I did just test on a fresh install and was able to get it up and running. I have attached the logs from my run for reference. Would be interested to know if anyone else is still running into issues. If you discover something new feel free to update :)

logs.txt 22.63 kB · 2 downloads

Hey boss! Just checking to see if there has been any changes on this bad boy? I understand if not. :)

Link to comment
  • 2 weeks later...

Hi,

My Cloudfare was working, using the Clouldflared docker. My isp changed my ip address, so I updated but still couldn't get it working again, so I did something stupid and hit the "Refresh Token" button. I have now broken the connection between the docker and Clouldflare. I can't find the refreshed token. What do I do?

Thanks in Advance.

 

Link to comment
On 5/7/2023 at 1:50 PM, Badboy said:

Hi,

My Cloudfare was working, using the Clouldflared docker. My isp changed my ip address, so I updated but still couldn't get it working again, so I did something stupid and hit the "Refresh Token" button. I have now broken the connection between the docker and Clouldflare. I can't find the refreshed token. What do I do?

Thanks in Advance.

 

Fixed this by redoing the connection to the tunnel.

Link to comment
  • 2 weeks later...

Any reason why the Unraid-Cloudflared-Tunnel docker would be spitting thousands of NGINX errors into syslog?   

 

Ive been chasing the problem here, and the only thing that makes it reliably go away is turning off Unraid-Cloudflared-Tunnel docker.   

 

Im testing now with just the raw docker command straight from the zero-trust dashboard.   

Link to comment

Trying to setup Flood-UI with deluge but it never seems to connect to the client. I know I have the right connection info. Is it not compatible with deluge? After putting my info on the initial start up it's just says connection can't be verified, then the docker has some issue and won't even start.

Link to comment

Hi i have a issue with the Unraid-Cloudflared-Tunnel.
Every time it updates itself it Stops itself after the update. (This has happened 2 or 3 times now)

The last Log output:

2023-05-24T07:57:00Z INF cloudflared has been updated version=2023.5.1
2023-05-24T07:57:00Z INF Restarting service managed by SysV...
2023-05-24T07:57:00Z INF PID of the new process is 36
2023-05-24T07:57:00Z ERR Initiating shutdown error="cloudflared has been updated to version 2023.5.1"
2023-05-24T07:57:00Z ERR icmp router terminated error="context canceled"
2023-05-24T07:57:00Z INF Unregistered tunnel connection connIndex=1 event=0 ip=198.41.192.57
2023-05-24T07:57:00Z INF Unregistered tunnel connection connIndex=2 event=0 ip=198.41.200.63
2023-05-24T07:57:00Z INF Metrics server stopped
2023-05-24T07:57:00Z INF Unregistered tunnel connection connIndex=3 event=0 ip=198.41.192.27
2023-05-24T07:57:00Z INF Unregistered tunnel connection connIndex=0 event=0 ip=198.41.200.233
2023-05-24T07:57:00Z ERR Failed to serve quic connection error="context canceled" connIndex=3 event=0 ip=198.41.192.27
2023-05-24T07:57:00Z ERR Failed to serve quic connection error="context canceled" connIndex=1 event=0 ip=198.41.192.57
2023-05-24T07:57:00Z ERR Failed to serve quic connection error="context canceled" connIndex=2 event=0 ip=198.41.200.63
2023-05-24T07:57:00Z ERR Failed to serve quic connection error="context canceled" connIndex=0 event=0 ip=198.41.200.233
2023-05-24T07:57:00Z INF Tunnel server stopped
cloudflared has been updated to version 2023.5.1
2023-05-24T07:57:00Z INF Starting tunnel tunnelID=0bdc1732-c6c9-4ddb-8866-b973f9f21a3d
2023-05-24T07:57:00Z INF Version 2023.5.1
2023-05-24T07:57:00Z INF GOOS: linux, GOVersion: go1.19.6, GoArch: amd64
2023-05-24T07:57:00Z INF Settings: map[token:*****]
2023-05-24T07:57:00Z INF Autoupdate frequency is set autoupdateFreq=86400000
2023-05-24T07:57:00Z INF Generated Connector ID: 88b10042-1e8c-471e-b3df-aa4d60f1a93c

** Press ANY KEY to close this window ** 

KR
ZKWolf

Link to comment
  • 2 weeks later...

Normal leon-ai unraid setup, nothing changed and although the logs state everything is fine, scrolling up reveals this piece preventing it from starting up.

 

fatal: detected dubious ownership in repository at '/home/docker/leon'
To add an exception for this directory, call:

        git config --global --add safe.directory /home/docker/leon

error Command failed with exit code 243.
node:internal/modules/cjs/loader:959
  throw err;
  ^

Error: Cannot find module '/home/docker/leon/server/dist/pre-check.js'
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15)
    at Function.Module._load (node:internal/modules/cjs/loader:804:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
error Command failed with exit code 1.


I'm not too good with docker and honestly have no idea how to get around this.

Any support welcomed at this stage.

Edited by Orrin
Link to comment
  • 2 weeks later...

Anyone 'cloudflared-tunnel' randomly stop/crashed (not sure which).
I have noticed it couple times now, container has stopped/crashed on its own. start the container starts without any problems after the crash/stop.

 

anyone running it with a restart policy '--restart unless-stopped' ?

 

 

Link to comment
1 minute ago, Tolete said:

Anyone 'cloudflared-tunnel' randomly stop/crashed (not sure which).
I have noticed it couple times now, container has stopped/crashed on its own. start the container starts without any problems after the crash/stop.

 

anyone running it with a restart policy '--restart unless-stopped' ?

 

 

 

Yep. Getting the exact same. Just randomly stops and I have to restart the container. I'm also running the restart policy.

Link to comment
16 minutes ago, Slippin' Jimmy said:

 

Yep. Getting the exact same. Just randomly stops and I have to restart the container. I'm also running the restart policy.

Same here. I noticed it always happens when it updates itself. Already made a comment a little bit above with error log.

Link to comment
6 minutes ago, ZKWolf said:

Same here. I noticed it always happens when it updates itself. Already made a comment a little bit above with error log.

 

23 minutes ago, Slippin' Jimmy said:

 

Yep. Getting the exact same. Just randomly stops and I have to restart the container. I'm also running the restart policy.

 

26 minutes ago, Tolete said:

Anyone 'cloudflared-tunnel' randomly stop/crashed (not sure which).
I have noticed it couple times now, container has stopped/crashed on its own. start the container starts without any problems after the crash/stop.

 

anyone running it with a restart policy '--restart unless-stopped' ?

 

 

Hey Guys, This seems to be happening when a new release of cloudflared is released (one just came out last night). I believe I addressed this once but I am also being affected by this. I will look over the documentation and will see what I can update to stop this behaviour. Ill reply here when I get around to doing so. In the meantime you will need to manually restart which is annoying and not the long term solution.

 

Thanks

Link to comment

So I did address this before but it seems like somewhere that got reverted. I added the --no-autoupdate flag back to the script. Updating the container should show this line on startup.
 

2023-06-16T16:12:42Z INF Settings: map[no-autoupdate:true token:*****]

 

Hopefully this will stop that issue. I will monitor this behavior on the next release of cloudflared

  • Like 2
Link to comment
1 hour ago, Figro said:

So I did address this before but it seems like somewhere that got reverted. I added the --no-autoupdate flag back to the script. Updating the container should show this line on startup.
 

2023-06-16T16:12:42Z INF Settings: map[no-autoupdate:true token:*****]

 

Hopefully this will stop that issue. I will monitor this behavior on the next release of cloudflared

Thank you.

  • Like 1
Link to comment
  • 2 months later...
On 6/16/2023 at 7:17 AM, Slippin' Jimmy said:

Just an FYI for those having issues, I changed over to CloudflaredTunnel by Cornflake under apps about 2 weeks ago which is using the official cloudflared docker repository, and have had no issues with it.

I've been having issues with the other Cloudflared docker containers and installed the CloudflaredTunnel by Cornflake and got my tunnel up and running quickly and verified on the cloudflare end fo things. However, I can't figure out where to setup ingress rules. In my previous setup, there was a config.yaml file in appdata, but now I'm not seeing that. How do you setup ingress rules with Cornflake's container?

Link to comment
  • 3 weeks later...
On 8/30/2023 at 6:58 PM, jakeortman said:

I've been having issues with the other Cloudflared docker containers and installed the CloudflaredTunnel by Cornflake and got my tunnel up and running quickly and verified on the cloudflare end fo things. However, I can't figure out where to setup ingress rules. In my previous setup, there was a config.yaml file in appdata, but now I'm not seeing that. How do you setup ingress rules with Cornflake's container?

 

I don't make any config changes in any config file etc, I do it all on cloudflare's zero trust dashboard (https://one.dash.cloudflare.com/). It's dead easy.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.