Comments (2)
Several more files couldn't not display the thumbnail following a transfer. When i attempted to load the same file as a new version of the file to the ISS wiki, the following errors were displayed:
Upload error
Could not read or write file "mwstore://local-backend/local-public/c/c1/Yury_Seryakov.jpg
" due to insufficient permissions or missing directories/containers.Could not store file "
/tmp/phpEVnvzw" at "mwstore://local-backend/local-public/c/c1/Yury_Seryakov.jpg
".
When i deleted the page. although it was succuessful, the following erros appeared:
Error deleting file: Yury Seryakov.jpg
Errors were encountered while deleting the file:
Could not read or write file "mwstore://local-backend/local-deleted/l/q/x/lqxrv0doj7bkkyaazew0xvzkionjrwv.jpg
" due to insufficient permissions or missing directories/containers.
Could not move file "mwstore://local-backend/local-public/c/c1/Yury_Seryakov.jpg
" to "mwstore://local-backend/local-deleted/l/q/x/lqxrv0doj7bkkyaazew0xvzkionjrwv.jpg
".
Yury Seryakov.jpg has been deleted.
from mezaext.
[744ffb7aa0ae007a56fca290] [no req] LocalFileLockError from line 2251 of /opt/htdocs/mediawiki/includes/filerepo/file/LocalFile.php: Could not open lock file for "mwstore://local-backend/local-public/e/e4/Alexander_Muzyka.JPG". Make sure your upload directory is configured correctly and your web server has permission to write to that directory. See https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:$wgUploadDirectory for more information. Backtrace: #0 /opt/htdocs/mediawiki/includes/filerepo/file/LocalFile.php(1346): LocalFile->lock() #1 /opt/htdocs/mediawiki/includes/import/ImportableUploadRevisionImporter.php(104): LocalFile->upload(string, string, string, integer, array, string, User) #2 /opt/htdocs/mediawiki/includes/import/WikiRevision.php(659): ImportableUploadRevisionImporter->import(WikiRevision) #3 [internal function]: WikiRevision->importUpload() #4 /opt/htdocs/mediawiki/includes/libs/rdbms/database/Database.php(3191): call_user_func_array(array, array) #5 /opt/htdocs/mediawiki/maintenance/importDump.php(218): Wikimedia\Rdbms\Database->deadlockLoop(array) #6 /opt/htdocs/mediawiki/includes/import/WikiImporter.php(1049): BackupReader->handleUpload(WikiRevision) #7 /opt/htdocs/mediawiki/includes/import/WikiImporter.php(997): WikiImporter->processUpload(array, array) #8 /opt/htdocs/mediawiki/includes/import/WikiImporter.php(803): WikiImporter->handleUpload(array) #9 /opt/htdocs/mediawiki/includes/import/WikiImporter.php(608): WikiImporter->handlePage() #10 /opt/htdocs/mediawiki/maintenance/importDump.php(345): WikiImporter->doImport() #11 /opt/htdocs/mediawiki/maintenance/importDump.php(287): BackupReader->importFromHandle(resource) #12 /opt/htdocs/mediawiki/maintenance/importDump.php(116): BackupReader->importFromStdin() #13 /opt/htdocs/mediawiki/maintenance/doMaintenance.php(94): BackupReader->execute() #14 /opt/htdocs/mediawiki/maintenance/importDump.php(350): require_once(string) #15 {main} 2019-12-02 22:21:17: wiki_hsg (ID 2229) 1 pages (2.9|2.9/sec all|curr), 1 revs (2.9|2.9/sec all|curr), ETA 2019-12-03 01:24:15 [max 31432] upload: Alexander_Matrosov.jpg PHP Warning: XMLReader::open(): Unable to open source data in /opt/htdocs/mediawiki/includes/libs/mime/XmlTypeCheck.php on line 158
Ok, so to restate the problem so i can write an issue on GitHub:
The ansible-user
that executed the transfer pages job did not have permission to write to the uploads
folder because it was a member of the group. Occassionally, 1-off file transfers or the first file are run outside of jobs, in which the Apache
owner wrote to the directory successfuly b/c it had permission.
Transferring files worked on INT and DEV b/c a recurrsive permissions loops in xyz file gave ansible-user the correct permissions.
The issue was fixed b/c SSHing in. However, the xyz file should be updated to give ansible-user
the correct permissions. which file was it again? https://github.com/enterprisemediawiki/meza/tree/master/src/roles
from mezaext.
Related Issues (11)
- Search index on destination wiki does not update after running TransferPage.php
- Associated talk page doesn't transfer along with selected page HOT 1
- Add category to pages transferred to destination wiki
- Review timestamp of source wiki does not copy (or copy correctly) to destination wiki HOT 1
- Subpages must be transferred separately from rootpage HOT 1
- Update Integration server to latest version of meza HOT 1
- File images display on results page
- Special:TransferPages allows transfer to unauthorized pages
- Special:Transferpages form "Category" field requires underscores instead of spaces HOT 1
- TransferPages.php does not copy watchers HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mezaext.