cameri / nostream

A Nostr Relay written in TypeScript
MIT License
729 stars 188 forks source link

[BUG] Running start script within scripts folder causes an error #218

Closed louieo closed 1 year ago

louieo commented 1 year ago

Describe the bug When running ./start within the scripts directory, the startup fails with error "configuration file "/postgresql.conf" contains errors"

To Reproduce cd scripts ./start

Expected behavior Application starts without error. Resolution is to run the start script from outside the scripts directory eg ./scripts/start

System:

Giszmo commented 1 year ago

can you share your /postgresql.conf? What did you change?

louieo commented 1 year ago

I didn't make any change to postgresql.conf. I just pulled the latest using git, but when I tried to run the start script, I was within the scripts folder. I think it's a red herring referring to postgresql.conf. Once I "cd .. " back to outside scripts dir, the command ". ./scripts/start" worked fine

Giszmo commented 1 year ago

So it should just exit with a more instructive error.

github-actions[bot] commented 1 year ago

:tada: This issue has been resolved in version 1.23.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: