Hi, when I run `docker/sdk demo-data` (i want just...
# docker
m
Hi, when I run
docker/sdk demo-data
(i want just reset db and service and import fresh everything) sdk run
loadDemoData
with at end of this function `
Copy code
execSpryker "vendor/bin/install -r docker -s init-storages-per-region -s ${demoDataSection}"
But i get following error:
Copy code
Dropping all database tables.
 Error happened during dropping database tables.                                                                                                                                                         
 SQLSTATE[42501]: Insufficient privilege: 7 ERROR:  must be a superuser to terminate superuser process
CONTEXT:  SQL statement "SELECT pg_terminate_backend(pid)
                        FROM pg_stat_activity
                        WHERE pg_stat_activity.datname = current_database() AND pid <> pg_backend_pid()"
PL/pgSQL function inline_code_block line 6 at PERFORM

In CommandLineExecutable.php line 107:
                      
  Aborted install...
Anyone idea why so?
sdk up
works in the case
IF_NOT_PERFORMED
!
sdk reset
works..
sdk demo
not due permission for db
h
Do you connect to the database from host machine?
m
yes... without problems..
h
With what credentials?
spryker
or
root
m
root
h
That’s the point. You have `root`opened connection and script that works with
spryker
cannot close it to remove all the tables during demo data import.
m
Ok.... now it s me clear...
h
So this problem won’t have place if you connect only with
spryker
user
m
thank u very much..
yes.. of course
h
np