|
From: Jordi P. <jpu...@na...> - 2018-01-09 11:10:26
|
Hi Sohel, If you followed the instructions from here: https://github.com/senaite/senaite.core/blob/master/README.rst#installation then, you installed senaite.core only. If you like to have the new UI, you can simply add senaite.lims in eggs section from your buildout, stop the instance and run bin/buildout again. This will pull automatically senaite.api and senaite.jsonapi as well. Then, start your instance again, go to Site Setup > add-ons and activate "SENAITE LIMS". El dt 09 de 01 de 2018 a les 05:02 +0000, en/na Sohel A Pathan va escriure: > Hello Jordi, > > Congratulation for Senaite release...!!! You people are doing such a great and hard work. > > Thanks for the reply to my query. > > Please find below the files/folders permission in my server: > > 1) Permission for files and directory inside - /usr/local/Plone/buildout-cache > > drwxr-xr-x. 5 plone_buildout plone_group 47 Nov 23 2014 . > drwxr-sr-x. 6 plone_buildout plone_group 78 Jan 8 14:09 .. > drwxr-xr-x. 3 plone_buildout plone_group 17 Nov 23 2014 downloads > drwxr-xr-x. 273 plone_buildout plone_group 16384 Jan 8 14:08 eggs > drwxr-xr-x. 2 plone_buildout plone_group 6 Nov 23 2014 extends > > 2) Permission for files and directory inside - /usr/local/Plone > > drwxr-sr-x. 6 plone_buildout plone_group 78 Jan 8 14:09 . > drwxr-xr-x. 15 root root 4096 Jan 8 14:01 .. > drwxr-xr-x. 5 plone_buildout plone_group 47 Nov 23 2014 buildout-cache > drwxr-xr-x. 2 plone_buildout plone_group 4096 Jan 8 14:05 Plone-docs > drwxr-xr-x. 6 plone_buildout plone_group 52 Jan 8 14:05 Python-2.7 > drwxr-sr-x. 8 plone_buildout plone_group 4096 Jan 8 19:11 zeocluster > > Note: I have make ".." directory owned by plone_buildout by command - chown -R plone_buildout:plone_group .. > > 3) Permission for files and directory inside - /usr/local > > drwxr-sr-x. 6 plone_buildout plone_group 78 Jan 8 14:09 Plone > > Then, I ran the commend - sudo -u plone_buildout bin/buildout -c senaite.cfg > > Here, is the output of that command - > > -- > Develop: '/usr/local/Plone/zeocluster/src/senaite.core' > warning: no previously-included files matching '*' found under directory 'docs' > warning: no previously-included files matching '*.pyc' found under directory 'bika' > Updating zeoserver. > Updating client1. > Updating client2. > Updating backup. > Updating zopepy. > Updating unifiedinstaller. > Updating precompiler. > Compiling Python files. > Compiling locale files. > Updating setpermissions. > setpermissions: Running # Dummy references to force this to execute after referenced parts > echo /usr/local/Plone/zeocluster/var/backups yes > /dev/null > chmod 600 .installed.cfg > # Make sure anything we've created in var is r/w by our group > find /usr/local/Plone/zeocluster/var -type d -exec chmod 770 {} \; 2> /dev/null > find /usr/local/Plone/zeocluster/var -type f -exec chmod 660 {} \; 2> /dev/null > # but not the egg cache > chmod -R g-w /usr/local/Plone/zeocluster/var/.python-eggs > find /usr/local/Plone/zeocluster/var -type d -exec chmod 770 {} \; 2> /dev/null > find /usr/local/Plone/zeocluster/var -type f -exec chmod 660 {} \; 2> /dev/null > chmod 754 /usr/local/Plone/zeocluster/bin/* > chmod: cannot access â/usr/local/Plone/zeocluster/var/.python-eggsâ: No such file or directory > Versions had to be automatically picked. > The following part definition lists the versions picked: > [versions] > plone.recipe.command = 1.1 > plone.recipe.precompiler = 0.6 > > -- > > But, still not able to see Senait add-on in ZMI. > > Sohel > > -----Original Message----- > From: Jordi Puiggené [mailto:jpu...@na...] > Sent: 08 January 2018 07:00 PM > To: sen...@li... > Subject: Re: [Senaite-users] Getting error while install SENAITE LIMS for development > > 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#install > > ation-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... > > orge.net> > > 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-t > > o-go-installation > > > > Development installation instructions: > > https://github.com/senaite/senaite.core/blob/master/README.rst#install > > ation-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... > > orge.net> 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. > > > |