bug in trunk branch?

Status
Not open for further replies.

shen390s

Cadet
Joined
Dec 13, 2011
Messages
3
According the code, it seems that:
if [ "${LIGHTTPD}" = 1]; then
...
fi
should be used to check whether lighttpd has been turn on, but current code with:
if [ "${LIGHTTPD}" = yes]; then
...
fi
it will cause web GUI fail to run

Index: nanobsd/freenas-common
===================================================================
--- nanobsd/freenas-common (revision 9080)
+++ nanobsd/freenas-common (working copy)
@@ -123,7 +123,7 @@
add_port databases/py-south
add_port devel/py-asn1
add_port devel/py-asn1-modules
-if [ "${LIGHTTPD}" = yes ]; then
+if [ "${LIGHTTPD}" = 1 ]; then
#+add_port www/lighttpd
add_port www/spawn-fcgi
#-add_port www/lighttpd
 

zhu357115962

Cadet
Joined
Dec 14, 2011
Messages
5
It seems that I have the same problem,the iso I create install on the VM,I can't log the web when the freenas starts.but I don't know how to debug.I don't understand the words you posted.dose it mean that try to fix the bug?
 

shen390s

Cadet
Joined
Dec 13, 2011
Messages
3
According SVN code change it seems that FreeNAS will switch to nginx.
You can update the code tree and rebuilt iso to upgrade again
 

zhu357115962

Cadet
Joined
Dec 14, 2011
Messages
5
According SVN code change it seems that FreeNAS will switch to nginx.
You can update the code tree and rebuilt iso to upgrade again
thank you , I just enforce add_port lighttpd as you pointed,and I can log in the web finalliy ,I'll try to update the trunk!
 
G

gcooper

Guest
I fixed that typo I created a while ago; unfortunately everyone else on the dev team took is as a sign to start the great nginx migration / lighttpd purge -_-....
 
Status
Not open for further replies.
Top