[Box-Admins] Re: [squeak-dev] Updating the website (was :Squeak 4.4 download link on squeak.org home page?)

Ken Causey ken at kencausey.com
Thu Mar 7 03:37:18 UTC 2013


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
>>>
>>>> http://ftp.squeak.org/4.4/Squeak-4.4-All-in-One.zip
>>>
>>>> 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
>>>
>>>
>>>
>>>
>>>
>>>
>>
>
>
>



More information about the Box-Admins mailing list