Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional property postgresql is not allowed #365

Closed
DanieleLattaioli opened this issue Jun 13, 2024 · 4 comments
Closed

Additional property postgresql is not allowed #365

DanieleLattaioli opened this issue Jun 13, 2024 · 4 comments

Comments

@DanieleLattaioli
Copy link

I have been successfully using Postgresql in my faasd instance until this morning. This afternoon suddenly the machine stopped working due to strange errors, so I created a new one and followed the same configuration procedure for Postgresql. In the logs I get this error "Additional property postgresql is not allowed". so faasd no longer supports Postgresql?

ubuntu@faasd6:~$ sudo systemctl daemon-reload && sudo systemctl restart faasd
ubuntu@faasd6:~$ sudo sudo journalctl -u faasd -f
Jun 13 21:02:37 faasd6 faasd[11908]: Error: (root) Additional property postgresql is not allowed
Jun 13 21:02:37 faasd6 systemd[1]: faasd.service: Main process exited, code=exited, status=1/FAILURE
Jun 13 21:02:37 faasd6 systemd[1]: faasd.service: Failed with result 'exit-code'.
Jun 13 21:02:38 faasd6 systemd[1]: /usr/lib/systemd/system/faasd.service:6: Unit uses MemoryLimit=; please use MemoryMax= instead. Support for MemoryLimit= will be removed soon.
Jun 13 21:02:38 faasd6 systemd[1]: Stopped faasd.service - faasd.
Jun 13 21:02:38 faasd6 systemd[1]: Started faasd.service - faasd.
Jun 13 21:02:38 faasd6 faasd[11969]: faasd version: 0.19.0        commit: e4848cd829286c174bda45b40fc8c5ae5c571d08
Jun 13 21:02:38 faasd6 faasd[11969]: Error: (root) Additional property postgresql is not allowed
Jun 13 21:02:38 faasd6 systemd[1]: faasd.service: Main process exited, code=exited, status=1/FAILURE
Jun 13 21:02:38 faasd6 systemd[1]: faasd.service: Failed with result 'exit-code'.
Jun 13 21:02:48 faasd6 systemd[1]: faasd.service: Scheduled restart job, restart counter is at 7.
Jun 13 21:02:48 faasd6 systemd[1]: Started faasd.service - faasd.
Jun 13 21:02:48 faasd6 faasd[11980]: faasd version: 0.19.0        commit: e4848cd829286c174bda45b40fc8c5ae5c571d08
Jun 13 21:02:48 faasd6 faasd[11980]: Error: (root) Additional property postgresql is not allowed
Jun 13 21:02:48 faasd6 systemd[1]: faasd.service: Main process exited, code=exited, status=1/FAILURE
Jun 13 21:02:48 faasd6 systemd[1]: faasd.service: Failed with result 'exit-code'.
Jun 13 21:02:59 faasd6 systemd[1]: faasd.service: Scheduled restart job, restart counter is at 8.
Jun 13 21:02:59 faasd6 systemd[1]: Started faasd.service - faasd.
Jun 13 21:02:59 faasd6 faasd[11986]: faasd version: 0.19.0        commit: e4848cd829286c174bda45b40fc8c5ae5c571d08
Jun 13 21:02:59 faasd6 faasd[11986]: Error: (root) Additional property postgresql is not allowed
Jun 13 21:02:59 faasd6 systemd[1]: faasd.service: Main process exited, code=exited, status=1/FAILURE
Jun 13 21:02:59 faasd6 systemd[1]: faasd.service: Failed with result 'exit-code'.
Jun 13 21:03:09 faasd6 systemd[1]: faasd.service: Scheduled restart job, restart counter is at 9.
Jun 13 21:03:09 faasd6 systemd[1]: Started faasd.service - faasd.
Jun 13 21:03:09 faasd6 faasd[11992]: faasd version: 0.19.0        commit: e4848cd829286c174bda45b40fc8c5ae5c571d08
Jun 13 21:03:09 faasd6 faasd[11992]: Error: (root) Additional property postgresql is not allowed
Jun 13 21:03:09 faasd6 systemd[1]: faasd.service: Main process exited, code=exited, status=1/FAILURE
Jun 13 21:03:09 faasd6 systemd[1]: faasd.service: Failed with result 'exit-code'.
Jun 13 21:03:19 faasd6 systemd[1]: faasd.service: Scheduled restart job, restart counter is at 10.
Jun 13 21:03:19 faasd6 systemd[1]: Started faasd.service - faasd.
Jun 13 21:03:19 faasd6 faasd[11998]: faasd version: 0.19.0        commit: e4848cd829286c174bda45b40fc8c5ae5c571d08
Jun 13 21:03:19 faasd6 faasd[11998]: Error: (root) Additional property postgresql is not allowed
Jun 13 21:03:19 faasd6 systemd[1]: faasd.service: Main process exited, code=exited, status=1/FAILURE
Jun 13 21:03:19 faasd6 systemd[1]: faasd.service: Failed with result 'exit-code'.

@rgee0
Copy link
Contributor

rgee0 commented Jun 14, 2024

It's a bit of a challenge to try to help people when the details required by the issue template aren't provided.

Googling your error message offers all manner of results that relate to the contents of the compose file either being incorrectly formatted, or containing typos.

I'd start there in terms of debugging.

@DanieleLattaioli
Copy link
Author

I apologize, it was a typo due to haste and tiredness. I corrected the formatting and now everything works.

@rgee0
Copy link
Contributor

rgee0 commented Jun 14, 2024

/close: resolved (non-issue)

@derek derek bot closed this as completed Jun 14, 2024
@openfaas openfaas locked and limited conversation to collaborators Jun 17, 2024
@alexellis
Copy link
Member

Thank you @rgee0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants