Question yourls (Docker) too many redirects?

Currently reading
Question yourls (Docker) too many redirects?

1,477
640
NAS
DS220+ : DS1019+ : DS216+II : DS118 : DS120j : APC Back UPS ES 700 — Mac/iOS user
I moved to yourls now that MySQL is up and running.
I think the connection to MySQL is ok.

Now when I try to access yourls
192.168.8.70:8765/admin

I get a “too many redirects...” message on the browser page. It seems that it goes on a loop of redirects before the browser terminates it.

5A368955-3CFF-4F8F-BC0B-01AA57C702E3.jpeg

On yourls log I have the following (which I believe where the problem is), followed by all the redirects before it terminates.

[autoindex:error] [pid 26] [client 172.17.0.1:50520] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.php,index.html) found, and server-generated directory index forbidden by Options directive
 

Rusty

Moderator
NAS Support
2,393
709
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
could be a problem with permissions on your folder that points to the /var/www/html/ destination. How does your volume look like? Also, have you setup YOURLS_SITE varaible?
 
1,477
640
NAS
DS220+ : DS1019+ : DS216+II : DS118 : DS120j : APC Back UPS ES 700 — Mac/iOS user
Thanks @Rusty

I deleted the yourls container and reinstalled it again. Now it’s only the redirects. Tried different machines and browsers. Same thing!

Bottom to top
EB5C6D7D-1800-4383-AF95-B8281BBDFAC1.jpeg

I have a YOURLS_SITE identified
D578B0B3-5355-49A4-87FB-77EC97E53A5B.jpeg
 
1,477
640
NAS
DS220+ : DS1019+ : DS216+II : DS118 : DS120j : APC Back UPS ES 700 — Mac/iOS user
This wicked Docker thing reminds me of the wicked milk chalice. I can’t get a grip on it 🤣

 

Rusty

Moderator
NAS Support
2,393
709
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
Thanks @Rusty

I deleted the yourls container and reinstalled it again. Now it’s only the redirects. Tried different machines and browsers. Same thing!

Bottom to top
View attachment 1848

I have a YOURLS_SITE identified
View attachment 1849
Sorry for the late reply... Mondays am I right?

So this happens when usinghttp://ipaddress : port/admin?
 
1,477
640
NAS
DS220+ : DS1019+ : DS216+II : DS118 : DS120j : APC Back UPS ES 700 — Mac/iOS user
Sorry for the late reply... Mondays am I right?
Don’t worry about it at all.

So this happens when usinghttp://ipaddress : port/admin?
Correct. In my case:
http://192.168.8.70:8765/admin

If I use http://192.168.8.70:8765
It says something like “you’re not authorized to access this…”
 

Rusty

Moderator
NAS Support
2,393
709
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
1,477
640
NAS
DS220+ : DS1019+ : DS216+II : DS118 : DS120j : APC Back UPS ES 700 — Mac/iOS user
I will have to have a look on their git if there is anything on this error and general 3xx errors. Not sure why redirects are happening. It works for me without any problem using the IP of FQDN... not sure what to say here atm.
Thanks. Don’t waste your time. I’m doing this on the 1019, it’s not yet in production. I can wipe the whole system (or Docker) and reinstall and see. Don’t know when though. Will update.
 

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!

Similar threads

Similar threads

Trending threads

Top