-
Notifications
You must be signed in to change notification settings - Fork 157
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
Issue with postgresql 11 #168
Comments
I assume you are trying using wallabag 2.3.8? |
I'm lazy, so I just used wallabag/wallabag:latest. Which does seem to be 2.3.8. |
@j0k3r so did you have any insight regarding pg11/12? |
It doesn't seem to support Postgres 11/12 yet? |
@m0nhawk indeed |
I've checked the 2.3.8 and it works perfectly with PG 12.3. So I'm wondering:
|
I'm running: Wallabag 2.3.8 I deploy my Wallabag Docker container with Ansible. So this is what my main Ansible playbook task for Wallabag looks like. `- name: Create Wallabag Image volume
I only deployed the image as is with Docker. I did not Init the database. My understanding was that if I had properly set up a postgres superuser as well as the wallabag database user the container would init itself. However this is the output of the Docker logs for Wallabag.
|
Just kidding. I took the time to init the wallabag database.
anyway, that command did the trick and produced no errors. As far as I can tell everything is good to go on Postgres 11. Love the project by the way. |
Oh boy don't tell me everyone here didn't ran the |
@j0k3r Yep, seems like that's about the size of it. It had been so long since I installed everything that I had forgotten the correct steps. |
The documentation is a little lacking in that regard I think. Also from looking at the amount of issues where one just needed to run the command.. |
OK, I just made a bad assumption based on the error message and another issue with matching error message. Really it seems my case is more likely #190 I got it working, but need to run the handler from entrypoint.yml manually after each start as creating a postgres db fails https://github.com/wallabag/docker/blob/master/root/etc/ansible/entrypoint.yml#L114 |
I suppose the initialization stuff should and could be handled by built-in script automatically? That's what most containers do - use it out-of-the-box. |
Apparently this project will die on this hill of making deployments as cumbersome as possible by ignoring these very basic approaches used by.... well I have to say every single docker I have come across so far. BTW: still haven't gotten my instance to turn on a second time after the initial execution lol And don't get me started on the docs.... a million places to check out and very weird sectioning. Should I ever figure this set up out with Postgres I'll make a doc about it and PR it, but since it won't be merged anyhow since I won't be able to suppress my passive aggressiveness maybe I shouldn't even bother. So many hours wasted already... |
The table does exist, I've checked with psql. And it was created by
console doctrine:migrations:migrate
This seems related to #78
Does pg11 compat need fixes? What about pg12, which was just released?
The text was updated successfully, but these errors were encountered: