Webide start stop script lost

Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Locked
User avatar
jumpzero
 
Posts: 43
Joined: Thu Feb 21, 2013 8:32 pm

Webide start stop script lost

Post by jumpzero »

Hello,

I have manage to brake my 1 day old webide.
The script /etc/init.d/adafruit-webide.sh is not anymore a valid script!
I don't know how it has happen but look the content:

root@raspberrypi:/home/pi# head /etc/init.d/adafruit-webide.sh
Name: adduser/homedir-permission
Default: true
Description: Do you want system-wide readable home directories?
Description-ar.utf-8: هل ترغب بجعل الأدلة المنزلية مقروءة للجميع؟
Description-be.utf-8: Ці хочаце вы, каб хатнія каталогі былі чытэльныя з усёй сістэмы?
Description-ca.utf-8: Voleu que els directoris personals siguen llegibles per tothom?
Description-cs.utf-8: Chcete domovské adresáře čitelné pro všechny uživatele v systému?
Description-da.utf-8: Ønsker du globalt læsbare hjemmemapper?
Description-de.utf-8: Wünschen Sie systemweit lesbare Home-Verzeichnisse?
Description-es.utf-8: ¿Desea que los directorios personales de los usuarios sean legibles?

Of course I cannot start Webide
Where can I find this script?

If I have more things broken can I totally re-install Occidentalis + WebIde if I save/restore this folder = ~/.ssh

root@raspberrypi:/home/pi# la /home/webide/.ssh/
total 24
drwx------ 2 webide webide 4096 Mar 18 15:29 .
drwxr-xr-x 3 webide webide 4096 Mar 18 15:33 ..
-rw-r--r-- 1 webide webide 147 Mar 18 15:29 config
-rw------- 1 webide webide 1679 Mar 18 15:29 id_rsa_bitbucket
-rw-r--r-- 1 webide webide 400 Mar 18 15:29 id_rsa_bitbucket.pub
-rw-r--r-- 1 webide webide 1326 Mar 18 15:49 known_hosts

I will keep my bitbucket account as well? Or can I delete this as well and I can retrieve my bitbucket account with the password I entered when creating the account?

Thanks
--
Jmp0

User avatar
adafruit_support_mike
 
Posts: 67485
Joined: Thu Feb 11, 2010 2:51 pm

Re: Webide start stop script lost

Post by adafruit_support_mike »

You can get a fresh copy from github: https://github.com/adafruit/Adafruit-We ... er/scripts

User avatar
jumpzero
 
Posts: 43
Joined: Thu Feb 21, 2013 8:32 pm

Re: Webide start stop script lost

Post by jumpzero »

Thanks,

it helps me, however I had no success, to have my WebIde running again, my SD card was corrupted!
I have zeroed it, re-install Occidentalis, apt-get update; apt-get upgrade (around 270 packages ...) and
curl https://raw.github.com/adafruit/Adafrui ... install.sh | sudo sh
Ok WebIDE running again :-)
now I have re-install the whole /home/webide/ that I had backed up before zeroed the SD.
I have all the needed bucket full of bits:
root@raspberrypi:/# ls -la /home/webide/.ssh/
total 24
drwx------ 2 webide webide 4096 Mar 18 09:29 .
drwxr-xr-x 3 webide webide 4096 Mar 18 09:33 ..
-rw-r--r-- 1 webide webide 147 Mar 18 09:29 config
-rw------- 1 webide webide 1679 Mar 18 09:29 id_rsa_bitbucket
-rw-r--r-- 1 webide webide 400 Mar 18 09:29 id_rsa_bitbucket.pub
-rw-r--r-- 1 webide webide 1326 Mar 18 09:49 known_hosts
But when connecting from my browser to Webide I still go automatically to http://raspberrypi.local/[b]setup[/b]
the screen ask me to create my BucketBit account... How get out of that and go to the true WebIDE
(If I go to Bitbucket web site I'm connected to my account)
Do I have to create new keys?

Thanks
--
Jmp0

User avatar
jumpzero
 
Posts: 43
Joined: Thu Feb 21, 2013 8:32 pm

Re: Webide start stop script lost

Post by jumpzero »

Hi!

Sorry I found solution myself
From Bitbucket site I have edited Raspberry Pi webIde in integrated applications and get back my keys copy paste in WebIDE and it,s ok
Let's now fill up this bucket with some bits
Thanks
--
Jmp0

Locked
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Return to “Adafruit Raspberry Pi® accessories”