Michał Lenart | 10 Jan 17:43
Picon

"no space left on device" but plenty of disk space.

Hi


I am running a MoinMoin wikifarm. When I try to upload big attachment (1GB) I get "Internal server error" and I see "no space left on device" error in moin.log. However `df -h /usr/share/moin` says there is about 100GB of free space on the disk. What is the problem?

Best regards,
Michal Lenart

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Moin-user mailing list
Moin-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user
Paul Boddie | 10 Jan 20:47
Picon

Re: "no space left on device" but plenty of disk space.

On Tuesday 10 January 2012 17:43:55 Michał Lenart wrote:
>
> I am running a MoinMoin wikifarm. When I try to upload big attachment (1GB)
> I get "Internal server error" and I see "no space left on device" error in
> moin.log. However `df -h /usr/share/moin` says there is about 100GB of free
> space on the disk. What is the problem?

A quick unresearched guess is that you're actually running out of space in 
your /tmp partition. File uploads with most Python Web frameworks typically 
involve creating a temporary file inside the preferred temporary storage 
location (usually /tmp), and on some systems this partition is configured to 
be rather small.

Paul

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Moin-user mailing list
Moin-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user
Michał Lenart | 10 Jan 21:18
Picon

Re: "no space left on device" but plenty of disk space.



On Tue, Jan 10, 2012 at 8:47 PM, Paul Boddie <paul <at> boddie.org.uk> wrote:
On Tuesday 10 January 2012 17:43:55 Michał Lenart wrote:
>
> I am running a MoinMoin wikifarm. When I try to upload big attachment (1GB)
> I get "Internal server error" and I see "no space left on device" error in
> moin.log. However `df -h /usr/share/moin` says there is about 100GB of free
> space on the disk. What is the problem?

A quick unresearched guess is that you're actually running out of space in
your /tmp partition. File uploads with most Python Web frameworks typically
involve creating a temporary file inside the preferred temporary storage
location (usually /tmp),

Probably you are right. Is it possible to explicitly set a location where Moin stores it's temporary files?

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Moin-user mailing list
Moin-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user
Michael Decker | 12 Jan 18:08
Picon
Picon
Favicon

error when installing packages with attachments that contain special characters in their name

Hi everyone,

I just noticed that I get an error when trying to install a package
which contains attachments with special characters in their name (like
"ä" or "ß"), the server fails with return code 500.
The relevant part from the apache error.log is
--------------
[Thu Jan 12 17:52:55 2012] [error] Traceback (most recent call last):
[Thu Jan 12 17:52:55 2012] [error]   File
"/usr/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 282, in
__call__
[Thu Jan 12 17:52:55 2012] [error]     response = run(context)
[Thu Jan 12 17:52:55 2012] [error]   File
"/usr/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 88, in run
[Thu Jan 12 17:52:55 2012] [error]     response = dispatch(request,
context, action_name)
[Thu Jan 12 17:52:55 2012] [error]   File
"/usr/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 136, in
dispatch
[Thu Jan 12 17:52:55 2012] [error]     response = handle_action(context,
pagename, action_name)
[Thu Jan 12 17:52:55 2012] [error]   File
"/usr/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 195, in
handle_action
[Thu Jan 12 17:52:55 2012] [error]     handler(context.page.page_name,
context)
[Thu Jan 12 17:52:55 2012] [error]   File
"/usr/lib/python2.5/site-packages/MoinMoin/action/AttachFile.py", line
520, in execute
[Thu Jan 12 17:52:55 2012] [error]     msg = handler(pagename, request)
[Thu Jan 12 17:52:55 2012] [error]   File
"/usr/lib/python2.5/site-packages/MoinMoin/action/AttachFile.py", line
889, in _do_install
[Thu Jan 12 17:52:55 2012] [error]     if package.installPackage():
[Thu Jan 12 17:52:55 2012] [error]   File
"/usr/lib/python2.5/site-packages/MoinMoin/packages.py", line 477, in
installPackage
[Thu Jan 12 17:52:55 2012] [error]     return self.runScript(commands)
[Thu Jan 12 17:52:55 2012] [error]   File
"/usr/lib/python2.5/site-packages/MoinMoin/packages.py", line 446, in
runScript
[Thu Jan 12 17:52:55 2012] [error]     fn(*elements[1:])
[Thu Jan 12 17:52:55 2012] [error]   File
"/usr/lib/python2.5/site-packages/MoinMoin/packages.py", line 139, in
do_addattachment
[Thu Jan 12 17:52:55 2012] [error]     if not os.path.exists(target):
[Thu Jan 12 17:52:55 2012] [error]   File
"/usr/lib/python2.5/posixpath.py", line 171, in exists
[Thu Jan 12 17:52:55 2012] [error]     st = os.stat(path)
----------------------

