Newbie trying to deploy to webfaction.com

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Newbie trying to deploy to webfaction.com

Alan Cyment-2
Dear all,

As one of my first tasks with Seaside I decided to try and deploy a barebones image to my hosting. This message is mostly targeted at those people who have successfully deployed Seaside sites to Webfaction. This is what I did so far:

1- Created custom web app (I was assigned port 54921 - set up application to website seaside.cyment.com)
2- Copied, built and installed Squeak sources on the server
3- Opened locally seaside-mini.image (from seaside.st), stopped the web server (WAKom stop.) and started it on corresponding port (WAKom startOn: 54921.) - saved and quit
4- Copied the image and sources files to the corresponding webapp directory
5- Ran squeak on the server (squeak -vm-display-null seaside-mini.image)
6- Pointed browser at seaside.cyment.com and...error 504 (Service Temporarily Unavailable)

Checked logs on the server and apparently no one is listening to that port. I'm an OSX user, raised using Windows and with little and no UNIX expertise. Worked for some time using VA Smalltalk, so no Squeak expert either.

I'm dying to use Seaside...

TIA,
Alan

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Newbie trying to deploy to webfaction.com

Lukas Renggli
> 5- Ran squeak on the server (squeak -vm-display-null seaside-mini.image)
> 6- Pointed browser at seaside.cyment.com and...error 504 (Service
> Temporarily Unavailable)

The most common problem is that the .sources and .changes files are
not found and that the image opens a pop up dialog waiting for you to
confirm this situation before it continues with the startup process.
Make sure that your image, the changes and the sources are all in the
same directory and accessible for the VM.

Cheers,
Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Newbie trying to deploy to webfaction.com

Philippe Marschall
In reply to this post by Alan Cyment-2
2009/9/8 Alan Cyment <[hidden email]>:

> Dear all,
> As one of my first tasks with Seaside I decided to try and deploy a
> barebones image to my hosting. This message is mostly targeted at those
> people who have successfully deployed Seaside sites to Webfaction. This is
> what I did so far:
> 1- Created custom web app (I was assigned port 54921 - set up application to
> website seaside.cyment.com)
> 2- Copied, built and installed Squeak sources on the server
> 3- Opened locally seaside-mini.image (from seaside.st), stopped the web
> server (WAKom stop.) and started it on corresponding port (WAKom startOn:
> 54921.) - saved and quit
> 4- Copied the image and sources files to the corresponding webapp directory
> 5- Ran squeak on the server (squeak -vm-display-null seaside-mini.image)

Does the squeak process still run? Do you have a SqueakDebug.log file
lying aroung?

Cheers
Philippe
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Newbie trying to deploy to webfaction.com

Alan Cyment-2
In reply to this post by Lukas Renggli
Thanks Lukas, it worked!! .sources was missing.....

Cheers,
Alan

On Tue, Sep 8, 2009 at 3:39 AM, Lukas Renggli <[hidden email]> wrote:
> 5- Ran squeak on the server (squeak -vm-display-null seaside-mini.image)
> 6- Pointed browser at seaside.cyment.com and...error 504 (Service
> Temporarily Unavailable)

The most common problem is that the .sources and .changes files are
not found and that the image opens a pop up dialog waiting for you to
confirm this situation before it continues with the startup process.
Make sure that your image, the changes and the sources are all in the
same directory and accessible for the VM.

Cheers,
Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Newbie trying to deploy to webfaction.com

Alan Cyment-2
In reply to this post by Philippe Marschall
The log file could come in useful some day...I couldn't find it anywhere: how can I set the output path? I didn't find any flag in the VM executable for UNIX.

TIA,
Alan

On Tue, Sep 8, 2009 at 7:13 AM, Philippe Marschall <[hidden email]> wrote:
2009/9/8 Alan Cyment <[hidden email]>:
> Dear all,
> As one of my first tasks with Seaside I decided to try and deploy a
> barebones image to my hosting. This message is mostly targeted at those
> people who have successfully deployed Seaside sites to Webfaction. This is
> what I did so far:
> 1- Created custom web app (I was assigned port 54921 - set up application to
> website seaside.cyment.com)
> 2- Copied, built and installed Squeak sources on the server
> 3- Opened locally seaside-mini.image (from seaside.st), stopped the web
> server (WAKom stop.) and started it on corresponding port (WAKom startOn:
> 54921.) - saved and quit
> 4- Copied the image and sources files to the corresponding webapp directory
> 5- Ran squeak on the server (squeak -vm-display-null seaside-mini.image)

Does the squeak process still run? Do you have a SqueakDebug.log file
lying aroung?

Cheers
Philippe
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Newbie trying to deploy to webfaction.com

Philippe Marschall
2009/9/8 Alan Cyment <[hidden email]>:
> The log file could come in useful some day...I couldn't find it anywhere:
> how can I set the output path? I didn't find any flag in the VM executable
> for UNIX.

It will end up in the folder where the image is in case of an error.

Cheers
Philippe
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside