|
From: Jordi P. <jpu...@na...> - 2018-01-08 13:35:45
|
Hi Sohel,
This is a permissions issue. For some reason, 'plone_buildout' user does
not have write privileges for "/usr/local/Plone/buildout-cache/eggs"
folder. Did you run bin/buildout with superadmin privileges instead of
using 'plone_buildout' user?
Be sure the owner of "/usr/local/Plone/buildout-cache" is
"plone_buildout":
$ ls -lha /usr/local/Plone
should give you something like:
drwxr-sr-x 5 plone_buildout plone_group 4.0K Jan 08 2018 .
drwxr-sr-x 4 root staff 4.0K Jun 27 2017 ..
drwxr-xr-x 5 plone_buildout plone_group 4.0K Jan 08 2018 buildout-cache
drwxr-sr-x 7 plone_buildout plone_group 4.0K Jan 08 2018 Python-2.7
drwxr-sr-x 8 plone_buildout plone_group 4.0K Jan 08 2018 zeocluster
Note the third column displays the current owner of that directory.
To make plone_buildout owner of that folder and give him write
privileges recursively you can do the following:
$ sudo chown -R plone_buildout:plone_group buildout-cache
And try again to run bin/buildout:
$ sudo -u plone_buildout bin/buildout -c senaite.cfg
Bests,
Jordi
El dl 08 de 01 de 2018 a les 10:59 +0000, en/na Sohel A Pathan va
escriure:
> Thanks Ronald,
>
> I appreciate your prompt reply.
>
> I have already followed the instruction provided for development installation from https://github.com/senaite/senaite.core/blob/master/README.rst#installation-for-development
>
> I have to check out for ansible playbook, I will revert to you once through it.
>
>
> Sohel
>
> From: ronald munjoma [mailto:si...@gm...]
> Sent: 08 January 2018 03:50 PM
> To: Sohel A Pathan
> Cc: sen...@li...
> Subject: Re: [Senaite-users] Getting while install SENAITE LIMS for development
>
> Hi Sohel,
>
> On 8 January 2018 at 12:02, Sohel A Pathan <sap...@nd...<mailto:sap...@nd...>> wrote:
> Hello All,
>
> I am very much excited to see first look of Senaite in my local environment. First of all congratulation to the entire community. "Nara" and "Riding" you rocks.
>
> I am following the procedure to install the Senaite given at https://github.com/senaite/senaite.core
>
> But getting error as below, please help me out. I am using plone 4.3.11. Prompt help will be appreciated
>
>
> sudo -u plone_buildout bin/buildout -c senaite.cfg
> Develop: '/usr/local/Plone/zeocluster/src/senaite.core'
> error: could not create 'senaite.core.egg-info': Permission denied
>
> Looks like a permissions issue.
>
> Production installation instructions:
> https://github.com/senaite/senaite.core/blob/master/README.rst#ready-to-go-installation
>
> Development installation instructions:
> https://github.com/senaite/senaite.core/blob/master/README.rst#installation-for-development
>
> You may also want to try the ansible playbook for production installation:
> https://github.com/senaite/senaite.ansible-playbook
>
> Best and Regards
> Ronald
>
> While:
> Installing.
> Processing develop directory '/usr/local/Plone/zeocluster/src/senaite.core'.
>
> An internal error occurred due to a bug in either zc.buildout or in a
> recipe being used:
> Traceback (most recent call last):
> File "/usr/local/Plone/buildout-cache/eggs/zc.buildout-2.5.3-py2.7.egg/zc/buildout/buildout.py", line 1995, in main
> getattr(buildout, command)(args)
> File "/usr/local/Plone/buildout-cache/eggs/zc.buildout-2.5.3-py2.7.egg/zc/buildout/buildout.py", line 528, in install
> installed_develop_eggs = self._develop()
> File "/usr/local/Plone/buildout-cache/eggs/zc.buildout-2.5.3-py2.7.egg/zc/buildout/buildout.py", line 770, in _develop
> zc.buildout.easy_install.develop(setup, dest)
> File "/usr/local/Plone/buildout-cache/eggs/zc.buildout-2.5.3-py2.7.egg/zc/buildout/easy_install.py", line 996, in develop
> call_subprocess(args)
> File "/usr/local/Plone/buildout-cache/eggs/zc.buildout-2.5.3-py2.7.egg/zc/buildout/easy_install.py", line 160, in call_subprocess
> % repr(args)[1:-1])
> Exception: Failed to run command:
> '/usr/local/Plone/Python-2.7/bin/python', '/tmp/tmplHUYiw', '-q', 'develop', '-mN', '-d', '/usr/local/Plone/zeocluster/develop-eggs/tmp0w5zgPbuild'
>
>
> Regards,
> Sohel
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Senaite-users mailing list
> Sen...@li...<mailto:Sen...@li...>
> https://lists.sourceforge.net/lists/listinfo/senaite-users
>
>
>
> --
> Best and Regards
> Ronald Munjoma
> +263 775 625 283
>
>
> [https://d13pix9kaak6wt.cloudfront.net/signature/me-badge.png]
>
>
>
> Ronald Munjoma
> about.me/ronaldmunjoma
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Senaite-users mailing list
> Sen...@li...
> https://lists.sourceforge.net/lists/listinfo/senaite-users
|