[MediaWiki-l] Upload of png or svg files

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[MediaWiki-l] Upload of png or svg files

awrona

Hello, when I try to upload a png or svg file I get this error:



Exception encountered, of type "LocalFileLockError"

[XC4uL4ZffggAACRtm4QAAAAC] /wiki/Spezial:Hochladen LocalFileLockError  
from line 1930 of  
/afs/.rrz.uni-koeln.de/vol/www/projekt/sarazenen/http/docs/wiki/includes/filerepo/file/LocalFile.php: Could not acquire lock for  
'330px-Variable_Resistor.png.'

Backtrace:

#0  
/afs/.rrz.uni-koeln.de/vol/www/projekt/sarazenen/http/docs/wiki/includes/filerepo/file/LocalFile.php(1165):  
LocalFile->lock()

#1  
/afs/.rrz.uni-koeln.de/vol/www/projekt/sarazenen/http/docs/wiki/includes/upload/UploadBase.php(729): LocalFile->upload(string, string, string, integer, array, boolean, User,  
array)

#2  
/afs/.rrz.uni-koeln.de/vol/www/projekt/sarazenen/http/docs/wiki/includes/specials/SpecialUpload.php(537): UploadBase->performUpload(string, string, boolean, User,  
array)

#3  
/afs/.rrz.uni-koeln.de/vol/www/projekt/sarazenen/http/docs/wiki/includes/specials/SpecialUpload.php(206):  
SpecialUpload->processUpload()

#4  
/afs/.rrz.uni-koeln.de/vol/www/projekt/sarazenen/http/docs/wiki/includes/specialpage/SpecialPage.php(479):  
SpecialUpload->execute(NULL)

#5  
/afs/.rrz.uni-koeln.de/vol/www/projekt/sarazenen/http/docs/wiki/includes/specialpage/SpecialPageFactory.php(577):  
SpecialPage->run(NULL)

#6  
/afs/.rrz.uni-koeln.de/vol/www/projekt/sarazenen/http/docs/wiki/includes/MediaWiki.php(282): SpecialPageFactory::executePath(Title,  
RequestContext)

#7  
/afs/.rrz.uni-koeln.de/vol/www/projekt/sarazenen/http/docs/wiki/includes/MediaWiki.php(735):  
MediaWiki->performRequest()

#8  
/afs/.rrz.uni-koeln.de/vol/www/projekt/sarazenen/http/docs/wiki/includes/MediaWiki.php(509):  
MediaWiki->main()

#9  
/afs/.rrz.uni-koeln.de/vol/www/projekt/sarazenen/http/docs/wiki/index.php(43):  
MediaWiki->run()

#10 {main}

What is the problem here?


Many Greetings,
Adalbert Wrona



_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Upload of png or svg files

Derk-Jan Hartman
There can be various causes, but your file path makes me suspect that it
might have something to do with the fact that your 'local' files are on a
shared/network file segment. Maybe your client isn't allowed to lock files
on this share.

But see https://www.mediawiki.org/wiki/Manual:Disabling_file_lock_manager

DJ

On Thu, Jan 3, 2019 at 4:55 PM <[hidden email]> wrote:

>
> Hello, when I try to upload a png or svg file I get this error:
>
>
>
> Exception encountered, of type "LocalFileLockError"
>
> [XC4uL4ZffggAACRtm4QAAAAC] /wiki/Spezial:Hochladen LocalFileLockError
> from line 1930 of
> /afs/.
> rrz.uni-koeln.de/vol/www/projekt/sarazenen/http/docs/wiki/includes/filerepo/file/LocalFile.php:
> Could not acquire lock for
> '330px-Variable_Resistor.png.'
>
> Backtrace:
>
> #0
> /afs/.
> rrz.uni-koeln.de/vol/www/projekt/sarazenen/http/docs/wiki/includes/filerepo/file/LocalFile.php(1165):
>
> LocalFile->lock()
>
> #1
> /afs/.
> rrz.uni-koeln.de/vol/www/projekt/sarazenen/http/docs/wiki/includes/upload/UploadBase.php(729):
> LocalFile->upload(string, string, string, integer, array, boolean, User,
> array)
>
> #2
> /afs/.
> rrz.uni-koeln.de/vol/www/projekt/sarazenen/http/docs/wiki/includes/specials/SpecialUpload.php(537):
> UploadBase->performUpload(string, string, boolean, User,
> array)
>
> #3
> /afs/.
> rrz.uni-koeln.de/vol/www/projekt/sarazenen/http/docs/wiki/includes/specials/SpecialUpload.php(206):
>
> SpecialUpload->processUpload()
>
> #4
> /afs/.
> rrz.uni-koeln.de/vol/www/projekt/sarazenen/http/docs/wiki/includes/specialpage/SpecialPage.php(479):
>
> SpecialUpload->execute(NULL)
>
> #5
> /afs/.
> rrz.uni-koeln.de/vol/www/projekt/sarazenen/http/docs/wiki/includes/specialpage/SpecialPageFactory.php(577):
>
> SpecialPage->run(NULL)
>
> #6
> /afs/.
> rrz.uni-koeln.de/vol/www/projekt/sarazenen/http/docs/wiki/includes/MediaWiki.php(282):
> SpecialPageFactory::executePath(Title,
> RequestContext)
>
> #7
> /afs/.
> rrz.uni-koeln.de/vol/www/projekt/sarazenen/http/docs/wiki/includes/MediaWiki.php(735):
>
> MediaWiki->performRequest()
>
> #8
> /afs/.
> rrz.uni-koeln.de/vol/www/projekt/sarazenen/http/docs/wiki/includes/MediaWiki.php(509):
>
> MediaWiki->main()
>
> #9
> /afs/.
> rrz.uni-koeln.de/vol/www/projekt/sarazenen/http/docs/wiki/index.php(43):
> MediaWiki->run()
>
> #10 {main}
>
> What is the problem here?
>
>
> Many Greetings,
> Adalbert Wrona
>
>
>
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l