Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] Mainfrezzer - Docker Repo

Featured Replies

How can I run this in bridge mode? 

 

8834387b94b9323278b34119aa850666e2dc4a483f54bac6ac886ccf7716aa7a
docker: Error response from daemon: driver failed programming external connectivity on endpoint AdGuard-Home-Unbound (5384ba01eda962128f8b6d4653fd5feeccd5e72636b884b305f52dbabd172e01): failed to bind port 0.0.0.0:53/tcp: Error starting userland proxy: listen tcp4 0.0.0.0:53: bind: address already in use.

The command failed.

 

Screenshot 2025-01-10 094419.png

Edited by kri kri

  • Replies 291
  • Views 42.6k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Mainfrezzer
    Mainfrezzer

    Im pretty sure that i solved the issue now. At least my tests with a cloudflare tunnel were successfull. i also tested nginx. in case its still not working, add the cloudflare ips to the trusted

  • Mainfrezzer
    Mainfrezzer

    Thats great, good to hear. What i got from the docs is that unbound itself is managing they keyfile as long as unbound is up and updates it correctly (from what ive seen it creates new subkeys) a

  • frank_alex92
    frank_alex92

    the newly created container did the waiting for logs -> sleep thing again. i then changed the global share settings according to your screenshot and restarted everything. it did a little download

Posted Images

  • Author
45 minutes ago, kri kri said:

How can I run this in bridge mode? 

 

8834387b94b9323278b34119aa850666e2dc4a483f54bac6ac886ccf7716aa7a
docker: Error response from daemon: driver failed programming external connectivity on endpoint AdGuard-Home-Unbound (5384ba01eda962128f8b6d4653fd5feeccd5e72636b884b305f52dbabd172e01): failed to bind port 0.0.0.0:53/tcp: Error starting userland proxy: listen tcp4 0.0.0.0:53: bind: address already in use.

The command failed.

 

Screenshot 2025-01-10 094419.png

If you really want to run this in bridge mode, you have to disable the VM Service

Edit: I mean, unless you actually dont use regular dns requests, which i highly doubt. But if thats the case, just change the port 53. But otherwise, 53 is the default for all regular dns requests and the VM Manager occupies that port already.

Edited by Mainfrezzer

How would you run it?

  • Author
5 minutes ago, kri kri said:

How would you run it?

on br0/eth0 with its own ip

Hello. I have a problem. The wing and panel are not communicating, but the wing and panel are working.
Here is a wing log:

 INFO: [Jan 11 13:47:04.316] writing log files to disk path=/var/log/pelican/wings.log
 INFO: [Jan 11 13:47:04.317] loading configuration from file config_file=/etc/pelican/config.yml
 INFO: [Jan 11 13:47:04.322] configured wings with system timezone timezone=Europe/Athens
 INFO: [Jan 11 13:47:04.322] configured system user successfully gid=100 uid=99 username=nobody
 INFO: [Jan 11 13:47:04.323] fetching list of servers from API
 INFO: [Jan 11 13:47:04.442] processing servers returned by the API total_configs=0
 INFO: [Jan 11 13:47:04.442] finished processing server configurations duration=57.574µs
 INFO: [Jan 11 13:47:04.443] configuring system crons  interval=1m0s subsystem=cron
 INFO: [Jan 11 13:47:04.443] starting cron processes   subsystem=cron
 INFO: [Jan 11 13:47:04.443] updating server states on Panel: marking installing/restoring servers as normal
 INFO: [Jan 11 13:47:04.443] configuring internal webserver host_address=0.0.0.0 host_port=8002 use_auto_tls=false use_ssl=false
 INFO: [Jan 11 13:47:04.444] sftp server listening for connections listen=0.0.0.0:2022 public_key=XXXXXX
 INFO: [Jan 11 14:02:45.081] writing log files to disk path=/var/log/pelican/wings.log
 INFO: [Jan 11 14:02:45.081] loading configuration from file config_file=/etc/pelican/config.yml
 INFO: [Jan 11 14:02:45.086] configured wings with system timezone timezone=Europe/Athens
 INFO: [Jan 11 14:02:45.087] configured system user successfully gid=100 uid=99 username=nobody
 INFO: [Jan 11 14:02:45.088] fetching list of servers from API
 INFO: [Jan 11 14:02:47.597] processing servers returned by the API total_configs=0
 INFO: [Jan 11 14:02:47.598] finished processing server configurations duration=65.81µs
 INFO: [Jan 11 14:02:47.599] configuring system crons  interval=1m0s subsystem=cron
 INFO: [Jan 11 14:02:47.599] starting cron processes   subsystem=cron
 INFO: [Jan 11 14:02:47.599] updating server states on Panel: marking installing/restoring servers as normal
 INFO: [Jan 11 14:02:47.600] configuring internal webserver host_address=0.0.0.0 host_port=8002 use_auto_tls=false use_ssl=false
 INFO: [Jan 11 14:02:47.601] sftp server listening for connections listen=0.0.0.0:2022 public_key=XXXXXX


Here is my wing setup

image.thumb.png.bf54946e3ff23c3124bb2c4d7fe974ec.pngConfig:

image.png.0f1fa823c454891a74ac54cf677e119b.png
I have no idea why it's not working

Edited by albatraus

  • Author
1 hour ago, albatraus said:

Hello. I have a problem. The wing and panel are not communicating, but the wing and panel are working.
Here is a wing log:

 INFO: [Jan 11 13:47:04.316] writing log files to disk path=/var/log/pelican/wings.log
 INFO: [Jan 11 13:47:04.317] loading configuration from file config_file=/etc/pelican/config.yml
 INFO: [Jan 11 13:47:04.322] configured wings with system timezone timezone=Europe/Athens
 INFO: [Jan 11 13:47:04.322] configured system user successfully gid=100 uid=99 username=nobody
 INFO: [Jan 11 13:47:04.323] fetching list of servers from API
 INFO: [Jan 11 13:47:04.442] processing servers returned by the API total_configs=0
 INFO: [Jan 11 13:47:04.442] finished processing server configurations duration=57.574µs
 INFO: [Jan 11 13:47:04.443] configuring system crons  interval=1m0s subsystem=cron
 INFO: [Jan 11 13:47:04.443] starting cron processes   subsystem=cron
 INFO: [Jan 11 13:47:04.443] updating server states on Panel: marking installing/restoring servers as normal
 INFO: [Jan 11 13:47:04.443] configuring internal webserver host_address=0.0.0.0 host_port=8002 use_auto_tls=false use_ssl=false
 INFO: [Jan 11 13:47:04.444] sftp server listening for connections listen=0.0.0.0:2022 public_key=XXXXXX
 INFO: [Jan 11 14:02:45.081] writing log files to disk path=/var/log/pelican/wings.log
 INFO: [Jan 11 14:02:45.081] loading configuration from file config_file=/etc/pelican/config.yml
 INFO: [Jan 11 14:02:45.086] configured wings with system timezone timezone=Europe/Athens
 INFO: [Jan 11 14:02:45.087] configured system user successfully gid=100 uid=99 username=nobody
 INFO: [Jan 11 14:02:45.088] fetching list of servers from API
 INFO: [Jan 11 14:02:47.597] processing servers returned by the API total_configs=0
 INFO: [Jan 11 14:02:47.598] finished processing server configurations duration=65.81µs
 INFO: [Jan 11 14:02:47.599] configuring system crons  interval=1m0s subsystem=cron
 INFO: [Jan 11 14:02:47.599] starting cron processes   subsystem=cron
 INFO: [Jan 11 14:02:47.599] updating server states on Panel: marking installing/restoring servers as normal
 INFO: [Jan 11 14:02:47.600] configuring internal webserver host_address=0.0.0.0 host_port=8002 use_auto_tls=false use_ssl=false
 INFO: [Jan 11 14:02:47.601] sftp server listening for connections listen=0.0.0.0:2022 public_key=XXXXXX


Here is my wing setup

image.thumb.png.bf54946e3ff23c3124bb2c4d7fe974ec.pngConfig:

image.png.0f1fa823c454891a74ac54cf677e119b.png
I have no idea why it's not working

Does the website for the Wing panel display anything when you visit it?

i.e.
Example2.PNG.bff6a57a1ea42bb4df9cb485e8f

if you do not see that message, then your forwarding/proxying is off.

Since i dont know how you have your reverse proxy setup, i can only guess that youre maybe missing the correct port export in the template.

The default thats set is 8080, so in your case, you would have to add a new port mapping on 8002 in the container.

