Session initialization failure.

Post Reply
c4rl
Jr. Bludit
Posts: 1
Joined: Mon Mar 04, 2019 10:18 pm

Mon Mar 04, 2019 10:35 pm

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.
User avatar
Edi
Site Admin
Posts: 1411
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Contact:

Mon Mar 04, 2019 11:25 pm

Thank you for sharing!
Planet Bludit, Tipps, Snippets und nützliche Links. - Newsletter, Informationen zu Bludit (auf Deutsch).
User avatar
diego
Site Admin
Posts: 679
Joined: Sat May 16, 2015 2:53 pm
Contact:

Wed Mar 06, 2019 10:07 am

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
Post Reply