Git Product home page Git Product logo

cookbook-magento's People

Contributors

brint avatar computerlyrik avatar yevgenko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cookbook-magento's Issues

Presumed apc.ini location is incorrect for Ubuntu 14.04

When attempting to run this recipe on Ubuntu 14.04, I encountered an error regarding the location of the apc.ini file. The recipe installs PHP 5.5 (with which I do not believe Magento is even technically compatible). Part of the issue seems to be that PHP 5.5 uses the new Zend OpCache and APC is now replaced by APCu in the package php-apc. Thus, the location /etc/php5/conf.d being used in the recipe does not exist: https://github.com/yevgenko/cookbook-magento/blob/master/recipes/default.rb#L23. The error was: No such file or directory - /etc/php5/conf.d.

I think the possible fix here might be either specifying that PHP is installed with a specific version (that is less than 5.5) or fixing the portion of the recipe that deals with APC to search in the correct location, which appears to be /etc/php5/fpm/conf.d/20-apcu.ini. Any thoughts on this?

Cookbook 'nginx' does not contain a file (templates/default/nginx-site.erb) (+fix)

Hi,

When using this cookbook with nginx as the web server, I encountered the following error:


==> magento: ================================================================================
==> magento: Error executing action `create` on resource 'template[/etc/nginx/sites-available/default]'
==> magento: ================================================================================
==> magento: 
==> magento: 
==> magento: Chef::Exceptions::FileNotFound
==> magento: ------------------------------
==> magento: Cookbook 'nginx' (2.7.4) does not contain a file at any of these locations:
==> magento:   templates/centos-6.5/nginx-site.erb
==> magento:   templates/centos/nginx-site.erb
==> magento:   templates/default/nginx-site.erb

This is because the template defined on line 26 of the _web_nginx recipe is duplicating the template already defined within the nginx recipe at "#{node['nginx']['dir']}/sites-available/default" which installs the nginx default site, later to be deleted by this recipe.

When a template is defined twice, the second definition inherits attributes from the first, including it seems the cookbook - meaning that when the magento recipe attempts to write this file from its own template, chef looks in the nginx cookbook for the file.

A simple fix is adding cookbook "magento" to the template definition in _web_nginx. This forces chef to look for the resource in the magento recipe.

I wasn't sure whether it would be something you'd want to include, or look at a different solution such as not installing the nginx default site in the first place... but thought I'd document since I'd figured it out. I can submit a PR with the change if you like.

Magento cookbook in ubuntu14.04

Hi,
I have running magento cookbook for ubuntu14.04,it shows apc error that get resolved Again shows libmysql package not found,so remove that for this platform,since no need libmysql for this platform.When again running it shows failure in restarting a php5-fpm service.when i ping that ip in browser it shows magento page but with mcrypt php missing error.So i enable phpenmod mcrypt and restart a php5-fpm service.Working fine.So now my query is "where to add this phpenmod mcrypt in a cookbook? Shall i add in definition of a magento cookbook.

Thanks, inhu

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.