{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/che/issues/2585","repository_url":"https://api.github.com/repos/eclipse/che","labels_url":"https://api.github.com/repos/eclipse/che/issues/2585/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/che/issues/2585/comments","events_url":"https://api.github.com/repos/eclipse/che/issues/2585/events","html_url":"https://github.com/eclipse/che/issues/2585","id":179037595,"number":2585,"title":"Custom (and not custom) workspaces lost after some time and reboot and ip changed","user":{"login":"matteo-bombelli","id":15176885,"avatar_url":"https://avatars.githubusercontent.com/u/15176885?v=3","gravatar_id":"","url":"https://api.github.com/users/matteo-bombelli","html_url":"https://github.com/matteo-bombelli","followers_url":"https://api.github.com/users/matteo-bombelli/followers","following_url":"https://api.github.com/users/matteo-bombelli/following{/other_user}","gists_url":"https://api.github.com/users/matteo-bombelli/gists{/gist_id}","starred_url":"https://api.github.com/users/matteo-bombelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matteo-bombelli/subscriptions","organizations_url":"https://api.github.com/users/matteo-bombelli/orgs","repos_url":"https://api.github.com/users/matteo-bombelli/repos","events_url":"https://api.github.com/users/matteo-bombelli/events{/privacy}","received_events_url":"https://api.github.com/users/matteo-bombelli/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eclipse/che/labels/kind/question","name":"kind/question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-24T16:09:00Z","updated_at":"2016-09-25T14:34:41Z","closed_at":null,"body":"Custom (and not custom) workspaces lost after some time and reboot and ip changed\r\n\r\n**Reproduction Steps:**\r\n\r\n1. Running Bitnami image in virtualbox on windows 10 anniversary update 64bit\r\n2. Installed php from \"ready to go\" tab\r\n2. Installed Bitnami Express recipe under \"stack library tab\"\r\n3. Some errors in creating new workspaces (typos....)\r\n3. I've created custom stacks (ubuntu node 4.x with harp ) filling the textarea into the \"custom stack\" tab. Everything was working correctly. Here is the recipe I've provided\r\n  ```dockerfile\r\nFROM codenvy/ubuntu_jre\r\n\r\nRUN sudo apt-get update\r\nRUN sudo apt-get -y install build-essential libssl-dev libkrb5-dev gcc make ruby-full rubygems-integration python\r\nRUN curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -\r\nRUN sudo apt-get install -y nodejs\r\n    \r\nEXPOSE 9000 9001 9002 5000 3000\r\n\r\nRUN sudo npm install -g harp \r\n    \r\nWORKDIR /projects\r\n\r\nCMD tail -f /dev/null\r\n  ```\r\n4. created various projects and installed others dependencies\r\n\r\n4. stopped workspaces and created snapshots\r\n\r\n5. shutted down the virtual machine `sudo shutdown - h now`\r\n\r\n6. shutted down the computer\r\n\r\n7. I went to sleep ;)\r\n\r\n8. Wake up the day after\r\n\r\n8. Restarted the computer and the virtual machine (everything fine)\r\n\r\n8. obtained new ip (dhcp)\r\n\r\n**Expected behavior:**\r\n\r\nFind all the previous workspaces created after loggin in in the new ip (chenged over night due to dhcp)\r\n\r\n**Observed behavior:**\r\n\r\nFind only php workspace. In the folder \r\n`/opt/bitnami/apps/eclipseche/che/workspaces`\r\nevery project is still there.\r\n\r\n**Che version:**    4.7.2-0 (64-bit)   \r\n**OS and version:** windows 10 anniversary / ubuntu 14.04\r\n**Docker version:** 1.12.1\r\n**Che install:**    Bitnami on Virtualbox 5.1.6 r110634 (Qt5.5.1)\r\n\r\n**Additional information:**\r\n\r\n* Problem started happening recently, didn't happen in an older version of Che: No\r\n* Problem can be reliably reproduced, doesn't happen randomly: No\r\n\r\nThank you"},"comment":{"url":"https://api.github.com/repos/eclipse/che/issues/comments/249425092","html_url":"https://github.com/eclipse/che/issues/2585#issuecomment-249425092","issue_url":"https://api.github.com/repos/eclipse/che/issues/2585","id":249425092,"user":{"login":"matteo-bombelli","id":15176885,"avatar_url":"https://avatars.githubusercontent.com/u/15176885?v=3","gravatar_id":"","url":"https://api.github.com/users/matteo-bombelli","html_url":"https://github.com/matteo-bombelli","followers_url":"https://api.github.com/users/matteo-bombelli/followers","following_url":"https://api.github.com/users/matteo-bombelli/following{/other_user}","gists_url":"https://api.github.com/users/matteo-bombelli/gists{/gist_id}","starred_url":"https://api.github.com/users/matteo-bombelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matteo-bombelli/subscriptions","organizations_url":"https://api.github.com/users/matteo-bombelli/orgs","repos_url":"https://api.github.com/users/matteo-bombelli/repos","events_url":"https://api.github.com/users/matteo-bombelli/events{/privacy}","received_events_url":"https://api.github.com/users/matteo-bombelli/received_events","type":"User","site_admin":false},"created_at":"2016-09-25T14:34:40Z","updated_at":"2016-09-25T14:34:40Z","body":"thank you @eivantsov, \r\n\r\nthe file `/opt/bitnami/apps/eclipseche/che/storage/workspaces.json` contains only the php workspace.\r\n\r\nIn the folder `/opt/bitnami/apps/eclipseche/che/workspaces` workspaces files are present (there is a folder with the workspaces names)\r\n\r\nI've taken snapshots of the missing workspaces, do you know where they should be?\r\n\r\nOther Infos:\r\nthe Virtualbox machine has 2048MB of RAM reseved / 1 CPU @ 91% (CPU 2,50GH i3-3120M)\r\n\r\nPS: maybe this is a symptom:\r\nwhen the machine is booting up i can see an error:\r\n```\r\nintel8x0:measure unrielable DMA position\r\n```\r\nrepeated two times\r\n\r\nThank You."}}
{"actor":{"display_login":"matteo-bombelli"}}