JimL | 1 Aug 12:50
Picon
Picon
Favicon
Gravatar

Re: Buildout file permissions wrong?


Hi Steve,

the permissions on my opt directory are 755.

I've since looked through install.sh from the unified installer, and all the
helper scripts it calls, and (apart from adminPassword.txt and buildout.cfg)
really can't see that any permission is anything other than 755. Even the
"var" directory (containing the data.fs) appears to be 755.

Obviously adminPassword.txt and buildout.cfg need to be 600 or such as they
both contain the admin password.

I think all my problems were simply because when I ran buildout my umask was
not 022. I'll change it, and hopefully should not have any more problems.

I'm wondering if it is worth adding something about umasks to Martin's
buildout tutorial (http://plone.org/documentation/tutorial/buildout). For me
the issue proved to be a bit of a gotcha.

Many thanks for your help!

Cheers,  Jim

Steve McMahon wrote:
> 
> The Unified Installer's script early on sets "umask 022" -- then it
> changes
> individual and directory permissions where that's not good enough.
> 
(Continue reading)

BBQigniter | 1 Aug 14:34
Picon

Active Directory and Single Sign On


We have now Plone 3.0.5 running for about a year with SSO setup described in
http://plone.org/documentation/how-to/singlesignonwindowsdomains. But since
Firefox 3 is out we have users complaining about SSO not working anymore
even if the site is added to "network.automatic-ntlm-auth.trusted-uris" in
about:config. I have also tried it on my PC and can only validate this
problem. We also have sometimes the problem that a login screen appears if
you want to open the intranet-site (in IE and Firefox) - normaly deleting
the web-browser's cache is solving this problem. 

My question/s: Is there another solution how I can get SSO running?

Plone is running on a Debian 4.0r3 Linux Server.
--

-- 
View this message in context: http://n2.nabble.com/Active-Directory-and-Single-Sign-On-tp664209p664209.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.

Dale DeWitt | 3 Aug 05:19
Picon

changing 8080 default port zope.conf

I can't seem to change

<http-server>
  # valid keys are "address" and "force-connection-close"
  address 8080
  # force-connection-close on
</http-server>

in zope.conf to 8082 say, without being stuck out of the root folder.
Is this the only configuration file to consider for this port change?
When I change it back to 8080 I connect.

tonyoconnell | 3 Aug 11:03
Picon
Favicon

plonegetpaid-0.6.1 plone-3.14 No traversable adapter found


Hello, 

I'm trying to install getpaid on a new plone-3.14 instance on ubuntu...

There are a few things that I'm not sure if I have done correctly...

1. I installed simplejson and dateutil by just typing easy_install
simplejson and easy_install dateutil . Did i I need to type a path or
anything ... if so how do I specify a paty. I have several zope instances
running on this machine.
2. I coppied /PloneGetPaid into parts/instance/Products (another time into
/products) and lib/ into parts/instance/lib Was this the right directories
to copy into? 

When i add a new plone site in the ZMI I get this error...
('No traversable adapter found', {'extension_profiles': ({'product': 'kupu',
'description': 'Extension profile for Kupu', 'for': , 'title': 'Kupu',
'version': u'1.4.11', 'path': 'plone/profiles/default', 'type': 2, 'id':
'kupu:default'},), 'args': (), 'base_profiles': (), 'default_profile':
'Products.CMFPlone:plone'}) 

The errors from instance.log are below...

Best wishes, 

Tony

2008-08-03T15:40:38 ERROR Five Could not import Product Product
s.PloneGetPaid
(Continue reading)

Dale DeWitt | 3 Aug 17:33
Picon

Re: changing 8080 default port zope.conf

I answered my own question.  %define ZOPE_MANAGEZODB_PORT 8082 in
'plone.conf' brought the zmi to root.  "Do not remove any of the
standard settings below.  The zope.conf file expects these settings to
exist in this file" scared me off.  (plone 2.5.3 whole network copy
brought this question to this forum)

# Aug 2, 10:19 pm, Dale DeWitt <dewittd...@...> wrote:
> I can't seem to change
>
> <http-server>
>   # valid keys are "address" and "force-connection-close"
>   address 8080
>   # force-connection-close on
> </http-server>
>
> in zope.conf to 8082 say, without being stuck out of the root folder.
> Is this the only configuration file to consider for this port change?
> When I change it back to 8080 I connect.
>
> _______________________________________________
> Setup mailing list
> Se...@...://lists.plone.org/mailman/listinfo/setup

Maurits van Rees | 4 Aug 10:17
Picon
Favicon

Re: plonegetpaid-0.6.1 plone-3.14 No traversable adapter found

tonyoconnell, on 2008-08-03:
>
> Hello, 
>
> I'm trying to install getpaid on a new plone-3.14 instance on ubuntu...
>
> There are a few things that I'm not sure if I have done correctly...
>
> 1. I installed simplejson and dateutil by just typing easy_install
> simplejson and easy_install dateutil . Did i I need to type a path or
> anything ... if so how do I specify a paty. I have several zope instances
> running on this machine.

>From the error log you pasted I would think that these two are not
installed correctly.  You can run the python interpreter that is used
for your zope and and try "import dateutil" and "import simplejson"
there.  If one of those fails with an ImportError, then you have used
the wrong easy_install.  

This page has some hints:
http://ejahn.net/Members/eric/stories/getpaid-.6-update

> 2. I coppied /PloneGetPaid into parts/instance/Products (another time into
> /products) and lib/ into parts/instance/lib Was this the right directories
> to copy into? 

Yes.  Do keep the original tarball around though: whenever you run a
bin/buildout again you may loose those directories as parts/instance
can be removed and added again without those directories you manually
copied; so you will have to copy those again in that case.
(Continue reading)

tonyoconnell | 4 Aug 12:42
Picon
Favicon

Re: plonegetpaid-0.6.1 plone-3.14 No traversable adapter found


Dear Maurits, 

Thank you very much for your help. 

>From the error log you pasted I would think that these two are not
installed correctly.  You can run the python interpreter that is used
for your zope and and try "import dateutil" and "import simplejson"
there.  If one of those fails with an ImportError, then you have used
the wrong easy_install.  

Yes. I had used the wrong easy_install. I followed the instructions you
pointed to and installed the dependancies properly. I also coppied the code
into the directories you sugested ... now most of the errors have
disappeared... 

On examining the log I guess that this is the part that suggests a
solution... 
---
The following error occurred while trying to extract file(s) to the Python
egg
cache:

  [Errno 13] Permission denied:
'/root/.python-eggs/ssl_for_setuptools-1.10-py2.4-linux-i686.egg-tmp'

The Python egg cache directory is currently set to:

  /root/.python-eggs

(Continue reading)

Maurits van Rees | 4 Aug 23:52
Picon
Favicon

Re: plonegetpaid-0.6.1 plone-3.14 No traversable adapter found

tonyoconnell, on 2008-08-04:
> The following error occurred while trying to extract file(s) to the Python
> egg
> cache:
>
>   [Errno 13] Permission denied:
> '/root/.python-eggs/ssl_for_setuptools-1.10-py2.4-linux-i686.egg-tmp'
>
> The Python egg cache directory is currently set to:
>
>   /root/.python-eggs
>
> Perhaps your account does not have write access to this directory?  You can
> change the cache directory by setting the PYTHON_EGG_CACHE environment
> variable to point to an accessible directory.
> ---
> I am guessing that I should probably change the cache directory, as opposed
> to changing permissions. If so, how can I do that? But I'm not sure if this
> is the solution to the problem... What do you suggest? I've attached the
> instance.log below. 

In your home directory there is a .buildout directory and within it
can be a file default.cfg.  Is /root/.python-eggs mentioned there?  If
yes, then remove the line it is on.  The same for buildout.cfg if that
/root directory is mentioned there.

Perhaps something funky is going on due to some sudo or su usage.

You could do:

(Continue reading)

JimL | 6 Aug 17:17
Picon
Picon
Favicon
Gravatar

Can't import .zexp into Plone


Hi,

after setting up Plone via buildout
(http://plone.org/documentation/tutorial/buildout) I am now trying to import
my websites from an old box.

I originally set up the old box to use separate data.fs files for each plone
site
(http://plone.org/documentation/how-to/multiple-plone-sites-per-zope-instance-using-separate-data-fs-files-for-each-one)
and tried initially just copying the *.fs files over to my new box. This
didn't work - the new installation was totally unaware of the original
sites.

I then decided to export the sites from the old box into .zexp files, and
then import these files into my new buildout.

This worked .. but I noticed many of the features in the site were not
working properly (namely the ajax features). For example when in the site
and wishing to change the status of a page from "private" to "published", I
clicked on "status" button in the kupu editing interface, and instead of
producing a drop down menu as expected, I was directed to a separate page.
very odd!

As Plone on my old box was 3.0.6, and my new version (from the buildout) was
3.1.1, I decided that my problems were probably due to incompatible versions
(i.e. my *.fs files from the old box were version 3.0.6 and were not totally
compatible with the latest Plone version).

I rebuilt Plone using buildout to 3.0.6 (using "recipe =
(Continue reading)

Martin M Mugo | 6 Aug 17:50

Plone-LDAP authentication

Hi people,
This is my first post ever since taking up interest in plone and your
stuff has been very helpful.

Would to kindly ask someone to give ne some guidance on using plone for
authentication.
I have installed zope, plone and python-ldap + the Plone-LDAP bundle.
I cansuccessfully bind to LDAP with these settings:-

Title: Example staff
LDAP server: letter.example.org:389
use ssl: ldap     readonly: checked
Login Name Attribute: cn
User ID Attribute: uid
RDN Attribute: cn
users base dn: cn=people,dc=letter.example.org   Scope: subtree
groups base dn: cn=groups,dc=letter.example.org   Scope: subtree
manager dn: cn=config    password: 123456
user password encryption: clear
Default User Roles: anonymous, member

but dont seem to be able to authenticate any users against the credentials
I already have in the database.

I am a bit mixed up on the part of adding an object in the user folder.
And do I need to install some other product on plone apart from the
ploneLDAP-bundle??
This is part of my ldap (zimbra openLDAP) logs after attemting
authentication.

(Continue reading)


Gmane