IntersectMBO / plutus-apps

The Plutus application platform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PAB-Nami demo error

voland62 opened this issue · comments

commented

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

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
commented

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