123solar 1.8

Talks about solar stuff
jeanmarc
Posts: 1866
Joined: Thu Aug 29, 2013 7:16 am

Re: 123solar 1.8

Post by jeanmarc » Fri May 31, 2019 2:47 pm

Hello,

Sorry for the fast releases but that was needed, here's 123solar 1.8.3.2 :

Change: Admin, getting ride of AUTH option. Make a cleaner authentication message.
Change : Getting ride of cookies, you need to save your style and languages in main configuration.

After the update, you need to save your main config.
Bye

jeanmarc
Posts: 1866
Joined: Thu Aug 29, 2013 7:16 am

Re: 123solar 1.8

Post by jeanmarc » Sat Aug 24, 2019 7:10 am

Hi,

123solar 1.8.3.3 is out :

- Bug gauge Firefox
- Avoid warning when testing communication if 123s if already stopped
- Aurora checks code
- Bug clean up logs files
- Tidy up bytes

Bye

robinc
Posts: 15
Joined: Wed Jul 13, 2016 2:07 pm

Re: 123solar 1.8

Post by robinc » Fri Oct 18, 2019 12:38 pm

Hi,

Just updated to 1.8.3.3 and found that communications with SBFspot failed.

The communications Test showed that the config file path was not being passed to SBFspot correctly.
The command shown in the Communications Test response was
'timeout --kill-after=15s 10s /usr/local/bin/sbfspot.3/SBFspot -finq -q -123s=DATA -cfgSBFspot_1.cfg -nocsv -nosql '
----------------------
Looking at SBFspot.php I see that line 18 has changed since earlier releases.

1.8.3.3 :
$cfgdir = realpath('../../config/'); // /srv/http/123solar/config/SBFspot_X.cfg

Prev version :
$cfgdir = (dirname(dirname(dirname(__FILE__))) . '/config/');

Replacing that line with the previous code resolves the problem ....

For some reason 'realpath' is returning a null string.
I tested the same code from a php interactive shell and 'realpath' returned the path correctly.

I suspect this could well be something unique to my environment, but I can't figure out what it might be.
For now I am running 1.8.3.3 with the working code from the old version in SBFspot.php

Thanks for your support ..

jeanmarc
Posts: 1866
Joined: Thu Aug 29, 2013 7:16 am

Re: 123solar 1.8

Post by jeanmarc » Fri Oct 18, 2019 1:08 pm

Seem like an anwser
Did you changed permssions on all directories in the hierarchy ?

robinc
Posts: 15
Joined: Wed Jul 13, 2016 2:07 pm

Re: 123solar 1.8

Post by robinc » Sat Oct 19, 2019 3:36 am

Yep, I found that too .....

So far as I can tell all directories in the hierarchy have excecute permission for all users ( including http which is the user 123solar runs under ..)
All nodes except /srv are owned by http
/srv has excecute permissions for any user

Code: Select all

[-@pw-archpi ~]$ ls -l / | grep srv
drwxr-xr-x   4 root root  4096 Mar  1  2019 srv

[-@pw-archpi ~]$ ls -l /srv
dr-xr-xr-x  2 root ftp   4096 Feb 25  2015 ftp
drwxr-xr-x 13 http http  4096 Oct 18 19:38 http

[-@pw-archpi ~]$ ls -l /srv/http | grep 123solar
drwxr-xr-x 11 http http     4096 Aug 24 16:01 123solar

[-@pw-archpi ~]$ ls -l /srv/http/123solar | grep config
drwxr-xr-x 4 http http  4096 Oct 18 13:29 config

Thanks for looking ...

jeanmarc
Posts: 1866
Joined: Thu Aug 29, 2013 7:16 am

Re: 123solar 1.8

Post by jeanmarc » Sat Oct 19, 2019 7:46 am

I'am not sure if "realpath_cache_size" in php.ini might have something to do with this :geek:

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests