Your ROOT_URL in app.ini is unix://git.lalonde.me:3000/ but you are visiting https://git.lalonde.me/matth/subgraph-oz/commit/ed1df1a76181f59c7d6d9fd3e9a915f636dfcce1?style=split&whitespace=ignore-change
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
5 additions and
7 deletions
@ -75,9 +75,7 @@ func createInitCommand(name, chroot string, uid uint32, display int, stn *networ
cmd . Env = append ( cmd . Env , "INIT_GATEWAY=" + stn . Gateway . String ( ) + "/" + stn . Class )
cmd . Env = append ( cmd . Env , "INIT_GATEWAY=" + stn . Gateway . String ( ) + "/" + stn . Class )
}
}
if display > 0 {
cmd . Env = append ( cmd . Env , fmt . Sprintf ( "INIT_DISPLAY=%d" , display ) )
cmd . Env = append ( cmd . Env , fmt . Sprintf ( "INIT_DISPLAY=%d" , display ) )
}
return cmd
return cmd
}
}
@ -162,10 +162,10 @@ func (st *initState) runInit() {
oz . ReapChildProcs ( st . log , st . handleChildExit )
oz . ReapChildProcs ( st . log , st . handleChildExit )
if st . profile . XServer . Enabled {
if st . profile . XServer . Enabled {
if st . display == 0 {
//if st.display == 0 {
st . log . Error ( "Cannot start xpra because no display number was passed to oz-init" )
// st.log.Error("Cannot start xpra because no display number was passed to oz-init")
os . Exit ( 1 )
// os.Exit(1)
}
//}
st . xpraReady . Add ( 1 )
st . xpraReady . Add ( 1 )
st . startXpraServer ( )
st . startXpraServer ( )
}
}