FreeBSD + Cacti Server v1.2.26 - Installation Wizard - empty page after first step during install.

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
BlackRatty
Posts: 4
Joined: Thu Aug 22, 2024 1:03 am

FreeBSD + Cacti Server v1.2.26 - Installation Wizard - empty page after first step during install.

Post by BlackRatty »

Hi.
OS: FreeBSD 14
Cacti Server v1.2.26
After accept EULA and choosing Language and Theme on the next step I fond just empty frame.
In the address string: ... /cacti/install/install.php?data={"Step":0,"Eula":0}
If I try to press Begin there is no actions... Only Cactus logo and frame with Cacti Server v1.2.26 - Installation Wizard and begin button...
How to break the wall?
BlackRatty
Posts: 4
Joined: Thu Aug 22, 2024 1:03 am

Re: FreeBSD + Cacti Server v1.2.26 - Installation Wizard - empty page after first step during install.

Post by BlackRatty »

First page was like mess. It uses russian but page was broken:
...
Warning: file_put_contents(/usr/local/share/cacti/log/install-templates.log): Failed to open stream: No such file or directory in /usr/local/share/cacti/install/functions.php on line 1020

Warning: file_put_contents(/usr/local/share/cacti/log/install-complete.log): Failed to open stream: No such file or directory in /usr/local/share/cacti/install/functions.php on line 1021

Warning: file_put_contents(/usr/local/share/cacti/log/install-templates.log): Failed to open stream: No such file or directory in /usr/local/share/cacti/install/functions.php on line 1020

Warning: file_put_contents(/usr/local/share/cacti/log/install-complete.log): Failed to open stream: No such file or directory in /usr/local/share/cacti/install/functions.php on line 1021

Warning: file_put_contents(/usr/local/share/cacti/log/install-templates.log): Failed to open stream: No such file or directory in /usr/local/share/cacti/install/functions.php on line 1020

Warning: file_put_contents(/usr/local/share/cacti/log/install-complete.log): Failed to open stream: No such file or directory in /usr/local/share/cacti/install/functions.php on line 1021

Warning: file_put_contents(/usr/local/share/cacti/log/install-templates.log): Failed to open stream: No such file or directory in /usr/local/share/cacti/install/functions.php on line 1020

Warning: file_put_contents(/usr/local/share/cacti/log/install-complete.log): Failed to open stream: No such file or directory in /usr/local/share/cacti/install/functions.php on line 1021

Warning: file_put_contents(/usr/local/share/cacti/log/install-templates.log): Failed to open stream: No such file or directory in /usr/local/share/cacti/install/functions.php on line 1020

Warning: file_put_contents(/usr/local/share/cacti/log/install-complete.log): Failed to open stream: No such file or directory in /usr/local/share/cacti/install/functions.php on line 1021

Warning: file_put_contents(/usr/local/share/cacti/log/install-templates.log): Failed to open stream: No such file or directory in /usr/local/share/cacti/install/functions.php on line 1020

Warning: file_put_contents(/usr/local/share/cacti/log/install-complete.log): Failed to open stream: No such file or directory in /usr/local/share/cacti/install/functions.php on line 1021

Warning: file_put_contents(/usr/local/share/cacti/log/install-template.log): Failed to open stream: No such file or directory in /usr/local/share/cacti/install/functions.php on line 1020