ports.PNG.b965604bf9f50ca29fe699a1a2167f8f.PNG

I just needed to change the container port to get it to work. I guess i had same issue with pterodactyl set up. Because before this i tried to get it work. Thank you so much!

  • 5 weeks later...

Mysql-client is not installed on the container, if you can update the docker so it will stop mysql erros. :)

 

image.thumb.png.21a166bd9da56a8ec0acb3f97601a4b8.png

@Mainfrezzer should the beta `pelican-panel:latest` image be working? i have a fresh install and i cant access /installer. `502 Bad Gateway`.

I can run the installer using the tag `pelican-dev/panel:latest`

  • Author
4 minutes ago, KeyBoardDabbler said:

@Mainfrezzer should the beta `pelican-panel:latest` image be working? i have a fresh install and i cant access /installer. `502 Bad Gateway`.

I can run the installer using the tag `pelican-dev/panel:latest`

How do you access that?

Did you keep the reverse proxy mapping?

42 minutes ago, Mainfrezzer said:

How do you access that?

Did you keep the reverse proxy mapping?

on the original image i removed the proxy mapping, this worked with no issue. I have also had it running behind SWAG.

The new image I've tried many different combinations but cant access the webUI. 

  • Author
2 hours ago, KeyBoardDabbler said:

on the original image i removed the proxy mapping, this worked with no issue. I have also had it running behind SWAG.

The new image I've tried many different combinations but cant access the webUI. 

Mind sharing how you set it up? Template settings of pelican and how you setup your reverse proxy to access it.

ive tried here a couple things and i cant replicate it, apart from the wonky too many redirect thing.

9 hours ago, Mainfrezzer said:

Mind sharing how you set it up? Template settings of pelican and how you setup your reverse proxy to access it.

ive tried here a couple things and i cant replicate it, apart from the wonky too many redirect thing.


I tried accessing the local IP without being behind the reverse proxy, for this i removed the Proxy Workaround. However this failed to load. I then replicated my working setup on the original image but this failed to load as well. 

Original image
I have a Cloudflare Tunnel pointing to the SWAG container, this forwards traffic to the IP:Port of the panel container and is accessible at the APP_URL.
panelDevScreenshot2025-02-15093418.thumb.png.30fb78bd1acb69daf405fea6ce349361.png

panellogScreenshot2025-02-15093600.png.fc4ce2271ac15c6baf22f4655b9f5846.png

 

Beta image seems to not get passed the NGINX step.
newpanelScreenshot2025-02-15095408.thumb.png.3be750b65eacc63d54319c5f6a174e3d.png

newpanellogScreenshot2025-02-15094610.png.c671735e3ca623d08d90b9b323c1e7ec.png

ngnixScreenshot2025-02-15095557.thumb.png.720563885c215253ce4da35c415f21a3.png

502Screenshot2025-02-15094700.png.2db5fe611d0394df133bb23e34f2c27c.png

  

Very strange, I have not changed anything since my post and I can now access local and APP URL on beta image.


newpanellogScreenshot2025-02-15094610.png.5ac1b3d16cbfb22c947c4f73aa7940e5.png

 

Restarted the container and it hangs at the NGINX step again, unable to access web panel.

 

logpaanelScreenshot2025-02-15102912.png.ad3f078f3570d1bc6727589bea5d0b14.png

Edited by KeyBoardDabbler

  • Author
9 minutes ago, KeyBoardDabbler said:


I tried accessing the local IP without being behind the reverse proxy, for this i removed the Proxy Workaround. However this failed to load. I then replicated my working setup on the original image but this failed to load as well. 

Original image
I have a Cloudflare Tunnel pointing to the SWAG container, this forwards traffic to the IP:Port of the panel container and is accessible at the APP_URL.
panelDevScreenshot2025-02-15093418.thumb.png.30fb78bd1acb69daf405fea6ce349361.png

panellogScreenshot2025-02-15093600.png.fc4ce2271ac15c6baf22f4655b9f5846.png

 

Beta image seems to not get passed the NGINX step.
newpanelScreenshot2025-02-15095408.thumb.png.3be750b65eacc63d54319c5f6a174e3d.png

newpanellogScreenshot2025-02-15094610.png.c671735e3ca623d08d90b9b323c1e7ec.png

ngnixScreenshot2025-02-15095557.thumb.png.720563885c215253ce4da35c415f21a3.png

