Afanasy Statistics

Installation and configuration.
vdobrv
Posts: 18
Joined: Thu May 03, 2018 2:28 pm

Afanasy Statistics

Post by vdobrv »

Hello

I have some problems collecting statistics from Athanasius
I did everything according to the instructions. Athanasius works
Database connected
Added PSQL and apache, in apache I registered the path to the cgru/afanasy/statistics/index.html
But when I open the link, I get lines of red code
What am I doing wrong?

OS Ubuntu 18.04
Afanasy 2.3.1
Afanasy, PSQL, Apache - one server
Attachments
aferror11.jpg
aferror11.jpg (130.85 KiB) Viewed 105958 times
aferror.jpg
aferror.jpg (54.59 KiB) Viewed 105958 times
vdobrv
Posts: 18
Joined: Thu May 03, 2018 2:28 pm

Re: Afanasy Statistics

Post by vdobrv »

WARNING: SERVER ADDRESS ID - I changed the server address to ip, but this removed only the inscription about an unassigned ip
User avatar
timurhai
Site Admin
Posts: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Afanasy Statistics

Post by timurhai »

Hi.
Have you installed libapache2-mod-php and php-pgsql?
(And restarted apache2?)
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
vdobrv
Posts: 18
Joined: Thu May 03, 2018 2:28 pm

Re: Afanasy Statistics

Post by vdobrv »

AAAAAAA

it was necessary to write just php, and I wrote from the instructions php5
Now I read that there is no php5, there is now php7
I did it, it worked, thanks a lot!

And another question, where does the statistics come from, from which file or folder?
User avatar
timurhai
Site Admin
Posts: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Afanasy Statistics

Post by timurhai »

It work now on php7.

Statistics pushes Afserver to PSQL database.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
vdobrv
Posts: 18
Joined: Thu May 03, 2018 2:28 pm

Re: Afanasy Statistics

Post by vdobrv »

OK, But where is the data on the afserver, which then goes to the DB?
User avatar
timurhai
Site Admin
Posts: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Afanasy Statistics

Post by timurhai »

Hi.
Afserver pushes data(a row) into DB on some event (task start, stop, job deletion, etc.).
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
vdobrv
Posts: 18
Joined: Thu May 03, 2018 2:28 pm

Re: Afanasy Statistics

Post by vdobrv »

Hi
Today I launched three tasks, they were completed, but there is no information about them in the statistics
Tell me, what could I miss?
Attachments
Annotation 2020-02-04 170749.jpg
Annotation 2020-02-04 170749.jpg (141.75 KiB) Viewed 105898 times
Annotation 2020-02-04 170748.jpg
Annotation 2020-02-04 170748.jpg (136.29 KiB) Viewed 105898 times
vdobrv
Posts: 18
Joined: Thu May 03, 2018 2:28 pm

Re: Afanasy Statistics

Post by vdobrv »

In the database itself, rows and columns are created
Attachments
Annotation 2020-02-04 171213.jpg
Annotation 2020-02-04 171213.jpg (116.77 KiB) Viewed 105897 times
Annotation 2020-02-04 171212.jpg
Annotation 2020-02-04 171212.jpg (107.24 KiB) Viewed 105897 times
User avatar
timurhai
Site Admin
Posts: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Afanasy Statistics

Post by timurhai »

Try to see server logs (afserver process output).
And firefox (web browser) console for errors.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Post Reply