hilbert / hilbert-docker-images

Application with a dynamic choice of docker containers to run
Apache License 2.0
22 stars 8 forks source link

Error running topswitch_update.sh #23

Closed elondaits closed 7 years ago

elondaits commented 8 years ago
Changing top app of station vb-hb-test-1 to hb_test_b    

Running custom management command: '~/.config/dockapp/topswitch.sh hb_test_b' on station 'vb-hb-test-1'...     

Running command: 'exit 0' on station 'vb-hb-test-1' via 'SSH'...
Running command: 'test -x ~/.config/dockapp/topswitch.sh && exit 0 || exit 1' on station 'vb-hb-test-1' via 'SSH'...    

Running command: '~/.config/dockapp/topswitch.sh hb_test_b' on station 'vb-hb-test-1' via 'SSH'...    

Stopping dockapp_hb_test_a_1 ...     


Stopping dockapp_hb_test_a_1 ... done

Not including one-off containers created by `docker-compose run`.
To include them, use `docker-compose rm --all`.
This will be the default behavior in the next version of Compose.    

Removing dockapp_hb_test_a_1 ...     



Removing dockapp_hb_test_a_1 ... done

Going to remove dockapp_hb_test_a_1    

Creating dockapp_hb_test_b_1    

mkdir: cannot create directory './~/': Read-only file system    

./~/lastapp.cfg: No such file or directory    

ERROR: could not get 'vb-hb-test-1:/tmp/lastapp.cfg'!    

topswitch_update.sh returned 0. Stopping station vb-hb-test-1 cancelled.
elondaits commented 8 years ago

The last line of the dump is wrong but you can disregard it. It should read:

topswitch_update.sh returned XX. Changing top app of station vb-hb-test-1 cancelled.
elondaits commented 8 years ago

The same problem occurs when calling default_update.sh

4. Call default_update.sh

Running custom management command: '~/.config/dockapp/default.sh ' on station 'vb-hb-test-3'... 

Running command: 'test -x ~/.config/dockapp/default.sh && exit 0 || exit 1' on station 'vb-hb-test-3' via 'SSH'...

Running command: 'exit 0' on station 'vb-hb-test-3' via 'SSH'...

Running command: '~/.config/dockapp/default.sh' on station 'vb-hb-test-3' via 'SSH'...

Starting Background Service: 'omd_agent'...

Creating dockapp_omd_agent_1

Front GUI Application: 'hb_test_c'...

Creating dockapp_hb_test_c_1

mkdir: cannot create directory './~/': Read-only file system

./~/lastapp.cfg: No such file or directory

ERROR: could not get 'vb-hb-test-3:/tmp/lastapp.cfg'!

default_update.sh returned 0. Starting station vb-hb-test-3 cancelled.
malex984 commented 8 years ago

my bad (untested minor change made /DOCKAPP/STATIONS/ read-only for the case of execution via make check)!

should be fixed now..?

porst17 commented 7 years ago

should be fixed now..?

now is not a valid git revision. Please always reference the commit that fixes the issue.

malex984 commented 7 years ago

Please always reference the commit that fixes the issue.

I do now, this issue is really old.

now is not a valid git revision.

Was fixed in (or slightly prior to) https://github.com/hilbert/hilbert-docker-images/releases/tag/v0.1.0