[BlueOnyx:26431] Re: Open_basedir errors

2023-09-02 Thread Juerg Sommer via Blueonyx
Hi Colin We have a customer with a vsite that includes a PHP script to flush their database regularly to clear old records. The script works fine if run from a web browser (http://www.domain.com/cron.php) but when I try and run as a cron job I get open_basedir errors: PHP Warning: 

[BlueOnyx:26324] Re: issues after php 8 updates

2023-06-22 Thread Juerg Sommer via Blueonyx
Hi Michael, Until recently the PHP-8.X versions of PHP for BlueOny 5210R were missing the "Zip" extension, as there were issues building it against the ancient libzip that ships with EL8. I eventually managed to build it just fine, but according to the error messages

[BlueOnyx:26323] Re: negative AV-Spam score

2023-06-22 Thread Juerg Sommer via Blueonyx
Hi Meaulnes Can someone help me to set up a rule that recognizes *the same from and to address* in the header? I'm not very skilled for this...   From:   To:   Subject: Your account is hacked. Your data is stolen. Learn how to regain access. I don't want to take @waveweb.ch out of the

[BlueOnyx:26316] Re: negative AV-Spam score

2023-06-22 Thread Juerg Sommer via Blueonyx
Hi Meaulnes, >> This clever jerk managed to send his blackmailing spam *from and to* my >> server administrator address. And since my server administrator address is >> in the whitelist (sorry! now politically correct: in the welcomelist:-) >> because I don't want to have my users to be

[BlueOnyx:26313] Re: negative AV-Spam score

2023-06-22 Thread Juerg Sommer via Blueonyx
Hi Meaulnes I'm confronted with a peculiar situation: spam slips untagged thru with a *negative* score X-Spam-Status: No, score=-61.5 required=5.0 tests=BITCOIN_DEADLINE, BITCOIN_MALF_HTML,BITCOIN_SPAM_07,DCC_CHECK,DIGEST_MULTIPLE,

[BlueOnyx:26252] Re: Updated CMU versions released

2023-05-29 Thread Juerg Sommer
Hi Michael, Thanks for fixing this two bugs, works fine now. There's a third one which is IMHO not yet fixed: /usr/cmu/perl/cmuCCE.pm, line 393 Very well. I just published that fix for 5210R and 5211R. Many thanks again! Thanks for fixing it. Now everything works fine. Best regards,

[BlueOnyx:26250] Re: Updated CMU versions released

2023-05-28 Thread Juerg Sommer
Hi Michael, These fix the file path issue if a path has one or more spaces in it. And the 5211R version had the "product" check fixed according to your suggestion. Thanks for fixing this two bugs, works fine now. There's a third one which is IMHO not yet fixed: /usr/cmu/perl/cmuCCE.pm,

[BlueOnyx:26236] Re: Cannot find build type: 5211R

2023-05-25 Thread Juerg Sommer
Hi Ken and Michael Your solution of editing those two files worked beautifully! That's nice to hear. Good work, Juerg! I'll add this to the CMU of 5211R then. Fine, also nice to head that from me. I reported these two bugs to Michael already in december 2022 (was before access to

[BlueOnyx:26233] Re: Cannot find build type: 5211R

2023-05-25 Thread Juerg Sommer
Hi Ken, I am trying to use the cmuImport to import a site from an older BlueOnyx version to this 5211R, but am seeing this error message ERROR extractTar: Cannot find build type: 5211R Michael would suggest to use EasyMigrate to you. :) I had also some bugs in cmuImport, but not all

[BlueOnyx:26123] Re: 500 error on vsite creation

2023-04-14 Thread Juerg Sommer
Which version is displayed under "Security" - "PHP Settings" (server config, not per vsite)? Is there an error? If you click on "Save" on this page, does that solve the problem? Otherwise Michael must say when the CODB object is updated. Best regards, Juerg Am 14.04.2023 um 23:10 schrieb

[BlueOnyx:26121] Re: 500 error on vsite creation

2023-04-14 Thread Juerg Sommer
Hi Daren, On a 5211r server, when I try to Add a new vsite (or view the Template), I get a 500 error. I’ve enabled debugging for CI and the error is: ErrorException Undefined array key "8.0.20" /usr/sausalito/ui/chorizo/ci4/extensions/create.Vsite/10_PHP.php at line 177 After PHP

[BlueOnyx:26118] Re: Broken DKIM?

2023-04-14 Thread Juerg Sommer
Hi Attempting to enable OpenDKIM results in 'unknown attribute' errors for enableOpenDKIM, OpenDKIM_Mode and OpenDKIM_SendReports. YUM reports that Package opendkim-2.11.0-0.28.el8.x86_64 is already installed. Can anyone shed some light on this? Try systemctl restart cced.init and/or

[BlueOnyx:26079] Re: Nightly logrotate errors

2023-04-06 Thread Juerg Sommer
Hi Michael, I just extended the handler /usr/sausalito/handlers/base/sitestats/set_logrotate.pl with a sense check. It now takes the group name, puts it in uppercase, appends '-logs' to it and compares if that is identical with the logfile owner that was stored in CODB. If it is not

[BlueOnyx:26076] Re: Nightly logrotate errors

2023-04-05 Thread Juerg Sommer
Hi Florian Running /usr/sausalito/sbin/update_vsite_logrotate.pl did not make a difference in my case. Thanks for your Update. Can you check the file /etc/logrotate.d/site10 There's a line: su SITE10-logs site10 (3 times) Here should be always the same number as in filename. I think,

[BlueOnyx:26073] Re: Nightly logrotate errors

2023-04-05 Thread Juerg Sommer
Hi Michael /usr/sausalito/sbin/update_vsite_logrotate.pl does not? I checked the script, I think it would, but I'm not sure. Otherwise Michael has to answer this question, I'm not sure about this. I'll see if it did in a few hours  Yes, please let us know if it made a difference. I'll

[BlueOnyx:26070] Re: Nightly logrotate errors

2023-04-04 Thread Juerg Sommer
Hi Florian Yes, several sites were originally imported via cmuimport. So there's no way to fix it for all sites at once? /usr/sausalito/sbin/update_vsite_logrotate.pl does not? I checked the script, I think it would, but I'm not sure. Otherwise Michael has to answer this question, I'm not

[BlueOnyx:26068] Re: Nightly logrotate errors

2023-04-04 Thread Juerg Sommer
Hi Florian I also have nightly logrotate errors like this: /etc/cron.daily/logrotate: error: site10:2 unknown user 'SITE78-logs' error: found error in /home/.sites/site10/var/logs/mail.log , skipping error: site10:12 unknown user 'SITE78-logs' error: found error in

[BlueOnyx:26055] Re: PDFparser

2023-03-29 Thread Juerg Sommer
Hi Colin What do you want to do with PDFs? As far as I know, BlueOnyx has no implemented pdf parser. But I have many experience with pdf-parsing with php. Take a look at FPDF or TCPDF. Also the packages "poppler-utils" has some useful binaries (ex. pdftotext to extract text from a pdf file)

[BlueOnyx:25927] Re: Can't set host name in GUI - fixed

2023-01-14 Thread Juerg Sommer
Hi Michael, Indeed. Upon login the GUI stores the contents of the "System" Object in your session data to prevent us from re-fetching the same damn Object on every bloody GUI page we visit. After all: We need the data in it all the time to present the pages. I'll look at it and will publish

[BlueOnyx:25924] Re: Can't set host name in GUI

2023-01-13 Thread Juerg Sommer
Hi Robert, Initially, when setting up this VM, I had tampabaywebhosting.net set as an alias to a vsite email service, I removed in case it was causing issue. If I look at hostnamectl after a fresh reboot: [root@www ~]# hostnamectl  Static hostname: www.tampabaywebhosting.net    Icon

[BlueOnyx:25877] Re: Real Time access analysis (and better stats)

2022-12-30 Thread Juerg Sommer
Hi Michael, I guess it'll work. Until you eventually try to shove several gigabytes of logfiles through it to parse. :o) I agree, large logfiles are a problem with variables... The problem is line ~170 (I modified the script) system("$GoAccess_cmd $go_access_params"); This is called BEFORE

[BlueOnyx:25876] Re: Real Time access analysis (and better stats)

2022-12-30 Thread Juerg Sommer
Hi Michael, chown admserv:admserv -R /var/lib/monitorix/www/imgs/ I wonder what other black magic I'll have to conjure to make it stick. :p Could it be, that the rpm post script runs, BEFORE the admserv user is created? By 1'000 packages... I removed the monitorix rpm manually and

[BlueOnyx:25872] Re: Real Time access analysis (and better stats)

2022-12-29 Thread Juerg Sommer
Hi Michael, That may be one way to do it. As you can see in /etc/logrotate.d/apache it calls split_logs this way: https://devel.blueonyx.it/trac/browser/BlueOnyx/5211R/ui/base-sitestats.mod/src/sitestats-scripts/apache.logrotate /usr/local/sbin/split_logs web <

[BlueOnyx:25871] Re: Real Time access analysis (and better stats)

2022-12-29 Thread Juerg Sommer
Hi Michael, Should web.log have data or would it removed after statistic is processed? I have to debug the process, when I migrated a site with more traffic See /etc/logrotate.d/siteX: During the course of the whole logrotate process the Vsite web.logs's are rotated out entirely. This

[BlueOnyx:25867] Re: Real Time access analysis (and better stats)

2022-12-29 Thread Juerg Sommer
Hi Michael I debugged the split_logs script, not quite easy. > Yeah, it worked now. Was a special environment: I tested it with a vm > and only log-files from today. Running split_logs manually created a > folder for 2022/12/27 (yesterday, normally wanted), but in this folder > were only

[BlueOnyx:25866] Re: Real Time access analysis (and better stats)

2022-12-29 Thread Juerg Sommer
Hi Michael, > Yeah, it worked now. Was a special environment: I tested it with a vm > and only log-files from today. Running split_logs manually created a > folder for 2022/12/27 (yesterday, normally wanted), but in this folder > were only records for today (which would be filtered, I think).

[BlueOnyx:25862] Re: Real Time access analysis (and better stats)

2022-12-28 Thread Juerg Sommer
Hi Michael Monitorix won't work on my servers (neither on existing servers nor on a freshly installed test VM). I have to install "perl-Config-General", after that everything works fine. There's a missing dependency on the rpm package. Dang. Actually we have quite a few CCE Handlers that

[BlueOnyx:25860] Re: Real Time access analysis (and better stats)

2022-12-28 Thread Juerg Sommer
Hi Michael Thanks for your reply. Monitorix won't work on my servers (neither on existing servers nor on a freshly installed test VM). I have to install "perl-Config-General", after that everything works fine. There's a missing dependency on the rpm package. Dang. Actually we have quite a

[BlueOnyx:25858] Re: Real Time access analysis (and better stats)

2022-12-28 Thread Juerg Sommer
everything works fine. I don't spent time in debugging, but it's reproduceable on different servers. Not a great problem, because site reload is a workaround, but maybe you wan't do debug an fix it. Regards, Juerg Am 28.12.2022 um 14:38 schrieb Juerg Sommer: Hi Michael Thanks for yo

[BlueOnyx:25857] Re: Real Time access analysis (and better stats)

2022-12-28 Thread Juerg Sommer
Hi Michael Thanks for your updates! Monitorix won't work on my servers (neither on existing servers nor on a freshly installed test VM). I have to install "perl-Config-General", after that everything works fine. There's a missing dependency on the rpm package. GoAccess: I have to test it

[BlueOnyx:25840] Re: 5211R: network problem after first reboot before initial setup

2022-12-14 Thread Juerg Sommer
Hi Michael > Hi Juerg, > (By the way: Is this short for Jürgen?) Yes, but in Switzerland "Jürg" is a common name and therefore my official name in my passport. In Germany it's "Jürgen" or "Jörg", so it's common to be called "Jürgen" :) >> /usr/sausalito/runonce/initServices.sh with this

