Install Not getting through the license agreement

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
jiru443
Posts: 2
Joined: Tue Jul 20, 2021 8:46 pm

Install Not getting through the license agreement

Post by jiru443 »

Hey all,

New to the hesk software and this forum. I am hosting hesk on a debian 10-64bit vm with nginx as my web server. Im using php7.4 with php-fpm.

When I go to http://myhost:port/install, I can select the option to install a new copy. Here's where things just stop working. When presented with the license agreement option, I click "I Accept" and the page just reloads. Chrome is not providing any network errors, nginx has no errors in the log, and permissions are set for the webserver to access the hesk root directory.

Any ideas on what could be the issue? I even commented out disabled_functions in the php.ini, which had no effect.
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: Install Not getting through the license agreement

Post by Klemen »

This usually means that PHP sessions are not working on your server.

Download the session test file, upload to the server then run into the browser:
https://www.phpjunkyard.com/extras/session_test.zip

If you don't get "OK: PHP sessions work fine" on the second step, that's the issue.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
jiru443
Posts: 2
Joined: Tue Jul 20, 2021 8:46 pm

Re: Install Not getting through the license agreement

Post by jiru443 »

The session test errors out on step 2:

Code: Select all

ERROR: session data not saved, ask your hosting company to verfy why PHP sessions are not working.
My sessions are set up in php.ini like this:

Code: Select all

root@dal-prod-hosting01:/etc/php/7.4/fpm# cat php.ini | grep session.save_path
session.save_path = "/var/lib/php/sessions"
And the permissions on that directory are:

Code: Select all

root@dal-prod-hosting01:/etc/php/7.4/fpm# ls -lah /var/lib/php/sessions/
total 120K
drwx-wx-wt 2 www-data www-data  16K Jul 21 08:59 .
drwxr-xr-x 6 root     root     4.0K Nov  4  2020 ..
-rw------- 1 www-data www-data  520 Jul 21 08:39 sess_4ra5fehat2n94qabonaf12uv9c
-rw------- 1 www-data www-data  443 Jul 21 08:43 sess_5cs6ns4mo3rcbpj9tcdoh0e2oj
And the pool is running as www-data:

Code: Select all

root@dal-prod-hosting01:/etc/php/7.4/fpm# cat pool.d/www.conf | grep "user = www-data"
user = www-data
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: Install Not getting through the license agreement

Post by Klemen »

I'm not a server admin so can't help in detail here.

What you can try:
1. set save path to "/tmp" and reboot the server
2. run phpinfo to verify the setting there (that it's not loaded from another php.ini file for example)
3. maybe the folder needs different permissions?

Your best bet may be to check on general PHP forums or places like serverfault.com for help.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply