Re: [spree-user] spree install problems

370 views
Skip to first unread message

Peter Berkenbosch

unread,
Aug 29, 2012, 11:46:36 AM8/29/12
to spree...@googlegroups.com
Can you show us the apache config? Specially the passenger root? Guessing that there is your issue.

Also take a look at the error logs, might be some hints in there as well.

Sent from my iPhone

On 29 aug. 2012, at 17:36, Jonathan Collins <jcol...@collinssolutions.com> wrote:

ok so i installed spree and went though all kinds of greef to get it to install. I got all the pre reqs done and installed with this as the result.

We added the following line to your application's config/routes.rb file:
 
    mount Spree::Core::Engine, :at => '/'
**************************************************
Spree has been installed successfully. You're all ready to go!
 
Enjoy!
precompiling  assets
/home/ubuntu/.rvm/rubies/ruby-1.9.3-p194/bin/ruby /home/ubuntu/.rvm/gems/ruby-1.9.3-p194@global/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets

But when i go to my site it says The page you were looking for doesn't exist.

You may have mistyped the address or the page may have moved.

I am on a new EC2 Ubuntu 12.04 machine using apache with passenger. The ruby application worked fine and had the default scren before installing spree. As far as i can see everything worked ok. It populated the database and everything. Any help would be appreciated.

--
You received this message because you are subscribed to the Google Groups "Spree" group.
To view this discussion on the web visit https://groups.google.com/d/msg/spree-user/-/HEHH7DVtoVIJ.
To post to this group, send email to spree...@googlegroups.com.
To unsubscribe from this group, send email to spree-user+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/spree-user?hl=en.

Jonathan Collins

unread,
Aug 29, 2012, 2:42:59 PM8/29/12
to spree...@googlegroups.com, peterber...@me.com
https.conf

LoadModule passenger_module /home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/passenger-3.0.17/ext/apache2/mod_passenger.so
   PassengerRoot /home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/passenger-3.0.17
   PassengerRuby /home/ubuntu/.rvm/wrappers/ruby-1.9.3-p194/ruby

default conf
<VirtualHost *:80>
        ServerAdmin webmaster@localhost
        ServerName ruby.collinssolutions.com
        ServerAlias ruby.collinssolutions.com
        DocumentRoot /home/ubuntu/csspree/public
        <Directory /home/ubuntu/csspree/public/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Order allow,deny
                allow from all
        </Directory>

        ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
        <Directory "/usr/lib/cgi-bin">
                AllowOverride None
                Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                Order allow,deny
                Allow from all
        </Directory>

        ErrorLog ${APACHE_LOG_DIR}/error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog ${APACHE_LOG_DIR}/access.log combined

</VirtualHost>

Nothing in error log that i can see i tried reinstall spree and now i get this at the root site ruby.collinssolutions.com

We're sorry, but something went wrong.

Matteo Latini

unread,
Aug 30, 2012, 4:18:57 AM8/30/12
to spree...@googlegroups.com
The apache configuration (from what I remember) seems fine.

It could also be a rails application error; have a look inside  /home/ubuntu/csspree/log/production.log

--
Matteo Latini

To view this discussion on the web visit https://groups.google.com/d/msg/spree-user/-/g7cfRuWzB7wJ.

Jonathan Collins

unread,
Aug 30, 2012, 5:44:23 PM8/30/12
to spree...@googlegroups.com
i nixed apache and did nginx and still get the passenger error

These are the possible causes:
  • There may be a syntax error in the application's code. Please check for such errors and fix them.
  • A required library may not installed. Please install all libraries that this application requires.
  • The application may not be properly configured. Please check whether all configuration files are written correctly, fix any incorrect configurations, and restart this application.
  • A service that the application relies on (such as the database server or the Ferret search engine server) may not have been started. Please start that service.
