[Mayan EDMS: 2474] Trouble installing Mayan EDMS 3.0

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Mayan EDMS: 2474] Trouble installing Mayan EDMS 3.0

Junior Vidotti
Items are misplaced when configuring a 3.0 installation using Docker Compose (see attached picture).

What am I doing wrong?

Thanks in advance,

Junior Vidotti

------------------------------
Docker-Compose for 3.0:

version: "3.4"

services:
  mayan-edms-2: 
    container_name: mayan-edms-app-2
    image: registry.gitlab.com/mayan-edms/mayan-edms:feature-docker
    depends_on:
      - "db2"
    environment:
      MAYAN_DATABASE_ENGINE: django.db.backends.postgresql
      MAYAN_DATABASE_HOST: db2
      MAYAN_DATABASE_NAME: mayan
      MAYAN_DATABASE_PASSWORD: mypass
      MAYAN_DATABASE_USER: mayan
    ports: 
      - "8000:8000"
    volumes:
      - app:/var/lib/mayan
    networks:
      - mayan-2

  db2:
    image: healthcheck/postgres
    container_name: mayan-edms-db-2
    environment:
      POSTGRES_DB: mayan
      POSTGRES_PASSWORD: mypass
      POSTGRES_USER: mayan
    volumes:
      - db:/var/lib/postgresql/data
    networks:
      - mayan-2

volumes:
  db:
    name: mayan-db-2
  app:
    name: mayan-data-2

networks:
  mayan-2:

------------------------------
Docker-Compose for 2.7.3:

version: "3.4"

services:
  mayan-edms: 
    container_name: mayan-edms-app
    image: mayanedms/mayanedms:2.7.3
    #image: registry.gitlab.com/mayan-edms/mayan-edms:feature-docker
    depends_on:
      - "db"
    environment:
      MAYAN_DATABASE_ENGINE: django.db.backends.postgresql
      MAYAN_DATABASE_HOST: db
      MAYAN_DATABASE_NAME: mayan
      MAYAN_DATABASE_PASSWORD: q9tj96crx9
      MAYAN_DATABASE_USER: mayan
    ports: 
      - "80:80"
    volumes:
      - app:/var/lib/mayan
    networks:
      - mayan

  db:
    image: healthcheck/postgres
    container_name: mayan-edms-db
    environment:
      POSTGRES_DB: mayan
      POSTGRES_PASSWORD: q9tj96crx9
      POSTGRES_USER: mayan
    volumes:
      - db:/var/lib/postgresql/data
    networks:
      - mayan

volumes:
  db:
    name: mayan-db
  app:
    name: mayan-data

networks:
  mayan:

--

---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

mayan-edms.png (81K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

[Mayan EDMS: 2475] Re: Trouble installing Mayan EDMS 3.0

Steve Putman
You might try the versions:next build instead of feature:docker -- I wasn't getting the static files to work properly until yesterday's build.

On Friday, May 25, 2018 at 4:36:11 PM UTC-5, Junior Vidotti wrote:
Items are misplaced when configuring a 3.0 installation using Docker Compose (see attached picture).

What am I doing wrong?

Thanks in advance,

Junior Vidotti

------------------------------
Docker-Compose for 3.0:

version: "3.4"

services:
  mayan-edms-2: 
    container_name: mayan-edms-app-2
    image: <a href="http://registry.gitlab.com/mayan-edms/mayan-edms:feature-docker" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fregistry.gitlab.com%2Fmayan-edms%2Fmayan-edms%3Afeature-docker\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNErTT65yIN_jCrfD6oSgDZDMSJuPg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fregistry.gitlab.com%2Fmayan-edms%2Fmayan-edms%3Afeature-docker\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNErTT65yIN_jCrfD6oSgDZDMSJuPg&#39;;return true;">registry.gitlab.com/mayan-edms/mayan-edms:feature-docker
    depends_on:
      - "db2"
    environment:
      MAYAN_DATABASE_ENGINE: django.db.backends.postgresql
      MAYAN_DATABASE_HOST: db2
      MAYAN_DATABASE_NAME: mayan
      MAYAN_DATABASE_PASSWORD: mypass
      MAYAN_DATABASE_USER: mayan
    ports: 
      - "8000:8000"
    volumes:
      - app:/var/lib/mayan
    networks:
      - mayan-2

  db2:
    image: healthcheck/postgres
    container_name: mayan-edms-db-2
    environment:
      POSTGRES_DB: mayan
      POSTGRES_PASSWORD: mypass
      POSTGRES_USER: mayan
    volumes:
      - db:/var/lib/postgresql/data
    networks:
      - mayan-2

volumes:
  db:
    name: mayan-db-2
  app:
    name: mayan-data-2

networks:
  mayan-2:

------------------------------
Docker-Compose for 2.7.3:

version: "3.4"

services:
  mayan-edms: 
    container_name: mayan-edms-app
    image: mayanedms/mayanedms:2.7.3
    #image: <a href="http://registry.gitlab.com/mayan-edms/mayan-edms:feature-docker" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fregistry.gitlab.com%2Fmayan-edms%2Fmayan-edms%3Afeature-docker\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNErTT65yIN_jCrfD6oSgDZDMSJuPg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fregistry.gitlab.com%2Fmayan-edms%2Fmayan-edms%3Afeature-docker\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNErTT65yIN_jCrfD6oSgDZDMSJuPg&#39;;return true;">registry.gitlab.com/mayan-edms/mayan-edms:feature-docker
    depends_on:
      - "db"
    environment:
      MAYAN_DATABASE_ENGINE: django.db.backends.postgresql
      MAYAN_DATABASE_HOST: db
      MAYAN_DATABASE_NAME: mayan
      MAYAN_DATABASE_PASSWORD: q9tj96crx9
      MAYAN_DATABASE_USER: mayan
    ports: 
      - "80:80"
    volumes:
      - app:/var/lib/mayan
    networks:
      - mayan

  db:
    image: healthcheck/postgres
    container_name: mayan-edms-db
    environment:
      POSTGRES_DB: mayan
      POSTGRES_PASSWORD: q9tj96crx9
      POSTGRES_USER: mayan
    volumes:
      - db:/var/lib/postgresql/data
    networks:
      - mayan

volumes:
  db:
    name: mayan-db
  app:
    name: mayan-data

networks:
  mayan:

--

---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

[Mayan EDMS: 2476] Re: Trouble installing Mayan EDMS 3.0

Junior Vidotti
Nice!! It worked. 


Em sábado, 26 de maio de 2018 14:55:09 UTC-4, Steve Putman escreveu:
You might try the versions:next build instead of feature:docker -- I wasn't getting the static files to work properly until yesterday's build.

On Friday, May 25, 2018 at 4:36:11 PM UTC-5, Junior Vidotti wrote:
Items are misplaced when configuring a 3.0 installation using Docker Compose (see attached picture).

What am I doing wrong?

Thanks in advance,

Junior Vidotti

------------------------------
Docker-Compose for 3.0:

version: "3.4"

services:
  mayan-edms-2: 
    container_name: mayan-edms-app-2
    image: <a href="http://registry.gitlab.com/mayan-edms/mayan-edms:feature-docker" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fregistry.gitlab.com%2Fmayan-edms%2Fmayan-edms%3Afeature-docker\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNErTT65yIN_jCrfD6oSgDZDMSJuPg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fregistry.gitlab.com%2Fmayan-edms%2Fmayan-edms%3Afeature-docker\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNErTT65yIN_jCrfD6oSgDZDMSJuPg&#39;;return true;">registry.gitlab.com/mayan-edms/mayan-edms:feature-docker
    depends_on:
      - "db2"
    environment:
      MAYAN_DATABASE_ENGINE: django.db.backends.postgresql
      MAYAN_DATABASE_HOST: db2
      MAYAN_DATABASE_NAME: mayan
      MAYAN_DATABASE_PASSWORD: mypass
      MAYAN_DATABASE_USER: mayan
    ports: 
      - "8000:8000"
    volumes:
      - app:/var/lib/mayan
    networks:
      - mayan-2

  db2:
    image: healthcheck/postgres
    container_name: mayan-edms-db-2
    environment:
      POSTGRES_DB: mayan
      POSTGRES_PASSWORD: mypass
      POSTGRES_USER: mayan
    volumes:
      - db:/var/lib/postgresql/data
    networks:
      - mayan-2

volumes:
  db:
    name: mayan-db-2
  app:
    name: mayan-data-2

networks:
  mayan-2:

------------------------------
Docker-Compose for 2.7.3:

version: "3.4"

services:
  mayan-edms: 
    container_name: mayan-edms-app
    image: mayanedms/mayanedms:2.7.3
    #image: <a href="http://registry.gitlab.com/mayan-edms/mayan-edms:feature-docker" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fregistry.gitlab.com%2Fmayan-edms%2Fmayan-edms%3Afeature-docker\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNErTT65yIN_jCrfD6oSgDZDMSJuPg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fregistry.gitlab.com%2Fmayan-edms%2Fmayan-edms%3Afeature-docker\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNErTT65yIN_jCrfD6oSgDZDMSJuPg&#39;;return true;">registry.gitlab.com/mayan-edms/mayan-edms:feature-docker
    depends_on:
      - "db"
    environment:
      MAYAN_DATABASE_ENGINE: django.db.backends.postgresql
      MAYAN_DATABASE_HOST: db
      MAYAN_DATABASE_NAME: mayan
      MAYAN_DATABASE_PASSWORD: q9tj96crx9
      MAYAN_DATABASE_USER: mayan
    ports: 
      - "80:80"
    volumes:
      - app:/var/lib/mayan
    networks:
      - mayan

  db:
    image: healthcheck/postgres
    container_name: mayan-edms-db
    environment:
      POSTGRES_DB: mayan
      POSTGRES_PASSWORD: q9tj96crx9
      POSTGRES_USER: mayan
    volumes:
      - db:/var/lib/postgresql/data
    networks:
      - mayan

volumes:
  db:
    name: mayan-db
  app:
    name: mayan-data

networks:
  mayan:

--

---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

[Mayan EDMS: 2481] Re: Trouble installing Mayan EDMS 3.0

rosarior
Administrator
Instead of including the javascript libraries in the Docker image or Python package, Mayan now downloads these at install time. Size and license issues prompted this change. There are no good or complete NPM (node package manager) implementations for Python so we had to build our own from scratch (https://gitlab.com/mayan-edms/mayan-edms/blob/versions/next/mayan/apps/common/javascript.py). We've found inconsistencies and undocumented uses of the NPM API and are adjusting our code to match these via reverse engineer of NPM javascript code.  That is why static files sometimes fail to install and thus not be served. We haven't encounter a major problem with this for weeks and managed to implement the versioning system of the Package.json files. 

On Saturday, May 26, 2018 at 6:34:31 PM UTC-4, Junior Vidotti wrote:
Nice!! It worked. 


Em sábado, 26 de maio de 2018 14:55:09 UTC-4, Steve Putman escreveu:
You might try the versions:next build instead of feature:docker -- I wasn't getting the static files to work properly until yesterday's build.

On Friday, May 25, 2018 at 4:36:11 PM UTC-5, Junior Vidotti wrote:
Items are misplaced when configuring a 3.0 installation using Docker Compose (see attached picture).

What am I doing wrong?

Thanks in advance,

Junior Vidotti

------------------------------
Docker-Compose for 3.0:

version: "3.4"

services:
  mayan-edms-2: 
    container_name: mayan-edms-app-2
    image: <a href="http://registry.gitlab.com/mayan-edms/mayan-edms:feature-docker" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fregistry.gitlab.com%2Fmayan-edms%2Fmayan-edms%3Afeature-docker\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNErTT65yIN_jCrfD6oSgDZDMSJuPg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fregistry.gitlab.com%2Fmayan-edms%2Fmayan-edms%3Afeature-docker\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNErTT65yIN_jCrfD6oSgDZDMSJuPg&#39;;return true;">registry.gitlab.com/mayan-edms/mayan-edms:feature-docker
    depends_on:
      - "db2"
    environment:
      MAYAN_DATABASE_ENGINE: django.db.backends.postgresql
      MAYAN_DATABASE_HOST: db2
      MAYAN_DATABASE_NAME: mayan
      MAYAN_DATABASE_PASSWORD: mypass
      MAYAN_DATABASE_USER: mayan
    ports: 
      - "8000:8000"
    volumes:
      - app:/var/lib/mayan
    networks:
      - mayan-2

  db2:
    image: healthcheck/postgres
    container_name: mayan-edms-db-2
    environment:
      POSTGRES_DB: mayan
      POSTGRES_PASSWORD: mypass
      POSTGRES_USER: mayan
    volumes:
      - db:/var/lib/postgresql/data
    networks:
      - mayan-2

volumes:
  db:
    name: mayan-db-2
  app:
    name: mayan-data-2

networks:
  mayan-2:

------------------------------
Docker-Compose for 2.7.3:

version: "3.4"

services:
  mayan-edms: 
    container_name: mayan-edms-app
    image: mayanedms/mayanedms:2.7.3
    #image: <a href="http://registry.gitlab.com/mayan-edms/mayan-edms:feature-docker" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fregistry.gitlab.com%2Fmayan-edms%2Fmayan-edms%3Afeature-docker\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNErTT65yIN_jCrfD6oSgDZDMSJuPg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fregistry.gitlab.com%2Fmayan-edms%2Fmayan-edms%3Afeature-docker\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNErTT65yIN_jCrfD6oSgDZDMSJuPg&#39;;return true;">registry.gitlab.com/mayan-edms/mayan-edms:feature-docker
    depends_on:
      - "db"
    environment:
      MAYAN_DATABASE_ENGINE: django.db.backends.postgresql
      MAYAN_DATABASE_HOST: db
      MAYAN_DATABASE_NAME: mayan
      MAYAN_DATABASE_PASSWORD: q9tj96crx9
      MAYAN_DATABASE_USER: mayan
    ports: 
      - "80:80"
    volumes:
      - app:/var/lib/mayan
    networks:
      - mayan

  db:
    image: healthcheck/postgres
    container_name: mayan-edms-db
    environment:
      POSTGRES_DB: mayan
      POSTGRES_PASSWORD: q9tj96crx9
      POSTGRES_USER: mayan
    volumes:
      - db:/var/lib/postgresql/data
    networks:
      - mayan

volumes:
  db:
    name: mayan-db
  app:
    name: mayan-data

networks:
  mayan:

--

---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.