Page 1 of 1

Session initialization failure.

Posted: Mon Mar 04, 2019 10:35 pm
by c4rl
Hi

Just to share my workaround with the community.

I have created a bludit docker image using the official centos image.

Everything seems to be ok until I started the container and tried to browser the bludit admin interface. At this time I received the message below:

"Bludit CMS. Session initialization failure."


The apache has logged:

Code: Select all

PHP Warning:  session_start(): open(/var/lib/php/session/sess_id5fbtj1dijofp0r8hfjg36dno, O_RDWR) failed: Permission denied (13) in /srv/example.com/bludit/bl-kernel/helpers/session.class.php on line 34, referer: http://www.example.com/
To fix that I set permissions to apache user to write on /var/lib/php/sessions.

Re: Session initialization failure.

Posted: Mon Mar 04, 2019 11:25 pm
by Edi
Thank you for sharing!

Re: Session initialization failure.

Posted: Wed Mar 06, 2019 10:07 am
by diego
Hi,
You can use the official Bludit docker image.

https://hub.docker.com/u/bludit

Take a look to some documentation
https://varlogdiego.com/running-bludit-in-a-docker

Regards