[GH-ISSUE #331] Upgrade Instructions? #291

Closed
opened 2026-02-26 06:32:03 +03:00 by kerem · 3 comments
Owner

Originally created by @mikepruett3 on GitHub (Mar 16, 2020).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/331

My appoligies if this has been documented somewhere else, but I did look at both all of the Issues and documentation from the site.

I am currently running v2.0.14, which was built and started via docker-compose...and I was wondering what I would need to do to upgrade to the latest version?

docker-compose.yml

# WARNING: This is a DEVELOPMENT docker-compose file, it should not be used for production.
version: "2"
services:
  app:
    image: jc21/nginx-proxy-manager-base:latest
    ports:
      - 80:80
      - 81:81
      - 43:443
    environment:
      - NODE_ENV=development
      - FORCE_COLOR=1
    volumes:
      - ./data:/data
      - ./data/letsencrypt:/etc/letsencrypt
      - .:/app
      - ./rootfs/etc/nginx:/etc/nginx
    working_dir: /app
    depends_on:
      - db
    links:
      - db
    command: node --max_old_space_size=250 --abort_on_uncaught_exception node_modules/nodemon/bin/nodemon.js
  db:
    image: jc21/mariadb-aria
    environment:
      MYSQL_ROOT_PASSWORD: "<redacted>"
      MYSQL_DATABASE: "<redacted>"
      MYSQL_USER: "<redacted>"
      MYSQL_PASSWORD: "<redacted>"
    volumes:
      - ./config/my.cnf:/etc/mysql/conf.d/npm.cnf
      - ./data/mysql:/var/lib/mysql
Originally created by @mikepruett3 on GitHub (Mar 16, 2020). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/331 My appoligies if this has been documented somewhere else, but I did look at both all of the Issues and documentation from the site. I am currently running v2.0.14, which was built and started via docker-compose...and I was wondering what I would need to do to upgrade to the latest version? docker-compose.yml ```yaml # WARNING: This is a DEVELOPMENT docker-compose file, it should not be used for production. version: "2" services: app: image: jc21/nginx-proxy-manager-base:latest ports: - 80:80 - 81:81 - 43:443 environment: - NODE_ENV=development - FORCE_COLOR=1 volumes: - ./data:/data - ./data/letsencrypt:/etc/letsencrypt - .:/app - ./rootfs/etc/nginx:/etc/nginx working_dir: /app depends_on: - db links: - db command: node --max_old_space_size=250 --abort_on_uncaught_exception node_modules/nodemon/bin/nodemon.js db: image: jc21/mariadb-aria environment: MYSQL_ROOT_PASSWORD: "<redacted>" MYSQL_DATABASE: "<redacted>" MYSQL_USER: "<redacted>" MYSQL_PASSWORD: "<redacted>" volumes: - ./config/my.cnf:/etc/mysql/conf.d/npm.cnf - ./data/mysql:/var/lib/mysql ```
kerem 2026-02-26 06:32:04 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@jc21 commented on GitHub (Mar 16, 2020):

Nope you should be fine. Both images have updates though, I would recommend making a backup of your folders beforehand.

<!-- gh-comment-id:599342361 --> @jc21 commented on GitHub (Mar 16, 2020): Nope you should be fine. Both images have updates though, I would recommend making a backup of your folders beforehand.
Author
Owner

@mikepruett3 commented on GitHub (Mar 16, 2020):

So I did the following:

  • docker-compose down
  • made a backup (tarball) of the nginx-proxy-manager directory
  • git pull from the nginx-proxy-manager directory
  • docker-compose up -d

Yet the version number did not change (still says v2.0.14 at bottom of page). I might have missed something easy. When I started, I copied the doc/example folder to a new folder called "prod" at the top of the nginx-proxy-manager directory.

tree -d
.
├── backend
│   ├── config
│   ├── doc
│   ├── internal
│   ├── lib
│   │   ├── access
│   │   ├── express
│   │   └── validator
│   ├── migrations
│   ├── models
│   ├── routes
│   │   └── api
│   │       └── nginx
│   ├── schema
│   │   └── endpoints
│   └── templates
├── data
│   ├── letsencrypt
│   └── mysql
│       ├── mysql [error opening dir]
│       ├── npm [error opening dir]
│       └── performance_schema [error opening dir]
├── doc
│   └── example
│       ├── data
│       │   ├── access
│       │   ├── custom_ssl
│       │   ├── letsencrypt-acme-challenge
│       │   ├── logs
│       │   ├── mysql
│       │   │   ├── mysql [error opening dir]
│       │   │   ├── npm [error opening dir]
│       │   │   └── performance_schema [error opening dir]
│       │   └── nginx
│       │       ├── dead_host
│       │       ├── default_host
│       │       ├── default_www
│       │       ├── proxy_host
│       │       ├── redirection_host
│       │       ├── stream
│       │       └── temp
│       └── letsencrypt
│           ├── accounts [error opening dir]
│           ├── archive [error opening dir]
│           ├── csr
│           ├── keys [error opening dir]
│           ├── live [error opening dir]
│           ├── renewal
│           └── renewal-hooks
│               ├── deploy
│               ├── post
│               └── pre
├── docker
│   ├── dev
│   └── rootfs
│       ├── bin
│       ├── etc
│       │   ├── cont-finish.d
│       │   ├── cont-init.d
│       │   ├── fix-attrs.d
│       │   ├── nginx
│       │   │   └── conf.d
│       │   │       └── include
│       │   └── services.d
│       │       ├── frontend
│       │       ├── manager
│       │       └── nginx
│       ├── root
│       └── var
│           └── www
│               └── html
├── docs
│   ├── advanced-config
│   ├── guide
│   ├── screenshots
│   ├── setup
│   └── third-party
├── frontend
│   ├── app-images
│   │   └── favicons
│   ├── html
│   │   └── partials
│   ├── js
│   │   ├── app
│   │   │   ├── audit-log
│   │   │   │   └── list
│   │   │   ├── dashboard
│   │   │   ├── empty
│   │   │   ├── error
│   │   │   ├── help
│   │   │   ├── nginx
│   │   │   │   ├── access
│   │   │   │   │   ├── form
│   │   │   │   │   └── list
│   │   │   │   ├── certificates
│   │   │   │   │   └── list
│   │   │   │   ├── dead
│   │   │   │   │   └── list
│   │   │   │   ├── proxy
│   │   │   │   │   └── list
│   │   │   │   ├── redirection
│   │   │   │   │   └── list
│   │   │   │   └── stream
│   │   │   │       └── list
│   │   │   ├── settings
│   │   │   │   ├── default-site
│   │   │   │   └── list
│   │   │   ├── ui
│   │   │   │   ├── footer
│   │   │   │   ├── header
│   │   │   │   └── menu
│   │   │   ├── user
│   │   │   └── users
│   │   │       └── list
│   │   ├── i18n
│   │   ├── lib
│   │   ├── login
│   │   │   └── ui
│   │   └── models
│   └── scss
├── prod
│   ├── data
│   │   ├── access
│   │   ├── custom_ssl
│   │   ├── letsencrypt-acme-challenge
│   │   ├── logs
│   │   ├── mysql
│   │   │   ├── mysql [error opening dir]
│   │   │   ├── npm [error opening dir]
│   │   │   └── performance_schema [error opening dir]
│   │   └── nginx
│   │       ├── dead_host
│   │       ├── default_host
│   │       ├── default_www
│   │       ├── proxy_host
│   │       ├── redirection_host
│   │       ├── stream
│   │       └── temp
│   └── letsencrypt
│       ├── accounts
│       │   └── acme-v02.api.letsencrypt.org [error opening dir]
│       ├── archive
│       │   ├── npm-1
│       │   ├── npm-10
│       │   ├── npm-11
│       │   ├── npm-12
│       │   ├── npm-13
│       │   ├── npm-14
│       │   ├── npm-15
│       │   ├── npm-16
│       │   ├── npm-17
│       │   ├── npm-2
│       │   ├── npm-3
│       │   ├── npm-4
│       │   ├── npm-5
│       │   ├── npm-6
│       │   ├── npm-7
│       │   ├── npm-8
│       │   └── npm-9
│       ├── csr
│       ├── keys
│       ├── live
│       │   ├── npm-1
│       │   ├── npm-10
│       │   ├── npm-11
│       │   ├── npm-12
│       │   ├── npm-13
│       │   ├── npm-14
│       │   ├── npm-15
│       │   ├── npm-16
│       │   ├── npm-17
│       │   ├── npm-2
│       │   ├── npm-3
│       │   ├── npm-4
│       │   ├── npm-5
│       │   ├── npm-6
│       │   ├── npm-7
│       │   ├── npm-8
│       │   └── npm-9
│       ├── renewal
│       └── renewal-hooks
│           ├── deploy
│           ├── post
│           └── pre
├── scripts
└── test
    └── cypress
        ├── config
        ├── fixtures
        ├── integration
        ├── plugins
        │   └── backendApi
        └── support

Sorry, I am not really good with docker-compose.

Thanks for any assistance!

<!-- gh-comment-id:599624912 --> @mikepruett3 commented on GitHub (Mar 16, 2020): So I did the following: - docker-compose down - made a backup (tarball) of the nginx-proxy-manager directory - git pull from the nginx-proxy-manager directory - docker-compose up -d Yet the version number did not change (still says v2.0.14 at bottom of page). I might have missed something easy. When I started, I copied the doc/example folder to a new folder called "prod" at the top of the nginx-proxy-manager directory. ```bash tree -d . ├── backend │   ├── config │   ├── doc │   ├── internal │   ├── lib │   │   ├── access │   │   ├── express │   │   └── validator │   ├── migrations │   ├── models │   ├── routes │   │   └── api │   │   └── nginx │   ├── schema │   │   └── endpoints │   └── templates ├── data │   ├── letsencrypt │   └── mysql │   ├── mysql [error opening dir] │   ├── npm [error opening dir] │   └── performance_schema [error opening dir] ├── doc │   └── example │   ├── data │   │   ├── access │   │   ├── custom_ssl │   │   ├── letsencrypt-acme-challenge │   │   ├── logs │   │   ├── mysql │   │   │   ├── mysql [error opening dir] │   │   │   ├── npm [error opening dir] │   │   │   └── performance_schema [error opening dir] │   │   └── nginx │   │   ├── dead_host │   │   ├── default_host │   │   ├── default_www │   │   ├── proxy_host │   │   ├── redirection_host │   │   ├── stream │   │   └── temp │   └── letsencrypt │   ├── accounts [error opening dir] │   ├── archive [error opening dir] │   ├── csr │   ├── keys [error opening dir] │   ├── live [error opening dir] │   ├── renewal │   └── renewal-hooks │   ├── deploy │   ├── post │   └── pre ├── docker │   ├── dev │   └── rootfs │   ├── bin │   ├── etc │   │   ├── cont-finish.d │   │   ├── cont-init.d │   │   ├── fix-attrs.d │   │   ├── nginx │   │   │   └── conf.d │   │   │   └── include │   │   └── services.d │   │   ├── frontend │   │   ├── manager │   │   └── nginx │   ├── root │   └── var │   └── www │   └── html ├── docs │   ├── advanced-config │   ├── guide │   ├── screenshots │   ├── setup │   └── third-party ├── frontend │   ├── app-images │   │   └── favicons │   ├── html │   │   └── partials │   ├── js │   │   ├── app │   │   │   ├── audit-log │   │   │   │   └── list │   │   │   ├── dashboard │   │   │   ├── empty │   │   │   ├── error │   │   │   ├── help │   │   │   ├── nginx │   │   │   │   ├── access │   │   │   │   │   ├── form │   │   │   │   │   └── list │   │   │   │   ├── certificates │   │   │   │   │   └── list │   │   │   │   ├── dead │   │   │   │   │   └── list │   │   │   │   ├── proxy │   │   │   │   │   └── list │   │   │   │   ├── redirection │   │   │   │   │   └── list │   │   │   │   └── stream │   │   │   │   └── list │   │   │   ├── settings │   │   │   │   ├── default-site │   │   │   │   └── list │   │   │   ├── ui │   │   │   │   ├── footer │   │   │   │   ├── header │   │   │   │   └── menu │   │   │   ├── user │   │   │   └── users │   │   │   └── list │   │   ├── i18n │   │   ├── lib │   │   ├── login │   │   │   └── ui │   │   └── models │   └── scss ├── prod │   ├── data │   │   ├── access │   │   ├── custom_ssl │   │   ├── letsencrypt-acme-challenge │   │   ├── logs │   │   ├── mysql │   │   │   ├── mysql [error opening dir] │   │   │   ├── npm [error opening dir] │   │   │   └── performance_schema [error opening dir] │   │   └── nginx │   │   ├── dead_host │   │   ├── default_host │   │   ├── default_www │   │   ├── proxy_host │   │   ├── redirection_host │   │   ├── stream │   │   └── temp │   └── letsencrypt │   ├── accounts │   │   └── acme-v02.api.letsencrypt.org [error opening dir] │   ├── archive │   │   ├── npm-1 │   │   ├── npm-10 │   │   ├── npm-11 │   │   ├── npm-12 │   │   ├── npm-13 │   │   ├── npm-14 │   │   ├── npm-15 │   │   ├── npm-16 │   │   ├── npm-17 │   │   ├── npm-2 │   │   ├── npm-3 │   │   ├── npm-4 │   │   ├── npm-5 │   │   ├── npm-6 │   │   ├── npm-7 │   │   ├── npm-8 │   │   └── npm-9 │   ├── csr │   ├── keys │   ├── live │   │   ├── npm-1 │   │   ├── npm-10 │   │   ├── npm-11 │   │   ├── npm-12 │   │   ├── npm-13 │   │   ├── npm-14 │   │   ├── npm-15 │   │   ├── npm-16 │   │   ├── npm-17 │   │   ├── npm-2 │   │   ├── npm-3 │   │   ├── npm-4 │   │   ├── npm-5 │   │   ├── npm-6 │   │   ├── npm-7 │   │   ├── npm-8 │   │   └── npm-9 │   ├── renewal │   └── renewal-hooks │   ├── deploy │   ├── post │   └── pre ├── scripts └── test └── cypress ├── config ├── fixtures ├── integration ├── plugins │   └── backendApi └── support ``` Sorry, I am not really good with docker-compose. Thanks for any assistance!
Author
Owner

@mikepruett3 commented on GitHub (Mar 16, 2020):

Nevermind... I'm kind of slow on this one! :)

I ran a 'docker-compose down', and pulled the latest image, then started it again.

Thanks for your help!

<!-- gh-comment-id:599638449 --> @mikepruett3 commented on GitHub (Mar 16, 2020): Nevermind... I'm kind of slow on this one! :) I ran a 'docker-compose down', and pulled the latest image, then started it again. Thanks for your help!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#291
No description provided.