Re: Problems whem upgrading from 4.3.5 to 4.3.6

espen <[email protected]> Thu, 18 Jun 2015 02:37:27 -0700 (MST)
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <[email protected]>
17. juni 2015 kl. 23:47 skrev eehmke [via Plone] <[email protected]>:

> Yes, what's more: when started via 
> bin/instance fg 
> it runs fine, no restarts. 

I can not see any reason why the below has anything to do with this, but just in case it has:

JS (and CSS) files are also in debug mode, so a JS typo in one JS file will not affetct the others that are usually merged ( in /portal_javascript )
Some files in subfolder in themes are not avalable in  ‘normal mode’ (if not declared properly), but in debug mode they are. (yes, this is almost a bug)

(even more far fetched):
If you run in debug mode, the CSS files will be the same for anon and logged in users (because they are  served one by one, not merged.
This means that if you acces a CSS file as ‘admin’, the file might be avalable to anon users after this
(maybe even more important if a JS file or CSS is made as a browser view ( plonetruegallery, collective.prettyphoto and some other add-ons do this (mine for example)

Espen


> 
> Eggert 
> 
> Am Mittwoch, 17. Juni 2015, 12:37:24 schrieb espen: 
> > probably a stupid suggestion, but: 
> > 
> > Is there any chance that there is a ‘bad add on’ installed ? 
> > Does it start in debug mode OK ? 
> > 
> > Espen 
> > 
> > 17. juni 2015 kl. 16:53 skrev eehmke [via Plone] <ml- 
> [hidden email]>:
> 
> > > Ok now my 4.3.6 Plone instances seem to run. I observed a different 
> > > problem on two servers (different machines): 
> > > 
> > > every 3 or4 minutes the instances are restarted. In the instance.log this 
> > > can be found: 
> > > 
> > > 2015-06-17T16:28:11 INFO Zope Ready to handle requests 
> > > ------ 
> > > 2015-06-17T16:30:00 INFO SignalHandler Caught signal SIGTERM 
> > > ------ 
> > > 2015-06-17T16:30:00 INFO Z2 Shutting down fast 
> > > ------ 
> > > 2015-06-17T16:30:00 INFO ZServer closing HTTP to new connections 
> > > ------ 
> > > 2015-06-17T16:30:00 INFO ZServer closing WebDAV to new connections 
> > > ... 
> > > 
> > > I can't get what causes the SIGTERMs. How can I debug this? 
> > > 
> > > Am Montag, 15. Juni 2015, 16:17:04 schrieb Steve McMahon: 
> > > > Just wanted to add that I've found Jens method rock solid and we're 
> > > > using 
> > > > it in the Plone 5 Unified Installer. 
> > > > 
> > > > setutools annoyances, unfortunately, remain with builds created via the 
> > > > 4.3.x installer. 
> > > > 
> > > > On Mon, Jun 15, 2015 at 1:39 PM, Jens W. Klein <[hidden email]> 
> > > > 
> > > > wrote: 
> > > > > for me it works out fine (universally it seem) as described here: 
> > > > > https://community.plone.org/t/not-using-bootstrap-py-as-default/620
> > > > > 
> > > > > Jens 
> > > > > 
> > > > > On 2015-06-15 13:54, Eggert Ehmke wrote: 
> > > > > > Hello, 
> > > > > > 
> > > > > > I changed my buildout to draw Plone 4.3.6. Now my buildout fails: 
> > > > > > 
> > > > > > $ sudo -u plone_buildout bin/buildout 
> > > > > > 
> > > > > > Traceback (most recent call last): 
> > > > > >   File "bin/buildout", line 17, in <module> 
> > > > > >   
> > > > > >     import zc.buildout.buildout 
> > > > > >   
> > > > > >   File "/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.7.1- 
> > > > > > 
> > > > > > py2.7.egg/zc/buildout/buildout.py", line 40, in <module> 
> > > > > > 
> > > > > >     import zc.buildout.download 
> > > > > >   
> > > > > >   File "/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.7.1- 
> > > > > > 
> > > > > > py2.7.egg/zc/buildout/download.py", line 20, in <module> 
> > > > > > 
> > > > > >     from zc.buildout.easy_install import realpath 
> > > > > >   
> > > > > >   File "/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.7.1- 
> > > > > > 
> > > > > > py2.7.egg/zc/buildout/easy_install.py", line 29, in <module> 
> > > > > > 
> > > > > >     import setuptools.archive_util 
> > > > > >   
> > > > > >   File "build/bdist.linux-i686/egg/setuptools/__init__.py", line 11, 
> > > > > >   in 
> > > > > > 
> > > > > > <module> 
> > > > > > 
> > > > > >   File "build/bdist.linux-i686/egg/setuptools/extension.py", line 8, 
> > > > > >   in 
> > > > > > 
> > > > > > <module> 
> > > > > > 
> > > > > >   File "build/bdist.linux-i686/egg/setuptools/dist.py", line 21, in 
> > > > > 
> > > > > <module> 
> > > > > 
> > > > > > AttributeError: 'module' object has no attribute 'packaging' 
> > > > > > 
> > > > > > I already tried to upgrade my setuptools: 
> > > > > > 
> > > > > > $ sudo ../Python-2.7/bin/easy_install --upgrade setuptools 
> > > > > > Searching for setuptools 
> > > > > > Reading https://pypi.python.org/simple/setuptools/
> > > > > > Best match: setuptools 17.1.1 
> > > > > > Processing setuptools-17.1.1-py2.7.egg 
> > > > > > setuptools 17.1.1 is already the active version in easy-install.pth 
> > > > > > Installing easy_install script to /usr/local/Plone/Python-2.7/bin 
> > > > > > Installing easy_install-2.7 script to 
> > > > > > /usr/local/Plone/Python-2.7/bin 
> > > > > > 
> > > > > > Using /usr/local/Plone/Python-2.7/lib/python2.7/site- 
> > > > > > packages/setuptools-17.1.1-py2.7.egg 
> > > > > > Processing dependencies for setuptools 
> > > > > > Finished processing dependencies for setuptools 
> > > > > > 
> > > > > > This seems to work but does not make a difference. Any ideas? 
> > > > > > 
> > > > > > Regards 
> > > > > > Eggert 
> > > > > 
> > > > > ---------------------------------------------------------------------- 
> > > > > ---- 
> > > > > ---- 
> > > 
> > > -------------------------------------------------------------------------- 
> > > ---- _______________________________________________ 
> > > Plone-Users mailing list 
> > > [hidden email] 
> > > https://lists.sourceforge.net/lists/listinfo/plone-users
> > > 
> > > 
> > > If you reply to this email, your message will be added to the discussion 
> > > below: 
> > > http://plone.293351.n2.nabble.com/Problems-whem-upgrading-from-4-3-5-to-4
> > > -3-6-tp7573985p7574006.html To start a new topic under General Questions, 
> > > email [hidden email] To unsubscribe from Plone, 
> > > click here. 
> > > NAML 
> > 
> > -- 
> > View this message in context: 
> > http://plone.293351.n2.nabble.com/Problems-whem-upgrading-from-4-3-5-to-4-3
> > -6-tp7573985p7574009.html Sent from the General Questions mailing list 
> > archive at Nabble.com.
> 
> 
> 
> ------------------------------------------------------------------------------ 
> _______________________________________________ 
> Plone-Users mailing list 
> [hidden email] 
> https://lists.sourceforge.net/lists/listinfo/plone-users
> 
> 
> If you reply to this email, your message will be added to the discussion below:
> http://plone.293351.n2.nabble.com/Problems-whem-upgrading-from-4-3-5-to-4-3-6-tp7573985p7574010.html
> To start a new topic under General Questions, email ml-node+s293351n293352h65-PKuAHvtXa09l57MIdRCFDg@public.gmane.org 
> To unsubscribe from Plone, click here.
> NAML





--
View this message in context: http://plone.293351.n2.nabble.com/Problems-whem-upgrading-from-4-3-5-to-4-3-6-tp7573985p7574011.html
Sent from the General Questions mailing list archive at Nabble.com.

------------------------------------------------------------------------------

_______________________________________________
Plone-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plone-users