IntersectMBO / plutus-apps

The Plutus application platform
Apache License 2.0
305 stars 213 forks source link

PAB-Nami demo error #871

Closed voland62 closed 1 year ago

voland62 commented 1 year ago

Summary

Error, related to absence of db configuration...

Steps to reproduce the behavior

According to this tutorial with both options(cabal or script), I got the same error. In both cases I work from plutus-apps dir.

Actual Result

plutus-pab-nami-demo: No configuration available, expecting sqliteDB or postgresDB. Note if you have updated to the newer plutus you should change the dbConfig section in your yaml config file.

Expected Result

no errors

Describe the approach you would take to fix this

No response

System info

OS: NixOS Version: 22:11 Plutus: master

ghost commented 1 year ago

Thanks for the issue!

The fix should be to replace dbConfig with sqliteDB:

dbConfig:
    dbConfigFile: pab-core.db
    dbConfigPoolSize: 20

~>

sqliteDB:
  dbConfigFile: pab-core.db
  dbConfigPoolSize: 20
voland62 commented 1 year ago

Yes, this fixes an issue. I think, this is a good idea to fix plutus-pab.yaml in the repo. Thanks!