threefoldtecharchive / jumpscaleX_core

Apache License 2.0
1 stars 6 forks source link

issues in latest SDK #867

Closed Pishoy closed 4 years ago

Pishoy commented 4 years ago
root@jsxbishoy:~/jumpscaleX_core/install/dist# ./3sdk
Welcome to sdk shell, for help, type info, to exit type exit
3sdk> core branch                                                                                                                                                                      

branch for the code we use normally development or master 

master

3sdk> threebot delete                                                                                                                                                                  

Delete threebot and it's data 

Can be used when switching branches 

3sdk> core branch development                                                                                                                                                          

branch for the code we use normally development or master 

 - load the IT tools
3sdk> core branch                                                                                                                                                                      

branch for the code we use normally development or master 

development

3sdk> threebot start                                                                                                                                                                   

install & run a container with threebot 

param: code_update_force be careful, will remove your code changes 

Which network would you like to register to? 
make your choice (mainnet,testnet,devnet,none): none
please provide secret (to locally encrypt your container): 
please provide secret (to locally encrypt your container) (confirm): 
 - SSH PORT ON: 9000
Using default tag: latest
latest: Pulling from threefoldtech/3bot2
Digest: sha256:f091e1d2acad6b41f47df00acd969a518ea6b67e43fa119a2ee15e5e6fdcb6b5
Status: Image is up to date for threefoldtech/3bot2:latest
docker.io/threefoldtech/3bot2:latest
 - Docker machine gets created: 
2ddde119dbd7f5a03f224c76b5847a272af7a2eafa09e65adef370682f40a9ce
 - Configure / Start SSH server
 - updating code this might take a while depending on your internet connection.
Updating repo weblibs              7/7
 - install jumpscale for identity:None
 - Configure secret 
Reading package lists...
Building dependency tree...
Reading state information...
redis-server is already the newest version (5:5.0.5-2build1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
sysctl: setting key "vm.overcommit_memory": Read-only file system
591:C 20 May 2020 14:55:22.732 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
591:C 20 May 2020 14:55:22.732 # Redis version=5.0.5, bits=64, commit=00000000, modified=0, pid=591, just started
591:C 20 May 2020 14:55:22.732 # Configuration loaded
 - Installing jumpscaleX 
OK
OK
Jumpscale X installed successfully
 - Install succesfull
3bot
OK
no server running need to start
++ '[' start == kill ']'
++ tmux -f /sandbox/cfg/.tmux.conf has-session -t main
error connecting to /tmp/tmux-0/default (No such file or directory)
++ '[' 1 -eq 1 ']'
++ echo 'no server running need to start'
++ tmux -f /sandbox/cfg/.tmux.conf new -s main -d 'bash --rcfile /sandbox/bin/env_tmux_detach.sh'
++ '[' start '!=' start ']'
 - Server started ok
3sdk>  
root@3bot:/# cd /sandbox/code/github/threefoldtech/jumpscaleX_core/
root@3bot:/sandbox/code/github/threefoldtech/jumpscaleX_core# git branch
* master

2 - can not restart stopped threebot container image

3 - container command does not exist in sdk help, is that correct ?

grimpy commented 4 years ago

Fixed 1 and 2

3 is correct container command is only available in expert mode

Pishoy commented 4 years ago

verified