[BlueOnyx:25826] 5211R: network problem after first reboot before initial setup

2022-12-13 Thread Juerg Sommer
Hi Today I installes 5211R on a remote machine in a different network. There I have network-problems after reboot after groupinstall and initServices.sh. I don't have the exact reason for this. Debug misc files shows me /usr/sausalito/runonce/initServices.sh with this line   HAVETH=$(nmcli

[BlueOnyx:25823] Re: 5211R - time/timezone setup

2022-12-12 Thread Juerg Sommer
Hi Michael > The mechanism for changing the date and time zone is exactly the same as before on 5210R: > The GUI page feeds the change request into CCEd and upon changing either date, > time or time zone settings the corresponding Perl handlers are run to make the changes. Also thanks for

[BlueOnyx:25822] Re: 5211R: system php update - admserv fails on php-fpm restart

2022-12-12 Thread Juerg Sommer
Hi Michael > What's the reason to store the admserv-php-fpm sock- and pid-file in > /var/run/php-fpm? I think move them to /var/run/admserv-php-fpm would > make sense. What do you think about? Many thanks for testing this out. Yeah, that totally makes sense. I just released an updated

[BlueOnyx:25808] 5211R: system php update - admserv fails on php-fpm restart

2022-12-10 Thread Juerg Sommer
Hi Michael Today I have updated my system php from 8.0 to 8.1: dnf module reset php dnf module enable php:8.1 dnf update php mariadb Everything works fine and my virtual hosts have now php 8.1. The admserv php in /home/solarspeed/admserv-php was untouched and also worked. Great, updating

