Code Monkey home page Code Monkey logo

Comments (11)

JoeUser47 avatar JoeUser47 commented on June 21, 2024

Hi, I just did a fresh docker pull and launch ok in ubuntu 18.04 lts, so little different environment. I'm wondering if it's something with docker. Did you remove the versions that came built in to the distro and install the latest from docker?
https://docs.docker.com/engine/install/debian/

from intrigue-core.

jcran avatar jcran commented on June 21, 2024

from intrigue-core.

jcran avatar jcran commented on June 21, 2024

Any update on this?

from intrigue-core.

glaterza6 avatar glaterza6 commented on June 21, 2024

Sorry, I still didn't resolve this.
I checked my Docker version, but at the time I already installed it following the link by @JoeUser47.
I tried without -v option too but I'm still receiving the same error.
I just saw that another user opened an issue that looks very similar to mine (#129).
I don't know what else try, since my Docker knowledge is very basic at the moment.

from intrigue-core.

jcran avatar jcran commented on June 21, 2024

No problem, we'll do a little testing to ensure the data directory remapping is working as intended. Appreciate the response.

from intrigue-core.

hiddengearz avatar hiddengearz commented on June 21, 2024

I'm also getting the exact same errors as OP but I'm running Ubuntu 18.04. At first I thought it was due to my reverse proxy but If I run it as shown in the guide I get the same issue, regardless of if I use -v or not.

I made the /home/myuser/intrigue-core-data:/data with the root user so the docker process should have read/write permissions I believe.

sudo mkdir intrigue-core-data

sudo docker compose up

docker-compose.yml:

...
  intrigueio:
    image: "intrigueio/intrigue-core:latest"
    restart: always
    ports:
      - "7777"
    environment:
      - LANG=C.UTF-8
    labels:
      - traefik.enable=true
      - traefik.backend=subdomain
      - traefik.frontend.rule=Host:subdomain.mydomain.com
      - traefik.docker.network=web
      - traefik.default.protocol=http
      - traefik.port=80
    networks:
      - web
    depends_on:
      - proxy
    volumes:
      -  /home/myuser/intrigue-core-data:/data```

from intrigue-core.

JoeUser47 avatar JoeUser47 commented on June 21, 2024

I installed Debian 10.3 & got the same as @glaterza6 . With docker running, went to container bash, su postgres, and set cluster directory with:
/usr/lib/postgresql/12/bin/initdb -D /data/postgres
then stopped and relaunched container, but got an error postgres 10 couldn't start because it was initialized with 12.
Went back to container bash, su postgres, rm files under /data/postgres, then set with 10.
/usr/lib/postgresql/10/bin/initdb -D /data/postgres
Stopped and relaunched container & it ran, starting 10, then 12. Not sure both are meant to be there. Hope it helps.

from intrigue-core.

jcran avatar jcran commented on June 21, 2024

Looks like we were accidentally installing both, due to this line in Dockerfile-standalone (

), as well as the relevant line in the setup script. I've removed the installation of dependencies in the Dockerfile and testing locally. Expect this will resolve the known issue (installing them side-by-side which in turn causes problems).

from intrigue-core.

jcran avatar jcran commented on June 21, 2024

Fix is up on master (removes installation of postgres 10, while staying on the base image of Ubuntu 18.04), and standalone image is currently rebuilding, eta 30min. Verified by building locally and the service is up and running as expected on startup.

from intrigue-core.

hiddengearz avatar hiddengearz commented on June 21, 2024

Can confirm it's now working on Ubuntu 18.04. Don't forget to delete the contents of the data folder if you used it before, it wasn't working for me until I deleted it and let it rebuild it.

Thanks for the quick fix!

from intrigue-core.

glaterza6 avatar glaterza6 commented on June 21, 2024

I confirm too that it works now!! Thank you very much for the fast support! :)

from intrigue-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.