Opened 3 years ago
Last modified 6 months ago
#2628 reopened task
Trac can't log in when ipv6 is enabled on nginx — at Version 2
Reported by: | robe | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | Sysadmin Contract 2024-I |
Component: | SysAdmin | Keywords: | |
Cc: |
Description (last modified by )
This is to log an issue that happens whenever nginx container is rebooted.
I haven't found a good work around for this.
There are two issues here:
1) Can't get it so on restart nginx doesn't start with ipv6 enabled. So after reboot I need to do this in the osgeo7 nginx container
This I have in the sysctl config to disable ipv6 so just reloading the contif works
sysctl -p
2) Trac hates ipv6 for some reason (perhaps the newer trac won't). Gitea works fine with ipv6 enabled, but trac does not.
This last time even though nginx wasn't registering an ipv6 address (or I thought it wasn't), for some reason tracsvn still did not work.
Not sure which sequence of steps did it:
1) Did service reboot on trac, but it wouldn't start up so I had to manually start it with
lxc start tracsvn
It complained the IP was in use, so I did it again and second time it came up (might have just been on it's way up.
But then when I checked the containers with
lxc list
I could see the nginx now had an ipv6 (maybe I was imaging things before that it didn't).
So I logged into nginx
lxc exec nginx
sysctl -p systemctl nginx reload
and that seemed to fix tracsvn session issue
Change History (2)
comment:1 by , 3 years ago
comment:2 by , 3 years ago
Description: | modified (diff) |
---|
I just had to run
sysctl -p
once again, as trac was again broken this morning