Squidguard intallation stuck.



  • Hi,
    my squidguard installation get stuck on custom php_install_command() " instruction for 30 min now.

    Its a new instal (5th reinstallation now) , Squid is the only packet installed ( and it works ).

    Edit : Im sorry , The warning was under a chrome layer.

    Warning: file_put_contents(/usr/local/etc/squidGuard/squidguard_conf.xml): failed to open stream: No such file or directory in /usr/local/pkg/squidguard.inc on line 962 
    


  • Same problem here. Tried several installs, squid is functioning properly.

    The squidguard install does not complete, but shows in teh package list. Clicking reinstall does not remove or reinstall the package. Deleting the package through the shell with pkg_delete does not remove it from the package page in the web interface.

    Same error message as above:
    Warning: file_put_contents(/usr/pbi/squidguard-amd64/etc/squidGuard/squidguard_conf.xml): failed to open stream: No such file or directory in /usr/local/pkg/squidguard.inc on line 962



  • @Deathless: Possible view you /usr/local/etc/ catalog list ?



  • same problem here (pfsense 2.0.1-i386)
    i had problem with custom access lists, with modification of url blacklist, url filter not working, so i decided to remove package squidguard and reinstall it.

    impossible to remove it.
    Installation stuck :
    Beginning package installation for squidGuard…
    Downloading package configuration file... done.
    Saving updated package information... done.
    Downloading squidGuard and its dependencies...
    Checking for package installation... Loading package configuration... done.
    Configuring package components...
    Additional files... done.
    Loading package instructions...
    Custom commands...
    Executing custom_php_install_command()...

    Tried on a fresh install with squid already installed : same.
    Tried on a fresh install without squid installed : same.

    To remove it manually :
    removed
    /usr/local/pkg/squidguard*
    /usr/local/etc/squidGuard
    /usr/local/www/squidGuard
    /var/squidGuard
    /var/db/squidGuard
    and then it can be safely removed from GUI.
    You just have to reinstall package squid (but configuration not losed)

    Don't know what else to try...



  • Same issue here. Running on VM since last couple of days and tried to install SquidGuard.

    Stuck like this….

    Beginning package installation for squidGuard...
    Downloading package configuration file... done.
    Saving updated package information... done.
    Downloading squidGuard and its dependencies...
    Checking for package installation... Loading package configuration... done.
    Configuring package components...
    Additional files... done.
    Loading package instructions...
    Custom commands...
    Executing custom_php_install_command()...



  • the same problem. squidGuard is beta 1.3_1 pkg v.1.9.1 platform: 1.1. 32bit also 64bit pfsense version, installation squidguard is problem.
    why, squidguard is beta and platform:1.1. why is it stable and not platform :2.0 ? if everyone install the same version, why i can't install.
    Please answer me, anyone.

    Beginning package installation for squidGuard…
    Downloading package configuration file... done.
    Saving updated package information... done.
    Downloading squidGuard and its dependencies...
    Checking for package installation... Loading package configuration... done.
    Configuring package components...
    Additional files... done.
    Loading package instructions...
    Custom commands...
    Executing custom_php_install_command()...



  • Change /usr/local/pkg/squidguard_configurator.inc line [452] as:

        if (function_exists('squid_resync')) {
    	squid_resync();
        }
    

    Reinstall pkg new.



  • i can't find this line (452). i click diagnostic and "edit file". Browse squidguard_configurator.inc file but editor not show me code line number. please help me.



  • @geeiamswell:

    i can't find this line (452). i click diagnostic and "edit file". Browse squidguard_configurator.inc file but editor not show me code line number. please help me.

    Find 'squid_resync();' line.



  • replacing
    squid_resync();
    by
    if (function_exists('squid_resync')) {
    squid_resync();
        }
    was ok : i could delete the package. Next i reinstalled it : it works ! Thanks for modification !



  • It's nice!



  • thank you very much :D



  • new issue. Service wont start on first install. Have to reboot. Once rebooted it starts but then I can't turn it off if I want to. No matter how many times I click the uncheck the "enable" box and click apply it does nothing. The service is still on.



  • I'm sorry i was out for a couple of day.
    I'm testing this Fix asap.
    If it work, i'll edit the main post to make it.

    dvserg , deserve a medal.


Log in to reply