Warning: file_put_contents(/usr/local/share/cacti/log/install-complete.log): Failed to open stream: No such file or directory in /usr/local/share/cacti/install/functions.php on line 1021
{"Mode":1,"Step":1,"Errors":{"Paths":{"path_cactilog":"Resource is not writable"},"Permission":{"snmp_queries:\/usr\/local\/share\/cacti\/resource\/snmp_queries":"Path was not writable","script_server:\/usr\/local\/share\/cacti\/resource\/script_server":"Path was not writable","script_queries:\/usr\/local\/share\/cacti\/resource\/script_queries":"Path was not writable","scripts:\/usr\/local\/share\/cacti\/scripts":"Path was not writable","csrf:\/usr\/local\/share\/cacti\/include\/vendor\/csrf\/csrf-secret.php":"Path was not writable","log:\/usr\/local\/share\/cacti\/log\/":"Path is not writable","boost:\/usr\/local\/share\/cacti\/cache\/boost\/":"Path is not writable","mibcache:\/usr\/local\/share\/cacti\/cache\/mibcache\/":"Path is not writable","realtime:\/usr\/local\/share\/cacti\/cache\/realtime\/":"Path is not writable","spikekill:\/usr\/local\/share\/cacti\/cache\/spikekill\/":"Path is not writable"}},"Eula":null,"Prev":{"Text":"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0430\u044f","Step":0,"Enabled":false,"Visible":true},"Next":{"Text":"\u041d\u0430\u0447\u0430\u043b\u043e","Step":2,"Enabled":false,"Visible":true},"Test":{"Text":"\u0422\u0435\u0441\u0442 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f","Step":-4,"Enabled":true,"Visible":false},"Theme":"modern","StepData":{"Eula":null,"Theme":"modern","Language":"en-US"},"Html":"
\u0412\u0435\u0440\u0441\u0438\u044f Cacti 1.2.26 - \u041b\u0438\u0446\u0435\u043d\u0437\u0438\u043e\u043d\u043d\u043e\u0435 \u0441\u043e\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0435<\/h2>
Thanks for taking the time to download and install Cacti, the complete graphing solution for your network. Before you can start making cool graphs, there are a few pieces of data that Cacti needs to know.<\/p>

Make sure you have read and followed the required steps needed to install Cacti before continuing. Install information can be found for Unix<\/a> and Win32<\/a>-based operating systems.<\/p>

Cacti is licensed under the GNU General Public License, you must agree to its provisions before continuing:<\/p>

\u042d\u0442\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u043c \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u0435\u043c; \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u0442\u044c \u0435\u0433\u043e \u0438\/\u0438\u043b\u0438 \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u043c\u0438 GNU General Public License, \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u043e\u0439 Free Software Foundation; \u041b\u0438\u0431\u043e 2\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0438 (\u043f\u043e \u0432\u0430\u0448\u0435\u043c\u0443 \u0432\u044b\u0431\u043e\u0440\u0443), \u043b\u044e\u0431\u043e\u0439 \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0437\u0434\u043d\u0435\u0439 \u0432\u0435\u0440\u0441\u0438\u0438.This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.<\/p>
...

\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0442\u0435\u043c\u0443 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e:
Modern<\/option>
Accept GPL Licens
BlackRatty
Posts: 4
Joined: Thu Aug 22, 2024 1:03 am

Re: FreeBSD + Cacti Server v1.2.26 - Installation Wizard - empty page after first step during install.

Post by BlackRatty »

I did:
root@cacmon:/usr/local/share/cacti # mkdir -p /usr/local/share/cacti/log
root@cacmon:/usr/local/share/cacti # touch /usr/local/share/cacti/log/install-templates.log
root@cacmon:/usr/local/share/cacti # chown -R www:www /usr/local/share/cacti/log

then I could see initial Frame with theme, language, EULA

but... after begin button I can see only empty frame...
:roll:
BlackRatty
Posts: 4
Joined: Thu Aug 22, 2024 1:03 am

Re: FreeBSD + Cacti Server v1.2.26 - Installation Wizard - empty page after first step during install.

Post by BlackRatty »

When i press "Begin" I've got in /var/log/cacti/log
2024-08-22 19:44:22 - INSTALL-TEMPLATES: always: getDefaultTemplate(): Default Device Template is ''
2024-08-22 19:44:22 - INSTALL-TEMPLATES: always: getDefaultTemplate(): Default Device Template is ''
2024-08-22 19:44:22 - INSTALL-TEMPLATES: always: getDefaultTemplate(): Default Device Template is ''
2024-08-22 19:44:22 - INSTALL-TEMPLATES: always: getDefaultTemplate(): Default Device Template is ''
2024-08-22 19:44:22 - INSTALL-TEMPLATES: always: getDefaultTemplate(): Default Device Template is ''
2024-08-22 19:44:22 - INSTALL-TEMPLATES: always: getDefaultTemplate(): Default Device Template is ''
2024-08-22 19:44:22 - INSTALL-TEMPLATE: always: setDefaultTemplate(): Device default template is ''
2024-08-22 19:44:25 - ERROR PHP ERROR: Uncaught ValueError: parse_ini_file(): Argument #1 ($filename) cannot be empty in /usr/local/share/cacti/lib/utility.php:1776 Stack trace: #0 /usr/local/share/cacti/lib/utility.php(1776): parse_ini_file('') #1 /usr/local/share/cacti/install/cli_check.php(43): utility_php_verify_recommends(false, 'cli') #2 {main} thrown in file: /usr/local/share/cacti/lib/utility.php on line: 1776
2024-08-22 19:44:25 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: FreeBSD + Cacti Server v1.2.26 - Installation Wizard - empty page after first step during install.

Post by macan »

how did you install Cacti? From ports or pkg?
Let the Cacti grow!
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests