Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

Syncthing Management page gets redirected

Joined
Mar 3, 2019
Messages
2
Hi guys,

I'm on FreeNAS-11.2-U2.1 with the latest updates to this day.
I have a recently installed jail of Syncthing(version 2 of jails, with iocage)
This used to work since the reboot after the update(yesterday) .
Today I stopped it to add some mount points to it. Then I started it again with no error.
When I open the management page, it redirects me to what it thinks is the FreeNAS login page (FreeNAS is on 192.168.1.150).
http://192.168.1.7/syncthing -> changes to -> http://192.168.1.7/ui/sessions/signin


So I try to investigate:
I log on to the jail (no.6) : jexec 6 csh
ps -aux
shows syncthing and nginx are running:


USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
root 6305 0.0 0.0 6412 2380 - IsJ 17:24 0:00.00 /usr/sbin/syslogd -c -ss
syncthing 6345 0.0 0.0 6388 2072 - IsJ 17:24 0:00.00 daemon: /usr/local/bin/syncthing[6346] (daemon)
syncthing 6346 0.0 0.6 118512 49704 - IJ 17:24 0:00.29 /usr/local/bin/syncthing -home=/usr/local/etc/syncthing -logfile=/var/log/syncthing.log -no-browser
root 6379 0.0 0.0 6464 2396 - IsJ 17:24 0:00.00 /usr/sbin/cron -J 15 -s
syncthing 6405 0.0 0.6 118512 50268 - INJ 17:24 0:02.05 /usr/local/bin/syncthing -home=/usr/local/etc/syncthing -logfile=/var/log/syncthing.log -no-browser
root 7106 0.0 0.1 11608 7052 - IsJ 17:33 0:00.00 nginx: master process /usr/local/sbin/nginx
www 7107 0.0 0.1 11608 7528 - SJ 17:33 0:00.00 nginx: worker process (nginx)
root 7090 0.0 0.0 7488 3900 1 SJ 17:33 0:00.03 csh

Syncthing is also working as I can see it with my local client as being active.
Nginx service is also working and has no error when starting/stoping/restarting.

The jail's log is also error free:

ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib
32-bit compatibility ldconfig path: /usr/lib32
Setting hostname: syncthing.
Creating and/or trimming log files.
Starting syslogd.
Clearing /tmp (X related).
Starting syncthing.
Updating motd:.
Performing sanity check on nginx configuration:
Starting nginx.
Starting cron.

Strange thing is it worked before I stopped it to add the mountpoint and now it doesn't!? (Deleted the mount-point, restarted the jail, rebooted NAS to no avail)
I have other jails that work and behave OK.
Does anyone have a clue what the issue is or point me in the right direction?
Thanks in advance
 
Joined
Mar 6, 2019
Messages
2
Hello guys,
I can confirm this, is happening to me too.
I can't find anything about this in the logs.
 
Joined
Mar 6, 2019
Messages
2
Not yet. It may has something to do with nginx as reverse proxy and the initial config. I'll dig more into it.
 

mrteaiot

Newbie
Joined
Aug 29, 2018
Messages
25
I just start using and installing Syncthing on my new FreeNAS 11.2 UI. I got it to work with mounting points. Then I stop the service and add new mounting point. I restart the Syncthing service with no issue. But when I click the Management, it open up new windows with pages refused/error nothing show up. Any idea why? Seem to be the same problem.
 
Top