|
From: Jordi P. <jpu...@na...> - 2018-01-08 13:35:47
|
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 12:48 +0000, en/na Sohel A Pathan va
escriure:
> Hi Ronald,
>
> I have followed the installation and configuration steps as given at https://github.com/senaite/senaite.core#ready-to-go-installation for senaite. It build out successfully but when I access it in browser it does not show senaite add-on as was in case of bika.lims and only shows add new plone website option. Am I missing something ? Apart from this as you suggested to try anasible playbook, but I am not able find where to start in https://github.com/senaite/senaite.ansible-playbook
>
> As far as “permission denied” error is concern as reported in previous post, I am not able to figure out where and what type of permission is not provided.
>
> [cid:image002.jpg@01D388AD.203FACC0]
>
>
> Sohel
>
> From: Sohel A Pathan
> Sent: 08 January 2018 04:29 PM
> To: 'ronald munjoma'
> Cc: sen...@li...
> Subject: RE: [Senaite-users] Getting while install SENAITE LIMS for development
>
> 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...<mailto: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
>
>
>
>
>
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: image002.jpg
> Type: image/jpeg
> Size: 76471 bytes
> Desc: image002.jpg
> ------------------------------------------------------------------------------
> 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
--
Jordi Puiggené
LIMS Specialist
NARALABS, S.L.
jpu...@na...
Av. Cerdanyola 81, 3-6
08172 Sant Cugat del Vallès
Barcelona - SPAIN
Tel. +34 93 681 43 87
www.naralabs.com
Confidentiality notice: This message, and if case any attached files, is
confidential, and it's directed exclusively for the use of the
individual or entity to whom it is addressed. If you are not the
intended recipient and received this message in error or have accessed
to it for any reason, please notify us of this fact by email reply and
then destroy or delete the message, refraining from any reproduction,
use, alteration, file or communication of this message to third parties.
The sender does not guarantee the integrity, the accuracy, the swift
delivery or the security of this email transmission, and assumes no
responsibility for any possible damage incurred through data capture,
virus incorporation or other manipulation carried out by third parties.
|