Open rod2ik opened 2 years ago
@rod2ik Interestingly we've had a post on Arch in the forums that was updated just recently: https://forums.fogproject.org/topic/15594/got-arch-manjaro-install-to-work
We are very happy to make this work on Manjaro and Arch but it'd be very handy to have exact information on what needs to be changed. Best if you can send in a pull request (against dev-branch
not master
) or post a git diff
output for us to include.
The following config lines have changed (between PHP7 and PHP8) in the /etc/httpd/conf/httpd.conf apache config file, to run apache with PHP8 on Archlinux (and Manjaro Linux).
We are talking about this part of the installer I guess: https://github.com/FOGProject/fogproject/blob/dev-branch/lib/common/functions.sh#L2107
If you're unable to send in a pull request of diff you might send us a default httpd.conf before adjustments.
I had to add a line export PATH=$PATH:/usr/sbin in my .bashrc root file to launch the install script on Manjaro Linux: otherwise the script won't launch.
I know the check on PATH
in the installer is not ideal to see if people use a proper root environment. If you have other ideas on how to make sure, I am happy to know about it. In the past we had people use sudo ./installfog.sh
or su
instead of su -
and ran into strange problems. Therefore we added the check at some point.
@rod2ik Please help us with some more details.
Thanks for your reply. I will take some spare time to try to give you the best answer ASAP
@rod2ik Hope you had a good start to the new year. Any news on this issue?
I just got my act together and tried to find most references we have to FOG supporting Arch Linux.
https://forums.fogproject.org/topic/1697/install-fog-on-arch-linux https://forums.fogproject.org/topic/6522/latest-git-fails-during-install-on-arch-linux
As well I am trying to reach out to all the people being involved with in the past: @dfear @mastacontrola @gfokkema @jonbesga @ase1590 @wayneworkman @rod2ik
Is anyone of you still using FOG on Arch Linux? And if yes, then is anyone of you keen and able to help update the code (mainly bash installer scripts)?
Might sound a bit harsh but Arch support will be removed from the code if we don't find anyone to work on this part. We won't purge github history so if someone comes along later we can still get things back without much effort. So if we don't hear back from anyone taking the lead within the next two weeks on this we'll remove Arch support.
I've retired my FOG Arch server after a career change.
I'd say I agree, dropping arch support for the time being unless someone else wants to stop in would be the right move.
@ase1590 Thanks for your quick response.
I just figured I should ask in the forums as well before finally tossing it out: https://forums.fogproject.org/topic/15591/arch-manjaro-install-database-and-web-fails
So there is a last chance here we find someone willing to help on the ARCH support.
Hello,
Thanks for this wonderful software.
I am having problems to install your script with PHP 8 on Manjaro Linux, which should globally be similar to ArchLinux, I would say (I don't think it is the Manjaro specificity that causes problems, but the PHP8 part of it)
Could you please be of any help? may be adapt your script ?
(Adapting your install notes for Archlinux), I had to add a line
export PATH=$PATH:/usr/sbin
in my.bashrc
root file to launch the install script on Manjaro Linux: otherwise the script won't launch.But afterwards it works fine until it fails to enable the web services, since PHP8. May be the same problem exists in the ArchLinux install, with PHP8 as well ?
The following config lines have changed (between PHP7 and PHP8) in the
/etc/httpd/conf/httpd.conf
apache config file, to run apache with PHP8 on Archlinux (and Manjaro Linux). I think they are the main cause of the failing of the script (but I may be wrong, you know better than me):Alternatively, you could guide me through what has to be changed/adapted for PHP8 and Manjaro Linux? (/PHP8+Archlinux ?)
Thanks very much for any reply,