where2go Posted October 28, 2017 Share Posted October 28, 2017 Hi there, I'm running Froxlor 0.9.38.7 (DB: 201612110) and when executing php /var/www/froxlor/scripts/froxlor_master_cronjob.php I'm getting "Froxlor does not seem to be installed yet - skipping cronjobroot". My /etc/cron.d/froxlor file looks like # automatically generated cron-configuration by froxlor # do not manually edit this file as it will be re-generated periodically. PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin # */5 * * * * root /usr/bin/nice -n 5 /usr/bin/php -q /var/www/html/froxlor/scripts/froxlor_master_cronjob.php --tasks 1> /dev/null 0 0 * * * root /usr/bin/nice -n 5 /usr/bin/php -q /var/www/html/froxlor/scripts/froxlor_master_cronjob.php --traffic 1> /dev/null 5 0 * * * root /usr/bin/nice -n 5 /usr/bin/php -q /var/www/html/froxlor/scripts/froxlor_master_cronjob.php --used_tickets_reset 1> /dev/null 7 0 1 * * root /usr/bin/nice -n 5 /usr/bin/php -q /var/www/html/froxlor/scripts/froxlor_master_cronjob.php --ticketarchive 1> /dev/null 10 0 * * * root /usr/bin/nice -n 5 /usr/bin/php -q /var/www/html/froxlor/scripts/froxlor_master_cronjob.php --usage_report 1> /dev/null 0 */6 * * * root /usr/bin/nice -n 5 /usr/bin/php -q /var/www/html/froxlor/scripts/froxlor_master_cronjob.php --mailboxsize 1> /dev/null 15 0 * * * root /usr/bin/nice -n 5 /usr/bin/php -q /var/www/html/froxlor/scripts/froxlor_master_cronjob.php --backup 1> /dev/null Cron is running as /usr/sbin/cron -f PHP Version5.6.30-0+deb8u1 Debian 8.9 Apache/2.4.10 Zend OPcache 7.0.6-dev System log is clean. Froxlor dashboard says: Outstanding cron-tasks: There are currently no outstanding tasks for Froxlor I do not have this php file: FROXLOR_INSTALL_DIR . '/lib/userdata.inc.php' as indicated here https://github.com/Froxlor/Froxlor/blob/master/lib/cron_init.php I'd appreciate any help with this. Thanks a lot! Link to comment Share on other sites More sharing options...
where2go Posted October 28, 2017 Author Share Posted October 28, 2017 Just got an email from my Froxlor: froxlor[10321]: SQLSTATE[HY000] [2002] Connection refused froxlor[10321]: --- DEBUG: #0 /var/www/html/froxlor/lib/classes/database/class.Database.php(292): PDO->__construct('mysql:dbname=fr...', 'froxlor', 'DB_UNPRIV_PWD...', Array) #1 /var/www/html/froxlor/lib/classes/database/class.Database.php(178): Database::getDB() #2 /var/www/html/froxlor/lib/cron_init.php(92): Database::__callStatic('query', Array) #3 /var/www/html/froxlor/lib/cron_init.php(92): Database::query('SELECT 1') #4 /var/www/html/froxlor/scripts/froxlor_master_cronjob.php(20): include_once('/var/www/html/f...') #5 {main} Link to comment Share on other sites More sharing options...
d00p Posted October 29, 2017 Share Posted October 29, 2017 3 hours ago, where2go said: I do not have this php file: FROXLOR_INSTALL_DIR . '/lib/userdata.inc.php' How can you be able to log in and use froxlor if you dont have this file? Impossible... Link to comment Share on other sites More sharing options...
where2go Posted October 29, 2017 Author Share Posted October 29, 2017 13 hours ago, d00p said: How can you be able to log in and use froxlor if you dont have this file? Impossible... Agreed. I dug a bit deeper and found an installation at "/var/www/html/froxlor/". I have NO idea why there are two Froxlor installations on there. The system is running stable since 1.5 years and I made a straight forward installation following all of your excellent guides. I ran "/usr/bin/nice -n 5 /usr/bin/php -q /var/www/html/froxlor/scripts/froxlor_master_cronjob.php --force--debug" and it executed fine. Got the following emails from cron: sh: 1: /usr/sbin/repquota: not found and PHP Notice: Undefined offset: -1 in /var/www/html/froxlor/lib/cron_init.php on line 112 and the one from my previous post. @d00p Where do I find the actual Froxlor installation directory and how do I make sure that I only have one proper installation? I fear there might be a mixed installation now or config files in one or the other Froxlor root location. Thanks, d00p! Link to comment Share on other sites More sharing options...
where2go Posted October 29, 2017 Author Share Posted October 29, 2017 After half a day cron job spit out this: PHP Warning: file(/var/run/froxlor_froxlor_master_cronjob-tasks.lock-4098): failed to open stream: No such file or directory in /var/www/html/froxlor/lib/cron_init.php on line 111 Link to comment Share on other sites More sharing options...
d00p Posted October 30, 2017 Share Posted October 30, 2017 13 hours ago, where2go said: Got the following emails from cron: sh: 1: /usr/sbin/repquota: not found and PHP Notice: Undefined offset: -1 in /var/www/html/froxlor/lib/cron_init.php on line 112 Settings -> disable quota if not set up 13 hours ago, where2go said: Where do I find the actual Froxlor installation directory and how do I make sure that I only have one proper installation? I fear there might be a mixed installation now or config files in one or the other Froxlor root location. If you are using debian packages, it's definetly installed into /var/www/ which is also the default for any other official documentation. it doesnt really matter where froxlor is installed - important is the database, so in doubt, decide for one directory and remove the other (or better first rename in case something goes wrong :P) Link to comment Share on other sites More sharing options...
where2go Posted October 31, 2017 Author Share Posted October 31, 2017 @d00p Thanks for the advice. Will implement and report back. Link to comment Share on other sites More sharing options...
Question
where2go
Hi there,
I'm running Froxlor 0.9.38.7 (DB: 201612110) and when executing php /var/www/froxlor/scripts/froxlor_master_cronjob.php I'm getting "Froxlor does not seem to be installed yet - skipping cronjobroot".
My /etc/cron.d/froxlor file looks like
I'd appreciate any help with this.
Thanks a lot!
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.