Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install FOG Server 1.5.10.47 #602

Closed
abotzung opened this issue Aug 3, 2024 · 4 comments
Closed

Unable to install FOG Server 1.5.10.47 #602

abotzung opened this issue Aug 3, 2024 · 4 comments

Comments

@abotzung
Copy link

abotzung commented Aug 3, 2024

Hello,

Describe the bug
I'm unable to install FOG Server on a fresh Debian installation.

To Reproduce
Steps to reproduce the behavior:

  1. Download and install Debian 12.6
  2. Install FOG from dev-branch

Expected behavior
Installer proceed to install FOG.

Current behavior

(...)
 * Resetting SSL Permissions...................................OK
 * Setting up Apache virtual host (SSL)........................OK
 * Starting and checking status of web services................OK
 * Changing permissions on apache log files....................chmod: impossible d'accéder à '/var/www/fog//fog_login_*.log': Aucun fichier ou dossier de ce type
Failed!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! The installer was not able to run all the way to the end as   !!
!! something has caused it to fail. The following few lines are  !!
!! from the error log file which might help us figure out what's !!
!! wrong. Please add this information when reporting an error.   !!
!! As well you might want to take a look at the full error log   !!
!! in /root/fogproject-dev-branch/bin/error_logs/fog_error_1.5.10.47.log !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

             ├─18918 "php-fpm: pool www"
             └─18919 "php-fpm: pool www"

août 03 02:53:52 fogserver systemd[1]: Starting php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager...

Software (please complete the following information):

  • FOG version (dev-branch/latest)
  • OS: Debian 12.6

Additional context
I think the error comes from the last commit :

chmod 0200 $webdirdest/fog_login_*.log

In a fresh install, theses files "fog_login_*.log" dosent exist yet, so the install will fail.
A workaround, is to create dummy files just before the line :

    (...)
    chmod +rx $apacheacclog
    chown -R ${apacheuser}:${apacheuser} $webdirdest
    touch $webdirdest/fog_login_accepted.log
    touch $webdirdest/fog_login_failed.log
    chmod 0200 $webdirdest/fog_login_*.log
    errorStat $?
    (...)

Also, this installation also failing on stable branch, and working1.6.
All builds for turnkey-fogserver (https://foguefi.botzung.fr/fog/) fails with the same error :
image
image

Cheers,
Alexandre

@asivre02
Copy link

asivre02 commented Aug 3, 2024

Hello,

do you have solution on that problem???

@mastacontrola
Copy link
Member

I just pushed 2 changes, both of which should address this issue. Please pull dev-branch again (you'll see it says 1.5.10.47.0 is the version, or 1.6.0-beta.1400.

Thank you.

@abotzung
Copy link
Author

abotzung commented Aug 3, 2024

Hello,

FOG install successfully.

Thank you, have a nice day !

@abotzung abotzung closed this as completed Aug 3, 2024
@asivre02
Copy link

asivre02 commented Aug 3, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants