Page 1 of 3

Softaculous showing blank page

Posted: Wed Oct 17, 2018 9:23 am
by liferdorpp
Hello,

I recently did a fresh install of VestaCP and moved all my users from the old install to the new install. Everything works fine except for Softaculous.

When I click 'Apps' it just shows a blank page. I've tried everything I can find online including this:
- Just disabling Softaculous in the server settings and re-enabling it.
- Doing the v-delete-vesta-softaculous and v-add-vesta-softaculous commands
- sh /usr/local/vesta/ioncube/ioncube.sh

And I even moved all the old files from Softaculous from a user to another fold but not even that worked.

Any ideas or fixes? There are no errors in the vesta log nor in the site log itself and I see no console errors. It's just a blank page.

Re: Softaculous showing blank page

Posted: Fri Oct 19, 2018 9:07 pm
by sacredwebsite
I have a similar issue on Debian 9

Re: Softaculous showing blank page

Posted: Fri Oct 19, 2018 9:42 pm
by imperio
We already know about this problem. In Monday we contact with Softaculous team

Re: Softaculous showing blank page

Posted: Sun Oct 21, 2018 12:11 am
by chrisf
Same here, Ubuntu 18.04

Tried v-add, v-delete (softaculous), tried reinstall vesta-ioncube, vesta-php, and vesta-softaculous.

Still blank screen.

Re: Softaculous showing blank page

Posted: Sun Oct 21, 2018 12:18 am
by chrisf
I have been trying to think if I changed anything, and the only thing since initial install was the hostname.

Maybe softaculous checks this? It may be unrelated, but I wanted to inform you. :-)

Re: Softaculous showing blank page

Posted: Sun Oct 21, 2018 5:23 pm
by chrisf
Think this is a permissions issue.

Re: Softaculous showing blank page

Posted: Sun Oct 21, 2018 5:52 pm
by chrisf
Further investigation, log is FULL of these:

Code: Select all

2018/10/17 21:10:01 [error] 30769#0: *665 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 27

PHP message: PHP Notice:  Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 65

PHP message: PHP Warning:  array_keys() expects parameter 1 to be array, null given in /usr/local/vesta/web/softaculous/index.php on line 85" while reading response header from upstream, client: 127.0.0.1, server: _, request: "POST /softaculous/index.php?act=cp_api&api=serialize HTTP/1.1", upstram: "fastcgi://unix:/var/run/vesta-php.sock:", host: "127.0.0.1:8083"
100's of them... then it turns into:

Code: Select all

2018/10/21 03:35:01 [error] 6000#0: *406 FastCGI sent in stderr: "PHP message: PHP Warning:  session_start(): The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in /usr/local/vesta/web/inc/main.php on line 3
PHP message: PHP Warning:  session_destroy(): Session object destruction failed in /usr/local/vesta/web/inc/main.php on line 47
PHP message: PHP Warning:  session_start(): The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in /usr/local/vesta/web/inc/main.php on line 48
PHP message: PHP Warning:  Unknown: The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in Unknown on line 0
PHP message: PHP Warning:  Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/usr/local/vesta/data/sessions) in Unknown on line 0" while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET /softaculous/index.php?act=cp_api&api=serialize HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "127.0.0.1:8083"
2018/10/21 03:35:02 [error] 6000#0: *406 FastCGI sent in stderr: "PHP message: PHP Warning:  session_start(): The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in /usr/local/vesta/web/inc/main.php on line 3" while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "127.0.0.1:8083"
Which seems to be a permissions issue? Not sure, and I'm not blindly changing things at this point.

Then finally:

Code: Select all

2018/10/21 04:10:02 [error] 6000#0: *628 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 127.0.0.1, server: _, request: "POST /softaculous/index.php?act=cp_api&api=serialize HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "127.0.0.1:8083"
so... suggestions from vesta team?

Re: Softaculous showing blank page

Posted: Sun Oct 21, 2018 6:13 pm
by chrisf
Further information.

I was able to get it to show... temporarily.

On my ubuntu box I :

Code: Select all

apt purge vesta-ioncube
Which removes vesta-softaculous too. I then force removed

Code: Select all

/usr/local/vesta/softaculous
and

Code: Select all

/usr/local/vesta/disabled_plugins/softaculous
Logged in to panel, server, clicked yes to softaculous. It took a few minutes to enable... then Apps link worked.

Softaculous showed admin panel.

Clicked a few links, and after three to four links, white page again.

Apps link, white page.

Re: Softaculous showing blank page

Posted: Sun Oct 21, 2018 8:27 pm
by imperio
We are waiting information from Softaculous development team

Re: Softaculous showing blank page

Posted: Mon Oct 22, 2018 5:05 pm
by tyrsrd
anybody can solve this? i have same problem in centos 7