I'm running an embedded 64-bit N4F-972 install from USB stick with data on a ZFS mount.
-----------------------------------------------------------------------------------------------------------------------------
BOTH PROBLEMS SOLVED - see bottom of post for details
-----------------------------------------------------------------------------------------------------------------------------
When I install TheBrig as outlined in the 3-step process of the original post (as root over ssh), this worked almost fine.
I did get the following warning from the install script:
Code: Select all
Warning: file(/var/tmp/temporary/conf/ext/thebrig/lang.inc): failed to open stream: No such file or directory in /mnt/pool-1/ds-1/ds-jails/temporary/conf/bin/change_ver.php on line 6
No need updates
You use fresh version
rmdir: temporary: No such file or directory
But after a reboot the WebGUI doesn't show the Extensions menu any more.
I retried the installation and got following output:
Code: Select all
(... more lines...)
x conf/sbin/
x conf/sbin/freebsd-update
x conf/sbin/portsnap
x thebrig_install.sh
Warning: file(/var/tmp/temporary/conf/ext/thebrig/lang.inc): failed to open stream: No such file or directory in /mnt/pool-1/ds-1/ds-jails/temporary/conf/bin/change_ver.php on line 6
You use old thebrig version, we reinstall it
Renaming 64 bit ftp binary
Congratulations! Thebrig updated . Navigate to rudimentary config tab and push Save
rmdir: temporary: No such file or directory
This time the WebGUI didn't even offer the rudimentary configuration (hinting that the previous installation hadn't been removed cleanly?).
And again, after a reboot the WebGUI lost the Extensions entry.
As a third try, I deleted everything in my ds-jails dataset and reinstalled. The install went through with the same warnings but this time I don't get the Extensions menu at all, not even before reboot.
I suppose deleting everything like that was not a very good idea but I didn't see another way to uninstall (because the WebGUI was unavailable). I noticed traces of TheBrig in config.xml and I'm sure there are more in other places that weren't cleanly uninstalled.
Three questions:
1. Why didn't the install work in the first place? Something with paths/directories/perms?
2. What should I clean up to make everything work, and make TheBrig's WebGUI entry persist over reboots?
Any help would be appreciated - thanks!
-----------------------------------------------------------------------------------------------------------------------------
SOLVED:
The first problem must have had to do with permissions. My ds-jails dataset had no rwx rights for "other".
With those rights theBrig installed fine. I still wonder what the best permissions setting might be (most secure setting that still works). Maybe I can tighten
them back down now installation's finished? Answers still appreciated!
The WebGUI entry not appearing after reboot was funny: theBrig is launched by a postInit-script entry that apparently works only of it's first in the list of entries (I have another script running). When I interchanged the two scripts they both started fine.






