OK, well I've left things in a state where the site is currently working, but not really under VNC. What I mean is that VNC is now running under the website account so if you have the password you can now access it. BUT I cannot get the image to run unless the option -vm-display=none is specified. If you access VNC you will find a terminal running and a foreground process for the website, you can just hit ctrl-c to stop it.
See /home/website/.vnc/xstartup and /home/website/servicenew/run for examples of how to run the website. The first is what happens when you start the VNC server, note of course that I've commented out what is normally there and added xterm for now. When I found it the contents were
#!/bin/sh
#/usr/bin/squeakvm /home/website/website/squeaksite.image & /usr/local/bin/squeak311 /home/website/website/squeaksite.image &
This contrasts with the normal (under daemontools) process which uses the /usr/bin/squeakvm . I tried both VMs with much the same result. The image starts up and for 2-3 seconds you can see it but then it segfaults without any opportunity to even write a SqueakDebug.log.
Oh (and sorry for the random order of my comments here), note that the image I initially found is now at /home/website/website/squeaksite-questionable.image. One of the first things I tried was to restore a copy from the local backup (from 3/3) which is what is currently at squeaksite.* (I replaced both the image and changes). I have since tried both image/changes and the results are the same.
If I think of something to try I will try it, but mainly I wanted to get this in a state where at least Janko could fiddle with it and anyone else with VNC access as well. If you don't have the VNC password feel free to ask for it. Note that only one person can access VNC at a time. If you are in VNC it is probably a good idea to be also in IRC on #squeak, if you want to get in and can't then check on #squeak to see if you can find someone who is currently using it and you can chat with them and maybe get your turn.
On the subject of how to (normally) change from a headless (under daemontools) to a head-full (under VNC) status with the website here is the 'right' way to do it:
1. sudo svc -d /service/www.squeak.org This kills the current process and tells daemontools to not start it back up. 2. (as website) vncserver
that's it. To put things back to rights
1. vncserver -kill :1 (This should be the X display number that vncserver stated was being used above) 2. sudo svc -u /service/www.squeak.org
Ken
On 03/06/2013 08:55 PM, Ken Causey wrote:
First let me note that Janko's description of how to get VNC access working below is not quite right, I'll clarify in a separate email later.
For some reason the website won't run under VNC but does so fine otherwise. I'm going to reboot the server, it's about due for it anyway, and then try again at which point I will report back.
Ken
On 03/06/2013 03:56 PM, Janko Mivšek wrote:
Hi guys,
Dne 06. 03. 2013 22:13, piše Chris Cunnington:
This is now at
Someone please update the website.
- Bert -
The main content area of the Scribo/Aida is easy to change, as it's a wiki. The columns on either side are harder. The Download section, I believe, requires a code change.
Yep, because of PayPal interference those sections are not editable anymore without small code change.
Somebody needs to VNC in and make a change somewhere. I had a VNC password, but I don't know what happened to it. And it was spotty at best. Janko posted today, so maybe you could ask him. This may be the time to switch to the a new website. The
Someone with root access please:
- kill the 'supervise www.squeak.org' process (4176)
- kill the website's squeakvm process (21280)
- su website
- tightvncserver&
After that the website iamge will be accessible via VNC and I can edit it.
Best regards Janko
Altitude one I developed or someone could make one with Seaside. I imagine those are all the options.
Chris
Hi guys,
Download link to the 4.4 all-in-one on the website is now updated.
As Ken already noticed the image is unfortunately broken on the GUI side (see attached screenshot) and therefore unmaintainable, but it is still working headless, persistence is working by snapshots every hour, content can be edited, etc. So, we can continue to run it for quite a while but a reserve scenario is needed anyway.
I'd propose that at least for short-term we continue with last summer action to upgrade website to the latest Aida. Then I namely managed to migrate most of it already, maybe a day or two is yet needed to finish that part.
This way Chris can have a time to continue work on a new website. At least on the new design and content if not the complete one. Newest Aida 6.5 namely supports Twitter Bootstrap CSS framework used for the new design, so we can adopt the new design easily, if needed.
For the end I specially like to thank Ken for the help and exact instructions how to restart and run the website in the future.
Best regards Janko
Dne 07. 03. 2013 04:37, piše Ken Causey:
OK, well I've left things in a state where the site is currently working, but not really under VNC. What I mean is that VNC is now running under the website account so if you have the password you can now access it. BUT I cannot get the image to run unless the option -vm-display=none is specified. If you access VNC you will find a terminal running and a foreground process for the website, you can just hit ctrl-c to stop it.
See /home/website/.vnc/xstartup and /home/website/servicenew/run for examples of how to run the website. The first is what happens when you start the VNC server, note of course that I've commented out what is normally there and added xterm for now. When I found it the contents were
#!/bin/sh
#/usr/bin/squeakvm /home/website/website/squeaksite.image & /usr/local/bin/squeak311 /home/website/website/squeaksite.image &
This contrasts with the normal (under daemontools) process which uses the /usr/bin/squeakvm . I tried both VMs with much the same result. The image starts up and for 2-3 seconds you can see it but then it segfaults without any opportunity to even write a SqueakDebug.log.
Oh (and sorry for the random order of my comments here), note that the image I initially found is now at /home/website/website/squeaksite-questionable.image. One of the first things I tried was to restore a copy from the local backup (from 3/3) which is what is currently at squeaksite.* (I replaced both the image and changes). I have since tried both image/changes and the results are the same.
If I think of something to try I will try it, but mainly I wanted to get this in a state where at least Janko could fiddle with it and anyone else with VNC access as well. If you don't have the VNC password feel free to ask for it. Note that only one person can access VNC at a time. If you are in VNC it is probably a good idea to be also in IRC on #squeak, if you want to get in and can't then check on #squeak to see if you can find someone who is currently using it and you can chat with them and maybe get your turn.
On the subject of how to (normally) change from a headless (under daemontools) to a head-full (under VNC) status with the website here is the 'right' way to do it:
- sudo svc -d /service/www.squeak.org
This kills the current process and tells daemontools to not start it back up. 2. (as website) vncserver
that's it. To put things back to rights
- vncserver -kill :1 (This should be the X display number that
vncserver stated was being used above) 2. sudo svc -u /service/www.squeak.org
Ken
On 03/06/2013 08:55 PM, Ken Causey wrote:
First let me note that Janko's description of how to get VNC access working below is not quite right, I'll clarify in a separate email later.
For some reason the website won't run under VNC but does so fine otherwise. I'm going to reboot the server, it's about due for it anyway, and then try again at which point I will report back.
Ken
On 03/06/2013 03:56 PM, Janko Mivšek wrote:
Hi guys,
Dne 06. 03. 2013 22:13, piše Chris Cunnington:
This is now at
Someone please update the website.
- Bert -
The main content area of the Scribo/Aida is easy to change, as it's a wiki. The columns on either side are harder. The Download section, I believe, requires a code change.
Yep, because of PayPal interference those sections are not editable anymore without small code change.
Somebody needs to VNC in and make a change somewhere. I had a VNC password, but I don't know what happened to it. And it was spotty at best. Janko posted today, so maybe you could ask him. This may be the time to switch to the a new website. The
Someone with root access please:
- kill the 'supervise www.squeak.org' process (4176)
- kill the website's squeakvm process (21280)
- su website
- tightvncserver&
After that the website iamge will be accessible via VNC and I can edit it.
Best regards Janko
Altitude one I developed or someone could make one with Seaside. I imagine those are all the options.
Chris
--------- Original Message --------- Subject: Re: [Box-Admins] Re: [squeak-dev] Updating the website (was :Squeak 4.4 download link on squeak.org home page?) From: Janko Mivšekjanko.mivsek@eranova.si Date: 3/7/13 3:36 am To: "Squeak" squeak-dev@lists.squeakfoundation.org Cc: "Squeak Hosting Support" box-admins@lists.squeakfoundation.org, "Squeak Web Team list" webteam@lists.squeakfoundation.org
Hi guys,
Download link to the 4.4 all-in-one on the website is now updated.
As Ken already noticed the image is unfortunately broken on the GUI side (see attached screenshot) and therefore unmaintainable, but it is still working headless, persistence is working by snapshots every hour, content can be edited, etc. So, we can continue to run it for quite a while but a reserve scenario is needed anyway.
I'd propose that at least for short-term we continue with last summer action to upgrade website to the latest Aida. Then I namely managed to migrate most of it already, maybe a day or two is yet needed to finish that part.
This way Chris can have a time to continue work on a new website. At least on the new design and content if not the complete one. Newest Aida 6.5 namely supports Twitter Bootstrap CSS framework used for the new design, so we can adopt the new design easily, if needed.
For the end I specially like to thank Ken for the help and exact instructions how to restart and run the website in the future.
Best regards Janko Thanks Janko! Does the site need to remain running under VNC for now or can I put it back in its usual state under daemontools again?
Ken
webteam@lists.squeakfoundation.org