"setup.sh pull" not creating any files in Bonita 7.3

Hi experts,

I’m trying to get the current configuration using setup tool:

[bonita@apex2-dev setup]$ sudo ./setup.sh pull
Action is pull
Using database oracle
(platform Setup 7.3.0)

17:06:00.503|INFO |o.b.p.s.ScriptExecutor| configuration for Database vendor: oracle
17:06:01.398|INFO |o.b.p.s.PlatformSetup| Connected to ‘oracle’ database with url: ‘jdbc:oracle:thin:@localhost:1521:xxxxxxxx.xxxxx.net’ with user: ‘BONITA_CTL’
17:06:01.487|INFO |o.b.p.s.PlatformSetup| Pulling configuration into folder: platform_conf/current
17:06:01.508|INFO |o.b.p.s.PlatformSetup| Configuration (and license) files successfully pulled. You can now edit them. Use “setup push” when done.

But no files are created in platform_conf/current directory.

Any ideas?
Thanks,
Jose.

Hi Jose,

did you started your platform before pulling configuration?

if you did it, check that sql query select * from configuration returns some lines

if so, you can activate more log and edit logback.xml file located in setup.sh folder

related doc page is http://documentation.bonitasoft.com/bonitabpm/?page=BonitaBPM_platform_setup

Hi all,

I’ve done these steps and finally been able to change install password:

  1. Modify database.properties to set the database connection parameters and proper vendor
  2. Drop all tables in bonita control database schema
  3. Execute “setup.sh init”
  4. Execute “setup.sh pull”, and now all config files has been downloaded properly
  5. Change password of install user in these 2 files (Only uncomenting the lines related with user/pwd not anymore)

setup/platform_conf/current/platform_portal/platform-tenant-config.properties
setup/platform_conf/current/tenant_template_engine/bonita-tenant-community-custom.properties

  1. Execute “setup.sh push”
  2. Restart

In my opinion, this is such a mandatory task, that should be explained much better in the documentation!

Hope it helps,
Regards,
Jose.

Hi Laurent,

I’ve dropped all tables in database and run “setup init” and now “setup pull” have downloaded all config files properly.

No idea what had happened :frowning:

Hi josegante, what DB have you configured in database.properties? h2?