502Screenshot2025-02-15094700.png.2db5fe611d0394df133bb23e34f2c27c.png

  

The "beta" image, is the image i build^^
Both are beta.
My container, i.e. mainfrezzer-pelican-panel, you have to wait a tat longer. It runs chown at startup as a fix for permissions in it that prevents the error 500 that pops up. Its done with that when supervisord pops up. (can depend on disk speed)


The issue with the official image ill have to check out. I wouldnt be surprised if this is an issue specifially with caddy (not the first issue caddy has, thats why i use nginx)
 

23 minutes ago, Mainfrezzer said:

The "beta" image, is the image i build^^
Both are beta.
My container, i.e. mainfrezzer-pelican-panel, you have to wait a tat longer. It runs chown at startup as a fix for permissions in it that prevents the error 500 that pops up. Its done with that when supervisord pops up. (can depend on disk speed)


The issue with the official image ill have to check out. I wouldnt be surprised if this is an issue specifially with caddy (not the first issue caddy has, thats why i use nginx)
 


That makes sense now, i appreciate your input. Can confirm the error 500 has not popped up yet either..

Regarding the wings image, do i need to change the port from 8080 to 8433 if going through Cloudflare. DNS check is valid but health check is unable to connect.

statusScreenshot2025-02-15105121.thumb.png.be6a74159e26c84c1238d21e18084bf4.png

nodeScreenshot2025-02-15105157.thumb.png.dfcc4717aa869387e82d327af8beb734.png

apiScreenshot2025-02-15105300.png.229d1499f879b22115766cdedbab0f88.png

Edited by KeyBoardDabbler

  • Author
3 minutes ago, KeyBoardDabbler said:


That makes sense now, i appreciate your input. Can confirm the error 500 has not popped up yet either..

Regarding the wings image, do i need to change the port from 8080 to 8433 if going through Cloudflare. DNS check is valid but health check is unable to connect.

For the config.yml itself, you have to change it to whatever is running inside the container and is mapped to the outside.

I.e. by default the config yaml inside the wings appdata folder should have 8080


the cloudflare thing is only a webgui thing, i didnt test the wing with cloudflare, so its either 443 or 8443

7 minutes ago, Mainfrezzer said:

the cloudflare thing is only a webgui thing, i didnt test the wing with cloudflare, so its either 443 or 8443


while making sure i stopped the container and updated the config.yml, i have tried 8080, 433 and 8443 with no luck. I also changed this on the template and nginx to match.

  • Author
3 minutes ago, KeyBoardDabbler said:


while making sure i stopped the container and updated the config.yml, i have tried 8080, 433 and 8443 with no luck. I also changed this on the template and nginx to match.

I would recommend putting SSL: to false in the config ;) should have complained about missing certs in the log

3 minutes ago, Mainfrezzer said:

I would recommend putting SSL: to false in the config ;) should have complained about missing certs in the log

I included the certs in the correct path to prevent the fatal error. Unfortunately this does not help and still unable to get a healthy status.

  • Author
29 minutes ago, KeyBoardDabbler said:

I included the certs in the correct path to prevent the fatal error. Unfortunately this does not help and still unable to get a healthy status.

What a convoluted way to provide certs and then also reverse proxy. That said, i honestly have no clue if native https works on the wings, never tested it. 

also, i can conclude. its working fine with cloudflare tunnels on 443

wing template
wing.PNG.4b2e88c632cd00c8a1589e7155332380.PNG

 

 

wing2.PNG.f16bbd0c54e6fcf7ce9f1933b9d1ef6b.PNG

 

Webpanel settings

panelsettings.thumb.PNG.2e651e141948cc651fa6fa51bd3e94be.PNG

Result

panelsettings2.PNG.83975cc8cf6c899de4085bafe8e217e6.PNG


Im gonna resume trying to re-create your error 502 double reverse proxy issue now^^

@KeyBoardDabbler im pretty sure the 502 is a swag issue. 


ive encountered this issue once before with nginx

image.png.94a6bc8b7dcdc203bdcbbfa1978a5005.png

the proxy_pass uses variables and malforms the request. When change the proxy_pass to the proper written out "http://10.0.80.20:80" then it worked.


Edit: The odd thing was, i even only used swag to go one hop. All i tried to access with it was 192.168.2.2:800 and gave me a 502, while being able to curl it.
then i tried my unraid server it failed too.

After changing it back to variables, it seems to work again. But no clue why, maybe cache. who knows


Edit: heres the malform issue mentioned https://github.com/NginxProxyManager/nginx-proxy-manager/issues/4102

Edited by Mainfrezzer
added missing config.yml picture

15 minutes ago, Mainfrezzer said:

also, i can conclude. its working fine with cloudflare tunnels on 443


I have the same settings, although the Cloudflare tunnel points to swag and it doesn't communicate. I will try connecting the tunnel straight to the wings container.

  • Author
7 minutes ago, KeyBoardDabbler said:


I have the same settings, although the Cloudflare tunnel points to swag and it doesn't communicate. I will try connecting the tunnel straight to the wings container.

That reminds me, in nginx, you need to set something if you want to access ssl pages through the proxy 

proxy_ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
proxy_ssl_server_name on;

one of those 2 it was


im pretty sure, cloudflare has something similar for the proxied pages, but no clue on tunnels


Edit: to check if the wing is properly working

curl -L ADDRESSOFWING
curl should say:
{"error":"The required authorization heads were not present in the request."}
when its working

Edited by Mainfrezzer

14 minutes ago, Mainfrezzer said:

That reminds me, in nginx, you need to set something if you want to access ssl pages through the proxy 

proxy_ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
proxy_ssl_server_name on;

one of those 2 it was


im pretty sure, cloudflare has something similar for the proxies pages, but no clue on tunnels


I found ssl_protocols but not proxy_ssl_protocols. I also tried connecting the tunnel direct to the container instead of going through swag with no luck.
You mentioned "its working fine with cloudflare tunnels on 443" but your template is using 8080?


Screenshot2025-02-15114925.thumb.png.a436fd089edd72257780113cb18f0486.pngScreenshot2025-02-15115034.png.37662aad7d937b6090343cef5d895acb.pngScreenshot2025-02-15115119.thumb.png.90c5b6ce5ae247b0ed9c144f6b4270c2.pngScreenshot2025-02-15115310.thumb.png.d6873fee713e177a3da5c1f3970c24f8.pngScreenshot2025-02-15115604.png.90510336518457734596864a8a75cca6.pngScreenshot2025-02-15115809.thumb.png.d50f007a629d0b0751b48ae1ef15a05f.png

  • Author
12 minutes ago, KeyBoardDabbler said:


I found ssl_protocols but not proxy_ssl_protocols. I also tried connecting the tunnel direct to the container instead of going through swag with no luck.
You mentioned "its working fine with cloudflare tunnels on 443" but your template is using 8080?


Screenshot2025-02-15114925.thumb.png.a436fd089edd72257780113cb18f0486.pngScreenshot2025-02-15115034.png.37662aad7d937b6090343cef5d895acb.pngScreenshot2025-02-15115119.thumb.png.90c5b6ce5ae247b0ed9c144f6b4270c2.pngScreenshot2025-02-15115310.thumb.png.d6873fee713e177a3da5c1f3970c24f8.pngScreenshot2025-02-15115604.png.90510336518457734596864a8a75cca6.pngScreenshot2025-02-15115809.thumb.png.d50f007a629d0b0751b48ae1ef15a05f.png



The container itself uses 8080. Because 8080 is forwarded to unraid.

The cloudflare tunnel is directed to redirect wing.magnon.ovh to 172.17.0.1:8080

Anyone who wants to access https://wing.magnon.ovh is automatically directed to port 443, because its the default port.

Its detached. Everything that is in the container, stays in the container. 

No matter what you change the template to, if its 3888, 47578 or 30000. As long as the template say, image.png.6f95bd1d9ecb8f2ca93ae220952f9bff.png it stays Port 8080.

What the cloudflare tunnel(or any proxy) is pointing to, is whatever you set here image.png.8f4b85083edf5bfc597ed105635b59a6.png

And the webgui will use the default 443(since it worked)


Edit: If you dont use Unraid as the target, ie either lan ip or the internal docker host 172.17.0.1 its whatever the container port is period. if the container is running on the bridge with 172.17.0.20. its 172.17.0.20:8080

unless you did change the port in the config.yml, then its 172.17.0.20:Whatevertheconfig.yml says

Edited by Mainfrezzer

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.