[BlueOnyx:25807] 5211R - time/timezone setup

2022-12-09 Thread Juerg Sommer
Hi Michael Another small improvment for setup, because I installed the base system very often in the last few days :) In first time setup via browser you have to choose timezone and time. My server is configured in Europe/Zurich (GMT+1) with correct time (22:49). In setup there is choosen

[BlueOnyx:25805] Re: 5211R: errors in postfix, gui and mboxfix.pl

2022-12-09 Thread Juerg Sommer
Hi Michael >> Thanks for your explanations and fixes. I'm in an early test-state and always roll back to a >> snapshot before "dnf groupinstall blueonyx". So I can see if everything works fine on a clean >> install. I'll test it tomorrow with a fresh installation and will give you feedback,

[BlueOnyx:25803] Re: 5211R: errors in postfix, gui and mboxfix.pl

2022-12-08 Thread Juerg Sommer
Hi Michael > ... > Anyway: I just published these YUM updates, a new ISO image for 5211R and new disk images. > In your case installing the YUM updates should fix your BlueOnyx 5211R as it will now make sure that the right sendmail.mc is present. Thanks for your explanations and fixes. I'm

[BlueOnyx:25796] Re: 5211R: errors in postfix, gui and mboxfix.pl

2022-12-07 Thread Juerg Sommer
Hi Michael > But then you only copy the sendmail.cf file if the files does NOT exists: > if [ ! -f /tmp/nolist.mailmain ] && [ ! -f /tmp/nolist.majordomo ];then > for my understanding, the sendmail.mc has to be copied if both files will EXIST, also > if [ -f /tmp/nolist.mailmain ] && [ -f

[BlueOnyx:25795] Re: 5211R: errors in postfix, gui and mboxfix.pl

2022-12-07 Thread Juerg Sommer
Hi Michael >> I'll try it tomorrow on an old snapshot to check if that also fixes the mailman-errors. Which setup-script should copy the sendmail.mc and was not executed properly? > >That's this one: > />usr/sausalito/scripts/initSendmail.sh > >Actually all the scripts in

[BlueOnyx:25787] Re: 5211R: errors in postfix, gui and mboxfix.pl

2022-12-06 Thread Juerg Sommer
Hi Michael > Please check what your sendmail.mc has set for ALIAS_FILE. It should be like this: > #> cat /etc/mail/sendmail.mc|grep ALIAS_FILE > define(`ALIAS_FILE', `/etc/mail/aliases')dnl > > If that is the case, then "newaliases" should not throw any error. If your sendmail.mc still has

[BlueOnyx:25784] Re: 5211R: errors in postfix, gui and mboxfix.pl

2022-12-06 Thread Juerg Sommer
Hi Michael >> 1. Postfix >> I have problems sending mails to my vm, because some alias files does not exists: >> >> /etc/mail/aliases -> no db file >> /etc/mailman/aliases -> no file (folder does not exists) >> /etc/mailman/virtual-mailman -> no file (folder does not exists) > Yeah, that

[BlueOnyx:25782] 5211R: errors in postfix, gui and mboxfix.pl

2022-12-06 Thread Juerg Sommer
Hi On my test vm (installed with AlmaLinux 9.1 and TAR-BALL) I have some bugs. As a result of lot of testing, my vm is a bit "buggy", but I hope, this are general errors and not only on my vm: 1. Postfix I have problems sending mails to my vm, because some alias files does not exists:

[BlueOnyx:25777] 5211R - Error on upload SSL server cert

2022-12-05 Thread Juerg Sommer
Hi I'm testing the 5211R release on a VM. When I try to upload a SSL certificate in "Security" - "SSL" there's an error after click on "Import". Affected file: /usr/sausalito/ui/chorizo/ci4/Modules/Base/Ssl/Controllers/UploadCert.php Affected line: 82 $system is defined as $System in line