Further information about the error may have been written to the application's log file. Please check it in order to analyse the problem.
Error message:
Operation not permitted - /home/ubuntu/my_store/tmp/cache/0AB/EC1/spree%2Fcalculator%2Fflat_rate%2Famount%2F13537749
Exception class:
Errno::EPERM
Application root:
/home/ubuntu/my_store
Backtrace:
#FileLineLocation
0/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/core_ext/file/atomic.rb39in `chown'
1/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/core_ext/file/atomic.rb39in `atomic_write'
2/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/cache/file_store.rb91in `write_entry'
3/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/cache/strategy/local_cache.rb140in `write_entry'
4/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/cache.rb364in `block in write'
5/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/cache.rb520in `instrument'
6/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/cache.rb362in `write'
7/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/spree_core-1.1.3/app/models/spree/preferences/store.rb61in `block in load_preferences'
8/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.8/lib/active_record/relation/delegation.rb6in `each'
9/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.8/lib/active_record/relation/delegation.rb6in `each'
10/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/spree_core-1.1.3/app/models/spree/preferences/store.rb59in `load_preferences'
11/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/spree_core-1.1.3/app/models/spree/preferences/store.rb17in `initialize'
12/home/ubuntu/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/singleton.rb141in `new'
13/home/ubuntu/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/singleton.rb141in `block in instance'
14prelude>10:in `synchronize'
15/home/ubuntu/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/singleton.rb139in `instance'
16/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/spree_core-1.1.3/app/models/spree/preferences/preferable.rb133in `preference_store'
17/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/spree_core-1.1.3/app/models/spree/preferences/preferable_class_methods.rb13in `block in preference'
18/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/spree_core-1.1.3/app/models/spree/preferences/preferable.rb34in `get_preference'
19/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/spree_core-1.1.3/lib/spree/core/mail_settings.rb9in `init'
20/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/spree_core-1.1.3/lib/spree/core/engine.rb87in `block in '
21/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/initializable.rb30in `instance_exec'
22/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/initializable.rb30in `run'
23/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/initializable.rb55in `block in run_initializers'
24/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/initializable.rb54in `each'
25/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/initializable.rb54in `run_initializers'
26/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/application.rb136in `initialize!'
27/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.8/lib/rails/railtie/configurable.rb30in `method_missing'
28/home/ubuntu/my_store/config/environment.rb5in `'
29config.ru3in `require'
30config.ru3in `block in '
31/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/builder.rb51in `instance_eval'
32/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/builder.rb51in `initialize'
33config.ru1in `new'
34config.ru1in `'
35/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/passenger-3.0.17/lib/phusion_passenger/rack/application_spawner.rb225in `eval'
36/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/passenger-3.0.17/lib/phusion_passenger/rack/application_spawner.rb225in `load_rack_app'
37/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/passenger-3.0.17/lib/phusion_passenger/rack/application_spawner.rb157in `block in initialize_server'
38/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/passenger-3.0.17/lib/phusion_passenger/utils.rb563in `report_app_init_status'
39/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/passenger-3.0.17/lib/phusion_passenger/rack/application_spawner.rb154in `initialize_server'
40/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/passenger-3.0.17/lib/phusion_passenger/abstract_server.rb204in `start_synchronously'
41/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/passenger-3.0.17/lib/phusion_passenger/abstract_server.rb180in `start'
42/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/passenger-3.0.17/lib/phusion_passenger/rack/application_spawner.rb129in `start'
43/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/passenger-3.0.17/lib/phusion_passenger/spawn_manager.rb253in `block (2 levels) in spawn_rack_application'
44/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/passenger-3.0.17/lib/phusion_passenger/abstract_server_collection.rb132in `lookup_or_add'
45/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/passenger-3.0.17/lib/phusion_passenger/spawn_manager.rb246in `block in spawn_rack_application'
46/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/passenger-3.0.17/lib/phusion_passenger/abstract_server_collection.rb82in `block in synchronize'
47prelude>10:in `synchronize'
48/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/passenger-3.0.17/lib/phusion_passenger/abstract_server_collection.rb79in `synchronize'
49/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/passenger-3.0.17/lib/phusion_passenger/spawn_manager.rb244in `spawn_rack_application'
50/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/passenger-3.0.17/lib/phusion_passenger/spawn_manager.rb137in `spawn_application'
51/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/passenger-3.0.17/lib/phusion_passenger/spawn_manager.rb275in `handle_spawn_application'
52/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/passenger-3.0.17/lib/phusion_passenger/abstract_server.rb357in `server_main_loop'
53/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/passenger-3.0.17/lib/phusion_passenger/abstract_server.rb206in `start_synchronously'
54/home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/passenger-3.0.17/helper-scripts/passenger-spawn-server99in `'

Jonathan Collins

unread,
Aug 30, 2012, 10:26:24 PM8/30/12
to spree...@googlegroups.com
so now i got the main store to pull up but all the sample products are missing their images. also when i go to admin it routes to the login and after login i get this.

Errno::EPERM in Spree/admin/overview#index

Showing /home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/spree_core-1.1.3/app/views/spree/admin/shared/_head.html.erb where line #6 raised:

Operation not permitted - /home/ubuntu/my_store/tmp/cache/assets/E6A/A60/sprockets%2F7ffdd6d3247acbbcbc4f678bce3d6d78

Extracted source (around line #6):

3: <title><%= "Spree #{t('administration')}: " %>
4: <%= t(controller.controller_name, :default => controller.controller_name.titleize) %></title>
5: 
6: <%= stylesheet_link_tag 'admin/all' %>
7: <%= javascript_include_tag 'admin/all' %>
8: 
9: <%= javascript_tag do %>

Trace of template inclusion: /home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/spree_core-1.1.3/app/views/spree/layouts/admin.html.erb

Rails.root: /home/ubuntu/my_store

Application Trace | Framework Trace | Full Trace
activesupport (3.2.8) lib/active_support/core_ext/file/atomic.rb:39:in `chown'
activesupport (3.2.8) lib/active_support/core_ext/file/atomic.rb:39:in `atomic_write'
activesupport (3.2.8) lib/active_support/cache/file_store.rb:91:in `write_entry'
activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:140:in `write_entry'
activesupport (3.2.8) lib/active_support/cache.rb:364:in `block in write'
activesupport (3.2.8) lib/active_support/cache.rb:520:in `instrument'
activesupport (3.2.8) lib/active_support/cache.rb:362:in `write'
sprockets (2.1.3) lib/sprockets/caching.rb:90:in `cache_set'
sprockets (2.1.3) lib/sprockets/caching.rb:53:in `cache_set_hash'
sprockets (2.1.3) lib/sprockets/caching.rb:24:in `cache_asset'
sprockets (2.1.3) lib/sprockets/index.rb:88:in `build_asset'
sprockets (2.1.3) lib/sprockets/base.rb:163:in `find_asset'
sprockets (2.1.3) lib/sprockets/index.rb:56:in `find_asset'
sprockets (2.1.3) lib/sprockets/processed_asset.rb:106:in `block in build_required_assets'
sprockets (2.1.3) lib/sprockets/processed_asset.rb:100:in `each'
sprockets (2.1.3) lib/sprockets/processed_asset.rb:100:in `build_required_assets'
sprockets (2.1.3) lib/sprockets/processed_asset.rb:16:in `initialize'
sprockets (2.1.3) lib/sprockets/base.rb:241:in `new'
sprockets (2.1.3) lib/sprockets/base.rb:241:in `block in build_asset'
sprockets (2.1.3) lib/sprockets/base.rb:262:in `circular_call_protection'
sprockets (2.1.3) lib/sprockets/base.rb:240:in `build_asset'
sprockets (2.1.3) lib/sprockets/index.rb:89:in `block in build_asset'
sprockets (2.1.3) lib/sprockets/caching.rb:19:in `cache_asset'
sprockets (2.1.3) lib/sprockets/index.rb:88:in `build_asset'
sprockets (2.1.3) lib/sprockets/base.rb:163:in `find_asset'
sprockets (2.1.3) lib/sprockets/index.rb:56:in `find_asset'
sprockets (2.1.3) lib/sprockets/processed_asset.rb:106:in `block in build_required_assets'
sprockets (2.1.3) lib/sprockets/processed_asset.rb:100:in `each'
sprockets (2.1.3) lib/sprockets/processed_asset.rb:100:in `build_required_assets'
sprockets (2.1.3) lib/sprockets/processed_asset.rb:16:in `initialize'
sprockets (2.1.3) lib/sprockets/base.rb:241:in `new'
sprockets (2.1.3) lib/sprockets/base.rb:241:in `block in build_asset'
sprockets (2.1.3) lib/sprockets/base.rb:262:in `circular_call_protection'
sprockets (2.1.3) lib/sprockets/base.rb:240:in `build_asset'
sprockets (2.1.3) lib/sprockets/index.rb:89:in `block in build_asset'
sprockets (2.1.3) lib/sprockets/caching.rb:19:in `cache_asset'
sprockets (2.1.3) lib/sprockets/index.rb:88:in `build_asset'
sprockets (2.1.3) lib/sprockets/base.rb:163:in `find_asset'
sprockets (2.1.3) lib/sprockets/index.rb:56:in `find_asset'
sprockets (2.1.3) lib/sprockets/bundled_asset.rb:16:in `initialize'
sprockets (2.1.3) lib/sprockets/base.rb:244:in `new'
sprockets (2.1.3) lib/sprockets/base.rb:244:in `build_asset'
sprockets (2.1.3) lib/sprockets/index.rb:89:in `block in build_asset'
sprockets (2.1.3) lib/sprockets/caching.rb:19:in `cache_asset'
sprockets (2.1.3) lib/sprockets/index.rb:88:in `build_asset'
sprockets (2.1.3) lib/sprockets/base.rb:163:in `find_asset'
sprockets (2.1.3) lib/sprockets/index.rb:56:in `find_asset'
sprockets (2.1.3) lib/sprockets/environment.rb:74:in `find_asset'
sprockets (2.1.3) lib/sprockets/base.rb:171:in `[]'
actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:126:in `asset_for'
actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:44:in `block in stylesheet_link_tag'
actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:43:in `collect'
actionpack (3.2.8) lib/sprockets/helpers/rails_helper.rb:43:in `stylesheet_link_tag'
spree_core (1.1.3) app/views/spree/admin/shared/_head.html.erb:6:in `_305cbe2587795af4fc214efddadc11fb'
actionpack (3.2.8) lib/action_view/template.rb:145:in `block in render'
activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument'
actionpack (3.2.8) lib/action_view/template.rb:143:in `render'
deface (0.9.1) lib/deface/action_view_extensions.rb:37:in `render'
actionpack (3.2.8) lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
actionpack (3.2.8) lib/action_view/renderer/partial_renderer.rb:238:in `block in render'
actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionpack (3.2.8) lib/action_view/renderer/partial_renderer.rb:237:in `render'
actionpack (3.2.8) lib/action_view/renderer/renderer.rb:41:in `render_partial'
actionpack (3.2.8) lib/action_view/renderer/renderer.rb:15:in `render'
actionpack (3.2.8) lib/action_view/helpers/rendering_helper.rb:24:in `render'
spree_core (1.1.3) app/views/spree/layouts/admin.html.erb:5:in `_37b9fe470c0e92b08da4cc91c6a0689f'
actionpack (3.2.8) lib/action_view/template.rb:145:in `block in render'
activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument'
actionpack (3.2.8) lib/action_view/template.rb:143:in `render'
deface (0.9.1) lib/deface/action_view_extensions.rb:37:in `render'
actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:59:in `render_with_layout'
actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:18:in `render'
actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template'
actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render'
actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template'
actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template'
actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body'
actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render'
actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
/home/ubuntu/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms'
actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render'
actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.2.8) lib/active_support/callbacks.rb:491:in `_run__3065252070652210332__process_action__1688449698522093921__callbacks'
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
spree_core (1.1.3) lib/spree/core/middleware/redirect_legacy_product_url.rb:13:in `call'
spree_core (1.1.3) lib/spree/core/middleware/seo_assist.rb:27:in `call'
railties (3.2.8) lib/rails/engine.rb:479:in `call'
railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
warden (1.1.1) lib/warden/manager.rb:35:in `block in call'
warden (1.1.1) lib/warden/manager.rb:34:in `catch'
warden (1.1.1) lib/warden/manager.rb:34:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.1) lib/rack/etag.rb:23:in `call'
rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__696117699314842392__call__1078866062835086781__callbacks'
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.1) lib/rack/lock.rb:15:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
railties (3.2.8) lib/rails/engine.rb:479:in `call'
railties (3.2.8) lib/rails/application.rb:223:in `call'
railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing'
passenger (3.0.17) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request'
passenger (3.0.17) lib/phusion_passenger/abstract_request_handler.rb:516:in `accept_and_process_next_request'
passenger (3.0.17) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'
passenger (3.0.17) lib/phusion_passenger/rack/application_spawner.rb:206:in `start_request_handler'
passenger (3.0.17) lib/phusion_passenger/rack/application_spawner.rb:171:in `block in handle_spawn_application'
passenger (3.0.17) lib/phusion_passenger/utils.rb:470:in `safe_fork'
passenger (3.0.17) lib/phusion_passenger/rack/application_spawner.rb:166:in `handle_spawn_application'
passenger (3.0.17) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
passenger (3.0.17) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
passenger (3.0.17) lib/phusion_passenger/abstract_server.rb:180:in `start'
passenger (3.0.17) lib/phusion_passenger/rack/application_spawner.rb:129:in `start'
passenger (3.0.17) lib/phusion_passenger/spawn_manager.rb:253:in `block (2 levels) in spawn_rack_application'
passenger (3.0.17) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'
passenger (3.0.17) lib/phusion_passenger/spawn_manager.rb:246:in `block in spawn_rack_application'
passenger (3.0.17) lib/phusion_passenger/abstract_server_collection.rb:82:in `block in synchronize'
<internal:prelude>:10:in `synchronize'
passenger (3.0.17) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
passenger (3.0.17) lib/phusion_passenger/spawn_manager.rb:244:in `spawn_rack_application'
passenger (3.0.17) lib/phusion_passenger/spawn_manager.rb:137:in `spawn_application'
passenger (3.0.17) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
passenger (3.0.17) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
passenger (3.0.17) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
passenger (3.0.17) helper-scripts/passenger-spawn-server:99:in `<main>'

