Comments (4)
Hi Colin,
I just made a quick test, but was unable to reproduce the problem.
First draft:
stack: cartware/test
services:
nginx:
image: nginx:latest
I installed the stack via kontena stack install
.
Then I changed the stack and added a volume.
Second draft:
stack: cartware/test
services:
nginx:
image: nginx:latest
volumes:
- /root/html:/usr/share/nginx/html
I upgraded the stack via kontena stack upgrade test
:
[done] Reading stack test from master
[done] Parsing kontena.yml
[done] Processing stack test
[done] Analyzing upgrade
> Calculated changes:
~ test
~ test/nginx
[done] Upgrading stack test
[done] Triggering deployment of stack test
[done] Waiting for deployment to start
[done] Deploying service nginx
Thereafter I ssh'ed into the node and added some dummy text into /root/html/index.html
.
While the first draft installation showed the nginx welcome page, the second draft showed my dummy text.
Did you follow the same scheme?
Cheers,
Alex
from kontena.
The only difference I see in what you and I did was my before already had a volume and so my after had two volumes. Also I am running 1.4.3.
from kontena.
Negative.
I added a second volume such this:
stack: cartware/test
services:
nginx:
image: nginx:latest
volumes:
- /root/html:/usr/share/nginx/html
- /root/anotherfolder:/usr/share/nginx/html/test
And added some content to /root/anotherfolder/index.html
Opening /test
via the browser or curl reveals my new content.
Did you try updating kontena?
kontena-cli 1.5.2
here.
from kontena.
Thanks, @bucha, I will update Kontena since I suppose the 1.4 branch is no longer maintained.
from kontena.
Related Issues (20)
- Renew LE certs automatically sooner than 7 days before expiration
- Node update does not take multiple nodes as params
- CLI specs fail because of a broken dependency HOT 1
- Support Letsencrypt wildcard certificates HOT 2
- Ruby 2.2 EOL
- bind-mounts of existing files on stateful containers fail: cannot mount volume over existing file, file exists
- kontena node rm can be used to remove connected Kontena Cloud nodes without terminating them
- CLI: warning: already initialized constant TTY::Screen::VERSION HOT 1
- E2e: Login timeout HOT 5
- CLI: kontena stack validate prompts can't be exited using ctrl-c
- Graceful shutdown e2e spec almost always fails HOT 1
- Env missing for setting global haproxy options HOT 3
- Kontena master insecure SSL configuration
- CLI omnibus debian builds broken with ftp://xmlsoft.org => 425 Security: Bad IP connecting HOT 3
- [CLI] Command autocompletion is out of date for some entries
- Gem.gunzip deprecation notice from unicode-display_width
- Can't login to newly created DigitalOcean kontena master. HOT 3
- Tag in fluentd forwarded logs is invalid if the node name contains dots
- Kontena site is down HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kontena.