|
List Info
Thread: Create a new user?
|
|
| Create a new user? |

|
2006-12-04 20:45:21 |
On 4 Dec 2006, at 21:26, David Czarnecki wrote:
> They need to be there.
I know these are needed and apparently Blojsom is trying to
create
all the files, etc. needed for the new user.
I can do these by hand, but why is the 'Create a new user'
process
failing?
This log entry seems to be telling something, but what?:
admin.EditBlogUsersPlugin - Unable to create blog home
directory: /
change/me/please/test
dss
>
> Format for authorization.properties:
>
> #
> # Authorization file used for blojsom
> #
> # Format is
<userid>=<password>,<optional e-mail
address>
> #
>
> Format for permissions.properties:
>
> #
> # Permissions configuration file
> #
> # The format of the file is as follows:
> #
> # authorized-user-id=permission
> #
> # Where authorized-user-id is a user ID from the
> authorization.properties
> file
> #
> # Each permission goes on a separate line, for example:
> #
> # default=permission_1
> # default=permission_2
> #
> # To give a user all permissions, use a permission of
'*', for
> example:
> #
> # default=*
>
> On 12/4/06 3:19 PM, "David Stodolsky"
> <david.stodolsky socialinformatics.org>
wrote:
>
>>
>> On 4 Dec 2006, at 20:39, David Czarnecki wrote:
>>
>>> Are authorization.properties and
permissions.properties there as
>>> well?
>>>
>> No
>>
>> dss
>>
>>>
>>> On 12/4/06 2:24 PM, "David Stodolsky"
>>> <david.stodolsky socialinformatics.org>
wrote:
>>>
>>>>
>>>> On 4 Dec 2006, at 19:55, David Czarnecki
wrote:
>>>>
>>>>> The folder must have the correct
configuration files to work. So,
>>>>> files like
>>>>> blog.properties, plugin.properties,
flavor.properties, etc. need
>>>>> to be
>>>>> there.
>>>>
>>>> They are there, but not completed:
>>>>
>>>> #
>>>> # blojsom user properties configuration
file
>>>> #
>>>> blog-directory-depth=6
>>>> blog-language=en
>>>> blog-country=US
>>>> blog-name=NAME YOUR BLOG
>>>> blog-description=DESCRIBE YOUR BLOG
>>>> blog-file-extensions=.*html, .*txt,
.*textile
>>>> blog-entry-meta-data-extension=.meta
>>>> blog-properties-extensions=.properties
>>>> blog-entries-display=15
>>>> blog-default-category-mapping=
>>>> blog-directory-filter=.*/CVS
>>>> blog-owner=BLOG OWNER NAME
>>>> blog-owner-email=BLOG_OWNER EMAIL.COM
>>>> blog-comments-enabled=true
>>>> blog-comments-directory=.comments
>>>> blog-trackbacks-enabled=true
>>>> blog-trackbacks-directory=.trackbacks
>>>> blog-email-enabled=false
>>>> blog-file-encoding=
>>>> blog-blacklist-file=blacklist.filters
>>>> blog-xmlrpc-entry-extension=.html
>>>> blog-banned-ip-addresses=
>>>> blog-default-flavor=html
>>>> plugin-comment-autoformat=true
>>>> linear-navigation-enabled=false
>>>> comment-moderation-enabled=true
>>>> trackback-moderation-enabled=true
>>>> blog-pingbacks-enabled=true
>>>>
>>>> #
>>>> # MetaWeblob extension properties
>>>> #
>>>> # Create a directory /resources off of your
blojsom installation
>>>> directory. blojsom will create
sub-directories
>>>> # underneath this directory for each user.
The static-url-prefix
>>>> parameter should match the last portion of
the
>>>> # upload-directory parameter.
>>>>
blojsom-extension-metaweblog-accepted-types=image/jpeg,
image/gif,
>>>> image/png, img
>>>>
>>>>
>>>> dss
>>>>
>>>>>
>>>>>
>>>>> On 12/4/06 1:40 PM, "David
Stodolsky"
>>>>> <david.stodolsky socialinformatics.org> wrote:
>>>>>
>>>>>>
>>>>>> On 4 Dec 2006, at 15:11, David
Stodolsky wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Tried to create a new user
while logged in as 'admin' to
>>>>>>> 'default' (admin=*) and got
this:
>>>>>>>
>>>>>>> Status: Unable to create blog
home directory for blog ID: smr
>>>>>>>
>>>>>>>
>>>>>>> What is needed for this to
work?
>>>>>>>
>>>>>>
>>>>>> When I tried to create this user
again, the system said the
>>>>>> folder
>>>>>> already existed, and it does.
However, there is no entry for
>>>>>> it in
>>>>>> the Blojsom.properties file. When I
try to access the smr blog, I
>>>>>> get:
>>>>>>
>>>>>> -------------------
>>>>>> HTTP Status 500 -
>>>>>>
>>>>>>
>>>>>>
>>>>>> type Exception report
>>>>>>
>>>>>> message
>>>>>>
>>>>>> description The server encountered
an internal error () that
>>>>>> prevented it from fulfilling this
request.
>>>>>>
>>>>>> exception
>>>>>>
>>>>>> java.lang.NullPointerException
>>>>>>
java.io.Reader.<init>(Reader.java:61)
>>>>>>
java.io.InputStreamReader.<init>(InputStreamReader.jav
a:80)
>>>>>>
java.util.Properties.load(Properties.java:266)
>>>>>>
>>>>>>
org.blojsom.authorization.PropertiesAuthorizationProvider.lo
adAut
>>>>>> he
>>>>>> nt
>>>>>> ica
>>>>>>
tionCredentials(PropertiesAuthorizationProvider.java:106)
>>>>>>
org.blojsom.blog.BlojsomConfiguration.loadBlog
>>>>>> (BlojsomConfiguration.java:578)
>>>>>>
org.blojsom.servlet.BlojsomServlet.service(BlojsomServlet.ja
va:
>>>>>> 350)
>>>>>>
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>>>>>
org.blojsom.filter.CompressionFilter.doFilter
>>>>>> (CompressionFilter.java:
>>>>>> 92)
>>>>>>
org.blojsom.filter.PermalinkFilter.doFilter(PermalinkFilter.
java:
>>>>>> 208)
>>>>>>
>>>>>>
>>>>>> note The full stack trace of the
root cause is available in the
>>>>>> Apache Tomcat/5.5.17 logs.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
David Stodolsky davidstodolsky mac.com Skype:
davidstodolsky
------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Blojsom-users mailing list
Blojsom-users lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
|
|
| Create a new user? |

|
2006-12-04 21:01:41 |
What is the blojsom-blog-home property set to in
/WEB-INF/blojsom.properties?
If it's not set, try setting it to:
blojsom-blog-home=/opt/local/var/db/blojsom/
That seems to be where the other blog's home directory is
located.
On 12/4/06 3:45 PM, "David Stodolsky"
<david.stodolsky socialinformatics.org> wrote:
>
> On 4 Dec 2006, at 21:26, David Czarnecki wrote:
>
>> They need to be there.
>
> I know these are needed and apparently Blojsom is
trying to create
> all the files, etc. needed for the new user.
> I can do these by hand, but why is the 'Create a new
user' process
> failing?
>
> This log entry seems to be telling something, but
what?:
>
> admin.EditBlogUsersPlugin - Unable to create blog home
directory: /
> change/me/please/test
>
>
>
> dss
>
>>
>> Format for authorization.properties:
>>
>> #
>> # Authorization file used for blojsom
>> #
>> # Format is
<userid>=<password>,<optional e-mail
address>
>> #
>>
>> Format for permissions.properties:
>>
>> #
>> # Permissions configuration file
>> #
>> # The format of the file is as follows:
>> #
>> # authorized-user-id=permission
>> #
>> # Where authorized-user-id is a user ID from the
>> authorization.properties
>> file
>> #
>> # Each permission goes on a separate line, for
example:
>> #
>> # default=permission_1
>> # default=permission_2
>> #
>> # To give a user all permissions, use a permission
of '*', for
>> example:
>> #
>> # default=*
>>
>> On 12/4/06 3:19 PM, "David Stodolsky"
>> <david.stodolsky socialinformatics.org>
wrote:
>>
>>>
>>> On 4 Dec 2006, at 20:39, David Czarnecki wrote:
>>>
>>>> Are authorization.properties and
permissions.properties there as
>>>> well?
>>>>
>>> No
>>>
>>> dss
>>>
>>>>
>>>> On 12/4/06 2:24 PM, "David
Stodolsky"
>>>> <david.stodolsky socialinformatics.org>
wrote:
>>>>
>>>>>
>>>>> On 4 Dec 2006, at 19:55, David
Czarnecki wrote:
>>>>>
>>>>>> The folder must have the correct
configuration files to work. So,
>>>>>> files like
>>>>>> blog.properties, plugin.properties,
flavor.properties, etc. need
>>>>>> to be
>>>>>> there.
>>>>>
>>>>> They are there, but not completed:
>>>>>
>>>>> #
>>>>> # blojsom user properties configuration
file
>>>>> #
>>>>> blog-directory-depth=6
>>>>> blog-language=en
>>>>> blog-country=US
>>>>> blog-name=NAME YOUR BLOG
>>>>> blog-description=DESCRIBE YOUR BLOG
>>>>> blog-file-extensions=.*html, .*txt,
.*textile
>>>>> blog-entry-meta-data-extension=.meta
>>>>> blog-properties-extensions=.properties
>>>>> blog-entries-display=15
>>>>> blog-default-category-mapping=
>>>>> blog-directory-filter=.*/CVS
>>>>> blog-owner=BLOG OWNER NAME
>>>>> blog-owner-email=BLOG_OWNER EMAIL.COM
>>>>> blog-comments-enabled=true
>>>>> blog-comments-directory=.comments
>>>>> blog-trackbacks-enabled=true
>>>>> blog-trackbacks-directory=.trackbacks
>>>>> blog-email-enabled=false
>>>>> blog-file-encoding=
>>>>> blog-blacklist-file=blacklist.filters
>>>>> blog-xmlrpc-entry-extension=.html
>>>>> blog-banned-ip-addresses=
>>>>> blog-default-flavor=html
>>>>> plugin-comment-autoformat=true
>>>>> linear-navigation-enabled=false
>>>>> comment-moderation-enabled=true
>>>>> trackback-moderation-enabled=true
>>>>> blog-pingbacks-enabled=true
>>>>>
>>>>> #
>>>>> # MetaWeblob extension properties
>>>>> #
>>>>> # Create a directory /resources off of
your blojsom installation
>>>>> directory. blojsom will create
sub-directories
>>>>> # underneath this directory for each
user. The static-url-prefix
>>>>> parameter should match the last portion
of the
>>>>> # upload-directory parameter.
>>>>>
blojsom-extension-metaweblog-accepted-types=image/jpeg,
image/gif,
>>>>> image/png, img
>>>>>
>>>>>
>>>>> dss
>>>>>
>>>>>>
>>>>>>
>>>>>> On 12/4/06 1:40 PM, "David
Stodolsky"
>>>>>> <david.stodolsky socialinformatics.org> wrote:
>>>>>>
>>>>>>>
>>>>>>> On 4 Dec 2006, at 15:11, David
Stodolsky wrote:
>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Tried to create a new user
while logged in as 'admin' to
>>>>>>>> 'default' (admin=*) and got
this:
>>>>>>>>
>>>>>>>> Status: Unable to create
blog home directory for blog ID: smr
>>>>>>>>
>>>>>>>>
>>>>>>>> What is needed for this to
work?
>>>>>>>>
>>>>>>>
>>>>>>> When I tried to create this
user again, the system said the
>>>>>>> folder
>>>>>>> already existed, and it does.
However, there is no entry for
>>>>>>> it in
>>>>>>> the Blojsom.properties file.
When I try to access the smr blog, I
>>>>>>> get:
>>>>>>>
>>>>>>> -------------------
>>>>>>> HTTP Status 500 -
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> type Exception report
>>>>>>>
>>>>>>> message
>>>>>>>
>>>>>>> description The server
encountered an internal error () that
>>>>>>> prevented it from fulfilling
this request.
>>>>>>>
>>>>>>> exception
>>>>>>>
>>>>>>> java.lang.NullPointerException
>>>>>>>
java.io.Reader.<init>(Reader.java:61)
>>>>>>>
java.io.InputStreamReader.<init>(InputStreamReader.jav
a:80)
>>>>>>>
java.util.Properties.load(Properties.java:266)
>>>>>>>
>>>>>>>
org.blojsom.authorization.PropertiesAuthorizationProvider.lo
adAut
>>>>>>> he
>>>>>>> nt
>>>>>>> ica
>>>>>>>
tionCredentials(PropertiesAuthorizationProvider.java:106)
>>>>>>>
org.blojsom.blog.BlojsomConfiguration.loadBlog
>>>>>>> (BlojsomConfiguration.java:578)
>>>>>>>
org.blojsom.servlet.BlojsomServlet.service(BlojsomServlet.ja
va:
>>>>>>> 350)
>>>>>>>
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>>>>>>
org.blojsom.filter.CompressionFilter.doFilter
>>>>>>> (CompressionFilter.java:
>>>>>>> 92)
>>>>>>>
org.blojsom.filter.PermalinkFilter.doFilter(PermalinkFilter.
java:
>>>>>>> 208)
>>>>>>>
>>>>>>>
>>>>>>> note The full stack trace of
the root cause is available in the
>>>>>>> Apache Tomcat/5.5.17 logs.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>
>>>>>>>
>
> David Stodolsky davidstodolsky mac.com Skype:
davidstodolsky
>
>
>
>
>
------------------------------------------------------------
-------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the
chance to share your
> opinions on IT & business topics through brief
surveys - and earn cash
> http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-users lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
--
David Czarnecki
http://www.blojsom.com/b
log/ | http://blojsom.sf.net
------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Blojsom-users mailing list
Blojsom-users lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
|
|
[1-2]
|
|