Request

Parameters:

None

Show session dump

Show env dump

Response

Headers:

None

Matteo Latini

unread,
Aug 31, 2012, 3:34:02 AM8/31/12
to spree...@googlegroups.com
You have filesystem permission problems...

The /home/ubuntu/my_store/tmp directory needs to be writable by the user running the webserver.

--
Matteo Latini

--
You received this message because you are subscribed to the Google Groups "Spree" group.
To view this discussion on the web visit https://groups.google.com/d/msg/spree-user/-/x5YKPo2JFgQJ.

Jonathan Collins

unread,
Aug 31, 2012, 9:31:44 AM8/31/12
to spree...@googlegroups.com
Yeah that was the problem. Thanks

Jonathan Collins

unread,
Aug 31, 2012, 10:30:58 AM8/31/12
to spree...@googlegroups.com
well i almost had it all running now when i click on a product or go back to the main site i get
Error message:
git://github.com/spree/spree_auth_devise (at master) is not checked out. Please run `bundle install` (Bundler::GitError)

Ryan Bigg

unread,
Aug 31, 2012, 10:59:08 AM8/31/12
to spree...@googlegroups.com
Did you run bundle install?
--
You received this message because you are subscribed to the Google Groups "Spree" group.
To view this discussion on the web visit https://groups.google.com/d/msg/spree-user/-/wjk90hyqaGAJ.
Reply all
Reply to author
Forward
0 new messages