I have tried to debug this and took a look at the code in packages.py.
When I run (what I believe to be) the exact same commands on an
interactive python shell - even when using the MOIN_PACKAGE file as
input for the attachment filename - the os.path.exists() call just works
as expected. I just updated to the latest 1.9 devel version available
via hg but I still get the same error.

The following actions reproduce the error on my system:
- Upload an attachment with special character in the name to a Page (for
example WikiSandBox).
- Select the package pages option
- package WikiSandBox (WITH attachments)
- move the WikiSandBox page out of the way
- upload package to the wiki
- click install

Any ideas? So far I was unable to find any such bug filed at moinmo.in

Some System Info:
- Debian Stable
- Apache 2.2 with mod_wsgi
- python 2.5
- moin 1.9.3 (latest from hg)

Cheers,
Michael

------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDirig Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------

Attachment (smime.p7s): application/pkcs7-signature, 4666 bytes
------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
Moin-user mailing list
Moin-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user
Thomas Waldmann | 12 Jan 21:01
Picon
Picon

Re: "no space left on device" but plenty of disk space.


> Probably you are right. Is it possible to explicitly set a location
> where Moin stores it's temporary files?
> 
Try setting the TMPDIR, TEMP or TMP environment variables (for the moin
process).

------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
Michał Lenart | 12 Jan 21:13
Picon

Re: "no space left on device" but plenty of disk space.

I added following code in moin.wsgi (following your and Paul's suggestions):

import tempfile
tempfile.tempdir = '/usr/share/moin/tmp'

And it seems to work. However it would be nice if it was "official"
configuration option.
Thank you for your help.

On Thu, Jan 12, 2012 at 9:01 PM, Thomas Waldmann <tw-public <at> gmx.de> wrote:
>
>
>
> > Probably you are right. Is it possible to explicitly set a location
> > where Moin stores it's temporary files?
> >
> Try setting the TMPDIR, TEMP or TMP environment variables (for the moin
> process).
>
>
>

------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
R.Bauer | 13 Jan 08:57
Picon

Re: error when installing packages with attachments that contain special characters in their name

Hi

I tried a similiar example on my linux system with LC_ALL=de_DE.utf8
This matches the encoding on the server.

I created a file jülich.txt with vim.
There is no problem to create a package and install it later on back
with that name used.

I guess you have a non utf-8 encoding in your file names. You can check
by converting such a filename to the utf-8 encoding by convmv (convmv -
converts filenames from one encoding to another). May be your filenames
have ISO-8859-1.

The fix is then to convert all old filenames to the yet used encoding of
utf-8 on all modern OS.

cheers
Reimar

Am 12.01.2012 18:08, schrieb Michael Decker:
> Hi everyone,
> 
> I just noticed that I get an error when trying to install a package
> which contains attachments with special characters in their name (like
> "ä" or "ß"), the server fails with return code 500.
> The relevant part from the apache error.log is
> --------------
> [Thu Jan 12 17:52:55 2012] [error] Traceback (most recent call last):
> [Thu Jan 12 17:52:55 2012] [error]   File
> "/usr/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 282, in
> __call__
> [Thu Jan 12 17:52:55 2012] [error]     response = run(context)
> [Thu Jan 12 17:52:55 2012] [error]   File
> "/usr/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 88, in run
> [Thu Jan 12 17:52:55 2012] [error]     response = dispatch(request,
> context, action_name)
> [Thu Jan 12 17:52:55 2012] [error]   File
> "/usr/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 136, in
> dispatch
> [Thu Jan 12 17:52:55 2012] [error]     response = handle_action(context,
> pagename, action_name)
> [Thu Jan 12 17:52:55 2012] [error]   File
> "/usr/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 195, in
> handle_action
> [Thu Jan 12 17:52:55 2012] [error]     handler(context.page.page_name,
> context)
> [Thu Jan 12 17:52:55 2012] [error]   File
> "/usr/lib/python2.5/site-packages/MoinMoin/action/AttachFile.py", line
> 520, in execute
> [Thu Jan 12 17:52:55 2012] [error]     msg = handler(pagename, request)
> [Thu Jan 12 17:52:55 2012] [error]   File
> "/usr/lib/python2.5/site-packages/MoinMoin/action/AttachFile.py", line
> 889, in _do_install
> [Thu Jan 12 17:52:55 2012] [error]     if package.installPackage():
> [Thu Jan 12 17:52:55 2012] [error]   File
> "/usr/lib/python2.5/site-packages/MoinMoin/packages.py", line 477, in
> installPackage
> [Thu Jan 12 17:52:55 2012] [error]     return self.runScript(commands)
> [Thu Jan 12 17:52:55 2012] [error]   File
> "/usr/lib/python2.5/site-packages/MoinMoin/packages.py", line 446, in
> runScript
> [Thu Jan 12 17:52:55 2012] [error]     fn(*elements[1:])
> [Thu Jan 12 17:52:55 2012] [error]   File
> "/usr/lib/python2.5/site-packages/MoinMoin/packages.py", line 139, in
> do_addattachment
> [Thu Jan 12 17:52:55 2012] [error]     if not os.path.exists(target):
> [Thu Jan 12 17:52:55 2012] [error]   File
> "/usr/lib/python2.5/posixpath.py", line 171, in exists
> [Thu Jan 12 17:52:55 2012] [error]     st = os.stat(path)
> ----------------------
> 
> I have tried to debug this and took a look at the code in packages.py.
> When I run (what I believe to be) the exact same commands on an
> interactive python shell - even when using the MOIN_PACKAGE file as
> input for the attachment filename - the os.path.exists() call just works
> as expected. I just updated to the latest 1.9 devel version available
> via hg but I still get the same error.
> 
> The following actions reproduce the error on my system:
> - Upload an attachment with special character in the name to a Page (for
> example WikiSandBox).
> - Select the package pages option
> - package WikiSandBox (WITH attachments)
> - move the WikiSandBox page out of the way
> - upload package to the wiki
> - click install
> 
> Any ideas? So far I was unable to find any such bug filed at moinmo.in
> 
> 
> Some System Info:
> - Debian Stable
> - Apache 2.2 with mod_wsgi
> - python 2.5
> - moin 1.9.3 (latest from hg)
> 
> Cheers,
> Michael
> 
> ------------------------------------------------------------------------------------------------
> ------------------------------------------------------------------------------------------------
> Forschungszentrum Juelich GmbH
> 52425 Juelich
> Sitz der Gesellschaft: Juelich
> Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
> Vorsitzender des Aufsichtsrats: MinDirig Dr. Karl Eugen Huthmacher
> Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
> Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
> Prof. Dr. Sebastian M. Schmidt
> ------------------------------------------------------------------------------------------------
> ------------------------------------------------------------------------------------------------
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Mar 27 - Feb 2
> Save $400 by Jan. 27
> Register now!
> http://p.sf.net/sfu/rsa-sfdev2dev2
> 
> 
> 
> _______________________________________________
> Moin-user mailing list
> Moin-user <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/moin-user

------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
Michael Decker | 13 Jan 12:26
Picon
Picon
Favicon

Re: error when installing packages with attachments that contain special characters in their name

Hi Reimar,

thanks for your input. I noticed too late that my error message was cut
off at the end and thus was not too helpful, I'm pasting the full error
message at the bottom for future reference.
Anyway, I figured out the problem now: My whole system was already set
to UTF-8 - except for the apache server that still had a LANG=C in its
config file. After replacing that with the system default, everything is
working fine now.

Michael

PS: the complete error message (this time)
-------------------------
[Thu Jan 12 17:52:55 2012] [error] Traceback (most recent call last):
[Thu Jan 12 17:52:55 2012] [error]   File
"/usr/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 282, in
__call__
[Thu Jan 12 17:52:55 2012] [error]     response = run(context)
[Thu Jan 12 17:52:55 2012] [error]   File
"/usr/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 88, in run
[Thu Jan 12 17:52:55 2012] [error]     response = dispatch(request,
context, action_name)
[Thu Jan 12 17:52:55 2012] [error]   File
"/usr/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 136, in
dispatch
[Thu Jan 12 17:52:55 2012] [error]     response = handle_action(context,
pagename, action_name)
[Thu Jan 12 17:52:55 2012] [error]   File
"/usr/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 195, in
handle_action
[Thu Jan 12 17:52:55 2012] [error]     handler(context.page.page_name,
context)
[Thu Jan 12 17:52:55 2012] [error]   File
"/usr/lib/python2.5/site-packages/MoinMoin/action/AttachFile.py", line
520, in execute
[Thu Jan 12 17:52:55 2012] [error]     msg = handler(pagename, request)
[Thu Jan 12 17:52:55 2012] [error]   File
"/usr/lib/python2.5/site-packages/MoinMoin/action/AttachFile.py", line
889, in _do_install
[Thu Jan 12 17:52:55 2012] [error]     if package.installPackage():
[Thu Jan 12 17:52:55 2012] [error]   File
"/usr/lib/python2.5/site-packages/MoinMoin/packages.py", line 477, in
installPackage
[Thu Jan 12 17:52:55 2012] [error]     return self.runScript(commands)
[Thu Jan 12 17:52:55 2012] [error]   File
"/usr/lib/python2.5/site-packages/MoinMoin/packages.py", line 446, in
runScript
[Thu Jan 12 17:52:55 2012] [error]     fn(*elements[1:])
[Thu Jan 12 17:52:55 2012] [error]   File
"/usr/lib/python2.5/site-packages/MoinMoin/packages.py", line 139, in
do_addattachment
[Thu Jan 12 17:52:55 2012] [error]     if not os.path.exists(target):
[Thu Jan 12 17:52:55 2012] [error]   File
"/usr/lib/python2.5/posixpath.py", line 171, in exists
[Thu Jan 12 17:52:55 2012] [error]     st = os.stat(path)
[Thu Jan 12 17:52:55 2012] [error] UnicodeEncodeError: 'ascii' codec
can't encode character u'\\xdf' in position 53: ordinal not in range(128)
------------------------------

On 13.01.2012 08:57, R.Bauer wrote:
> Hi
> 
> I tried a similiar example on my linux system with LC_ALL=de_DE.utf8
> This matches the encoding on the server.
> 
> I created a file jülich.txt with vim.
> There is no problem to create a package and install it later on back
> with that name used.
> 
> I guess you have a non utf-8 encoding in your file names. You can check
> by converting such a filename to the utf-8 encoding by convmv (convmv -
> converts filenames from one encoding to another). May be your filenames
> have ISO-8859-1.
> 
> The fix is then to convert all old filenames to the yet used encoding of
> utf-8 on all modern OS.
> 
> cheers
> Reimar
> 
> 
> 
> Am 12.01.2012 18:08, schrieb Michael Decker:
>> Hi everyone,
>>
>> I just noticed that I get an error when trying to install a package
>> which contains attachments with special characters in their name (like
>> "ä" or "ß"), the server fails with return code 500.
>> The relevant part from the apache error.log is
>> --------------
>> [Thu Jan 12 17:52:55 2012] [error] Traceback (most recent call last):
>> [Thu Jan 12 17:52:55 2012] [error]   File
>> "/usr/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 282, in
>> __call__
>> [Thu Jan 12 17:52:55 2012] [error]     response = run(context)
>> [Thu Jan 12 17:52:55 2012] [error]   File
>> "/usr/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 88, in run
>> [Thu Jan 12 17:52:55 2012] [error]     response = dispatch(request,
>> context, action_name)
>> [Thu Jan 12 17:52:55 2012] [error]   File
>> "/usr/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 136, in
>> dispatch
>> [Thu Jan 12 17:52:55 2012] [error]     response = handle_action(context,
>> pagename, action_name)
>> [Thu Jan 12 17:52:55 2012] [error]   File
>> "/usr/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 195, in
>> handle_action
>> [Thu Jan 12 17:52:55 2012] [error]     handler(context.page.page_name,
>> context)
>> [Thu Jan 12 17:52:55 2012] [error]   File
>> "/usr/lib/python2.5/site-packages/MoinMoin/action/AttachFile.py", line
>> 520, in execute
>> [Thu Jan 12 17:52:55 2012] [error]     msg = handler(pagename, request)
>> [Thu Jan 12 17:52:55 2012] [error]   File
>> "/usr/lib/python2.5/site-packages/MoinMoin/action/AttachFile.py", line
>> 889, in _do_install
>> [Thu Jan 12 17:52:55 2012] [error]     if package.installPackage():
>> [Thu Jan 12 17:52:55 2012] [error]   File
>> "/usr/lib/python2.5/site-packages/MoinMoin/packages.py", line 477, in
>> installPackage
>> [Thu Jan 12 17:52:55 2012] [error]     return self.runScript(commands)
>> [Thu Jan 12 17:52:55 2012] [error]   File
>> "/usr/lib/python2.5/site-packages/MoinMoin/packages.py", line 446, in
>> runScript
>> [Thu Jan 12 17:52:55 2012] [error]     fn(*elements[1:])
>> [Thu Jan 12 17:52:55 2012] [error]   File
>> "/usr/lib/python2.5/site-packages/MoinMoin/packages.py", line 139, in
>> do_addattachment
>> [Thu Jan 12 17:52:55 2012] [error]     if not os.path.exists(target):
>> [Thu Jan 12 17:52:55 2012] [error]   File
>> "/usr/lib/python2.5/posixpath.py", line 171, in exists
>> [Thu Jan 12 17:52:55 2012] [error]     st = os.stat(path)
>> ----------------------
>>
>> I have tried to debug this and took a look at the code in packages.py.
>> When I run (what I believe to be) the exact same commands on an
>> interactive python shell - even when using the MOIN_PACKAGE file as
>> input for the attachment filename - the os.path.exists() call just works
>> as expected. I just updated to the latest 1.9 devel version available
>> via hg but I still get the same error.
>>
>> The following actions reproduce the error on my system:
>> - Upload an attachment with special character in the name to a Page (for
>> example WikiSandBox).
>> - Select the package pages option
>> - package WikiSandBox (WITH attachments)
>> - move the WikiSandBox page out of the way
>> - upload package to the wiki
>> - click install
>>
>> Any ideas? So far I was unable to find any such bug filed at moinmo.in
>>
>>
>> Some System Info:
>> - Debian Stable
>> - Apache 2.2 with mod_wsgi
>> - python 2.5
>> - moin 1.9.3 (latest from hg)
>>
>> Cheers,
>> Michael
>>
>> ------------------------------------------------------------------------------------------------
>> ------------------------------------------------------------------------------------------------
>> Forschungszentrum Juelich GmbH
>> 52425 Juelich
>> Sitz der Gesellschaft: Juelich
>> Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
>> Vorsitzender des Aufsichtsrats: MinDirig Dr. Karl Eugen Huthmacher
>> Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
>> Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
>> Prof. Dr. Sebastian M. Schmidt
>> ------------------------------------------------------------------------------------------------
>> ------------------------------------------------------------------------------------------------
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> RSA(R) Conference 2012
>> Mar 27 - Feb 2
>> Save $400 by Jan. 27
>> Register now!
>> http://p.sf.net/sfu/rsa-sfdev2dev2
>>
>>
>>
>> _______________________________________________
>> Moin-user mailing list
>> Moin-user <at> lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/moin-user
> 
> 
> 
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Mar 27 - Feb 2
> Save $400 by Jan. 27
> Register now!
> http://p.sf.net/sfu/rsa-sfdev2dev2
> _______________________________________________
> Moin-user mailing list
> Moin-user <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/moin-user

------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDirig Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------

Attachment (smime.p7s): application/pkcs7-signature, 4666 bytes
------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
Moin-user mailing list
Moin-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user
Boerma, Remco | 25 Jan 12:12
Picon
Favicon

xmlrpc ignores locked accounts?

Hi,

 

I’ve just locked the account (*1) i use for all my xmlrpc processing. And to my astonishment changes are still applied to the wiki using this account. I know this because RecentChanges shows the same user account with new changes, and for ‘old’ changes (before the disabling) the username with it’s ID postfixed is shown.

 

Is this a feature? Did I forget something?

 

Thanks in advance,

Regards,

 

*1: locked using: moin --config-dir… --wiki-url… account disable --name= AchtergrondProces

Results in:

2012-01-25 11:31:20,784 WARNING MoinMoin.log:139 using logging configuration read from built-in fallback in MoinMoin.log module!

2012-01-25 11:31:20,977 INFO MoinMoin.config.multiconfig:93 using farm config: /wiki_data/farmconfig.pyc

2012-01-25 11:31:21,012 INFO MoinMoin.config.multiconfig:127 using wiki config: /wiki_data/Dienst.pyc

1326013802.26.17529  AchtergrondProces                                             - disabled.

 

Remco Boerma - Database Administrator & Technisch Applicatie Beheer

ROC Drenthecollege - www.drenthecollege.nl - 088 188 4693

r.boerma <at> drenthecollege.nl - http://twitter.com/RemcoBoerma

 

------------------------------->

Vrijwaring/Disclaimer
De gegevens in dit elektronisch document en de eventuele bijlagen zijn uitsluitend bedoeld voor de geadresseerde(n).
De informatie wordt zorgvuldig samengesteld.
Het Drenthe College kan echter niet garanderen dat de informatie absoluut juist, volledig en tijdig overkomt via het Internet.
Voor belangrijke beslissingen aangaande de verstrekte informatie dient u een en ander rechtstreeks bij het Drenthe College te controleren.

Website van het Drenthe College:
www.drenthecollege.nl
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Moin-user mailing list
Moin-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user
Thomas Waldmann | 25 Jan 19:13
Picon
Picon

Re: xmlrpc ignores locked accounts?

Moin,

> I’ve just locked the account (*1) i use for all my xmlrpc processing.
> And to my astonishment changes are still applied to the wiki using
> this account.

Hmm, how are your ACL settings? Could a anon user do these changes?

> I know this because RecentChanges shows the same user account with new
> changes, and for ‘old’ changes (before the disabling) the username
> with it’s ID postfixed is shown. 

That's really strange.

Can you check (use grep in data/user/) which of these 2 names really
have a associated profile?

What's your moin version?

Cheers,

Thomas

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Moin-user mailing list
Moin-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user

Gmane