Seeing the error message "Permission denied -
/var/www/apps/nomore/current/cache/index.data" seems that you have exactly
that, an access permission problem (at least) to the Radiant cache
directory.

   The easiest way to solve this is to try a "chmod a+w -R", on
/var/www/apps/nomore/current/cache/ .  But be aware of security issues.

   /AITOR

On Dec 2, 2007 8:47 PM, Andrew Neil <[EMAIL PROTECTED]> wrote:

> Hi folks,
>
> Slicehost gets a good press around here, so I've decided to try them
> out for my latest Radiant site.
>
> Starting from a fresh Ubuntu Dapper installation, I used deprec to
> install the Rails stack. I have been able to get a pure Rails app up
> and running, but when I try the same procedure with a Radiant site I
> am unsuccessful. I'm issuing the following commands:
>
>        [1]: deprec --apply-to .
>        (edit :domain. :application, and :user in config/deploy.rb)
>        [2]: cap1 setup_ssh_keys
>        [3]: cap1 install_rails_stack
>        [4]: cap1 deprec_setup
>        [5]: cap1 setup_scm
>        (cd to the newly created working copy of project)
>        [6]: cap1 deploy_with_migrations
>        [7]: cap1 restart_apache
>
> Commands 1-5 all work fine, but then it goes awry. Command [6]
> objects, because the radiant gem has not been installed on the
> server. I realise it should be straightforward to add a capistrano
> task to do this, but I'm not sure how, so I just logged into the
> server again and ran:
>
>        sudo gem install -v=0.6.3 radiant
>
> My site uses the Sass extension, so I also ran:
>
>        sudo gem install haml
>
> Following these modifications, commands [6] & [7] seemed to work
> fine, but my site doesn't run.
>
> On the server, I tried this:
>
>        curl -I http://127.0.0.1:8000
>        HTTP/1.1 500 Internal Server Error
>        Connection: close
>        Date: Sun, 02 Dec 2007 19:34:50 GMT
>        Status: 500 Internal Error
>        Last-Modified: Sun, 02 Dec 2007 19:34:50 GMT
>        Server: Mongrel 1.1.1
>        Content-Type: text/html; charset=utf-8
>        Content-Length: 15518
>
> If I run the same command without the `-I` flag, then I get HTML
> source for what appears to be a Rails error page. Here are the first
> lines:
>
>   <h1>Errno::EACCES in SiteController#show_page</h1>
>   <pre>Permission denied - /var/www/apps/nomore/current/cache/
> index.data</pre>
>   <p><code>RAILS_ROOT: /var/www/apps/nomore/current/config/..</
> code></p>
>
> Could anyone suggest what I might attempt to solve this?
>
> Thanks in advance.
>
> ----------
>
> I note that on the Radiant wiki there are How Tos for deployment on a
> number of hosts, but nothing to walk you through from a fresh Ubuntu
> LTS install. I've been taking notes on what I'm doing, and will
> happily turn them into a How To as soon as I get up and running.
> _______________________________________________
> Radiant mailing list
> Post:   [email protected]
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to