Wallabag

Currently reading
Wallabag

83
52
www.adrianearnshaw.com
NAS
1819+
Router
  1. RT2600ac
  2. MR2200ac
Operating system
  1. Linux
  2. Windows
Mobile operating system
  1. Android
Hi everyone,

I'm trying to spin up an instance of Wallabag but can't seem to get it to link to Mariadb running on port 3306. I'e included my settings below and if anyone has been successful I'd be grateful for any pointers.

I should add that I did get it up and running using sqlite but the reverse proxy wouldn't work. It kept on pointing to my router even though I used the same settings as my bitwarden reverse proxy (obviously using the appropriate port number).
 

Attachments

  • wallabag.png
    wallabag.png
    65.2 KB · Views: 36

Rusty

Moderator
NAS Support
2,856
870
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
Hi everyone,

I'm trying to spin up an instance of Wallabag but can't seem to get it to link to Mariadb running on port 3306. I'e included my settings below and if anyone has been successful I'd be grateful for any pointers.

I should add that I did get it up and running using sqlite but the reverse proxy wouldn't work. It kept on pointing to my router even though I used the same settings as my bitwarden reverse proxy (obviously using the appropriate port number).
Guessing you have configured the Link as well towards your db container considering your are using “db” value as your variable?
 
83
52
www.adrianearnshaw.com
NAS
1819+
Router
  1. RT2600ac
  2. MR2200ac
Operating system
  1. Linux
  2. Windows
Mobile operating system
  1. Android
I already have mariadb running on port 3306 using the Synology package. How would I go about linking the docker container to the Synology package? The containers I already have set up like bookstack and firefly connected without any extra parameters to make a link, if that makes sense.
 

Rusty

Moderator
NAS Support
2,856
870
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
try and set nas ip address as a host value instead of db
 
83
52
www.adrianearnshaw.com
NAS
1819+
Router
  1. RT2600ac
  2. MR2200ac
Operating system
  1. Linux
  2. Windows
Mobile operating system
  1. Android
That didn't work, I tried a few other things to do with the db value like using local and 127.0.0.1 as well as the nas address. I went back to the sqlite version and managed to iron out all the bugs I previously experienced except the reverse proxy.
 

Rusty

Moderator
NAS Support
2,856
870
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
Hmm I have used wallabag about 2y ago without any problem. What image are you running?
 
83
52
www.adrianearnshaw.com
NAS
1819+
Router
  1. RT2600ac
  2. MR2200ac
Operating system
  1. Linux
  2. Windows
Mobile operating system
  1. Android
I'm using the official image Docker Hub I was using Shiori but this is no longer maintained. I should add that I know it must be an environment setting because when I go into the reverse proxy and point wallabag.something.com to another container (bookstack for example) it works.
 

Rusty

Moderator
NAS Support
2,856
870
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
Have you tried to configure its SYMFONY__ENV__DOMAIN_NAME variable to a http://your_nas_ip address and then route that via RP? Do you still land on your router page?

Guessing using FQDN inside your LAN works considering you are using Syno routers, so that's not the problem.
 
83
52
www.adrianearnshaw.com
NAS
1819+
Router
  1. RT2600ac
  2. MR2200ac
Operating system
  1. Linux
  2. Windows
Mobile operating system
  1. Android
Appreciate you trying to debug this with me. I've tried using the NAS address, the NAS address with port number and also the actual web address I will be using. Using the internal IP address works, but the domain wallabag.something.com keeps going to the router. I have a few containers using reverse proxy without issues.
 
If a container is not run with "Use the same Network as Host" enabled, localhost or 172.0.0.1 inside the container is local to the container, which does not allow to access the localhost/127.0.0.1 interface of the host. You will need to use the NAS ip or hostname to access it. Though, i doubt that the default grants for the root user allow it:


Update: seems this was not the case.
 

Rusty

Moderator
NAS Support
2,856
870
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
Appreciate you trying to debug this with me. I've tried using the NAS address, the NAS address with port number and also the actual web address I will be using. Using the internal IP address works, but the domain wallabag.something.com keeps going to the router. I have a few containers using reverse proxy without issues.
This is just a wild idea, but if you are using the default RP ui inside Application portal, try and configure that RP record with websocket parameter. So just add a WebSocket using the Custom header section for that record. Give that a go.

Screenshot 2020-08-15 at 14.13.59.png
 
83
52
www.adrianearnshaw.com
NAS
1819+
Router
  1. RT2600ac
  2. MR2200ac
Operating system
  1. Linux
  2. Windows
Mobile operating system
  1. Android
No dice unfortunately. I did a bit of googling and it seems getting reverse proxy to work for wallabag is an issue for a few people.

I think the best thing I can do is use internal http with port and VPN in on my mobile if I see something to read later. Shame that it will be over http though but should be okay using it through the VPN.
 

Rusty

Moderator
NAS Support
2,856
870
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
No dice unfortunately. I did a bit of googling and it seems getting reverse proxy to work for wallabag is an issue for a few people.

I think the best thing I can do is use internal http with port and VPN in on my mobile if I see something to read later. Shame that it will be over http though but should be okay using it through the VPN.
I’ll try it out later tonight just to see if I will get into same problems. Truth be told I also used it internally but that was just because I didn’t want to have that info exposed to the internet. Will post back
 
83
52
www.adrianearnshaw.com
NAS
1819+
Router
  1. RT2600ac
  2. MR2200ac
Operating system
  1. Linux
  2. Windows
Mobile operating system
  1. Android
I’ll try it out later tonight just to see if I will get into same problems. Truth be told I also used it internally but that was just because I didn’t want to have that info exposed to the internet. Will post back

It's no biggy to have it just on internal but would be interested if you get the same result. Means I haven't completely borked the settings on my NAS :ROFLMAO:
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Trending threads

Top