Foreman GUI wont load

OK, so i have Foreman 1.8.2 running within a Debian 7.9 LXC guest and I
back it up every 4 hours using a block level backup method. I was not doing
database dumps though on a regular basis like i should have. Anyway,
yesterday I made a few mistakes and wanted to restore the whole LXC guest
from backup so that i could go back to a fully working system without all
the system changes i had performed. I renamed the old lxc guest, restored
from backup and noticed right away that postgres was not working correctly
and that I had to run /usr/lib/postgresql/9.1/bin/pg_resetxlog -f
/var/lib/postgresql/9.1/main as the postgres user to get it going again.
Ok, cool, got that fixed. Now when I try to access the web gui, the page
just sits there forever and the page never loads. Restarting apache doesnt
make a different, rebooting the entire guest doesnt help either. Im not
getting any apache log entries that show problems as well. Any suggestions
on what I can do to at least start getting errors or how to resolve this in
general? Thanks!

Nevermind. it was a corrupt database. resolved.

··· On Sat, Oct 24, 2015 at 6:48 PM, Mark Chaney wrote:

OK, so i have Foreman 1.8.2 running within a Debian 7.9 LXC guest and I
back it up every 4 hours using a block level backup method. I was not doing
database dumps though on a regular basis like i should have. Anyway,
yesterday I made a few mistakes and wanted to restore the whole LXC guest
from backup so that i could go back to a fully working system without all
the system changes i had performed. I renamed the old lxc guest, restored
from backup and noticed right away that postgres was not working correctly
and that I had to run /usr/lib/postgresql/9.1/bin/pg_resetxlog -f
/var/lib/postgresql/9.1/main as the postgres user to get it going again.
Ok, cool, got that fixed. Now when I try to access the web gui, the page
just sits there forever and the page never loads. Restarting apache doesnt
make a different, rebooting the entire guest doesnt help either. Im not
getting any apache log entries that show problems as well. Any suggestions
on what I can do to at least start getting errors or how to resolve this in
general? Thanks!


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.