I'm reporting a Bug
Getting this error message on fresh installation of Akeneo 2.0 CE any help would be great
Got it issue was related to server memory!
I'm having this after docker-compose down and up:
/HttpFoundation/Session/Storage/NativeSessionStorage.php on line 145
Warning: session_start(): Failed to read session data: user (path: /var/lib/php/sessions) in /srv/pim/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php on line 145
Warning: session_start(): Failed to read session data: user (path: /var/lib/php/sessions) in /srv/pim/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php on line 145
Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'akeneo_pim.pim_session' doesn't exist in /srv/pim/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:105 Stack trace: #0 /srv/pim/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(105): PDOStatement->execute(NULL) #1 /srv/pim/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/PdoSessionHandler.php(531): Doctrine\DBAL\Driver\PDOStatement->execute() #2 /srv/pim/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/AbstractSessionHandler.php(92): Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler->doRead('nea8srqf5kq9231...') #3 /srv/pim/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/PdoSessionHandler.php(278): Symfony\Component\HttpFoundation\Session\Storage\Handler\AbstractSessionHandler->read('nea8srqf5kq9231...') #4 /srv/pim/vendor/symfony/symfony/src/Symfony/Component/HttpFoundati in /srv/pim/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php on line 107`
I have the exact the same issue, what was the solution for you @Navds ?
Sorry mate, totally forgot about his.
I guess I made sure /var/lib/php/sessions exists and writable
For me creating the sessions
folder and making it writable doesn't work.
How did you solved? I continue to get the error about the missing akeneo_pim.pim_session
table in the database.
@Saadkhalid87 , how did you solved?
Ok, in the end I solved running bin/docker/pim-front.sh
...
I had the same error just few minutes ago.
However, the root reason for such error was failing connection to Elasticsearch on my side.
The solution to this one may be found here:
https://github.com/akeneo/pim-community-dev/issues/6783
In short. Updating index_hosts
(app/config/parameters.yml
file) to index_hosts: 'elastic:changeme@elasticsearch:9200'
solved the issue here..
Akeneo v2.3
I am having the same issue but unable to resolve
request.CRITICAL: Exception thrown when handling an exception (Doctrine\DBAL\Driver\PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'akeneo_pim.pim_session' doesn't exist
Using docker-compose
(https://github.com/akeneo/pim-community-dev/blob/master/docker-compose.yml).
Setting index_hosts
in app/config/parameters.yml
to elasticsearch: 9200
and re-starting bin/docker/pim-initialize.sh
did the trick.
Thanks @sugalvojau
Using
docker-compose
(https://github.com/akeneo/pim-community-dev/blob/master/docker-compose.yml).Setting
index_hosts
inapp/config/parameters.yml
toelasticsearch: 9200
and re-startingbin/docker/pim-initialize.sh
did the trick.Thanks @sugalvojau
Thank you ... this was driving me nuts.
Most helpful comment
Using
docker-compose
(https://github.com/akeneo/pim-community-dev/blob/master/docker-compose.yml).Setting
index_hosts
inapp/config/parameters.yml
toelasticsearch: 9200
and re-startingbin/docker/pim-initialize.sh
did the trick.Thanks @sugalvojau