-
Notifications
You must be signed in to change notification settings - Fork 4
Maintenance
See first Deploying to Production.
The GitHub and GitLab needs a ssh key for authentication from translate.dokuwiki.org to push and pull. For more detail see Git interaction. Add the public keys via their web interface. Test connection with ssh -T [email protected] etc.
-
Delete a plugin/template with
bin/console dokuwiki:deleteRepo. There are some exceptions where the forked remote on https://github.com/dokuwiki-translate and https://gitlab.com/dokuwiki-translate needs a check as well. -
New core plugins need to be added in: src/Services/Repository/CoreRepository.php
Copied from wiki for an older version. Might be useless...
logfiles
- /var/log/apache2/translate-access.log ⇒ apache access logs
- /var/log/apache2/translate-error.log ⇒ apache error logs
- application/var/log/prod-2023-12-16.log ⇒ application log for production environment
if too many errors for plugin/template, then on https://translate.dokuwiki.org/plugin/dw2pdf/settings the latest status is shown
check if latest update and if latest error message provide any hints
php app/console dokuwiki:showInfo plugin dw2pdf
# or more general
php app/console dokuwiki:showInfo
php app/console dokuwiki:showInfo onlyerrors
php app/console dokuwiki:showInfo basicinfoReset lock, tmp folder, error count and last updated:
php app/console dokuwiki:softReset plugin dw2pdfWait for the 5 min update or trigger yourself (with detailed error message with -vvv option) by
php app/console dokuwiki:updateGit -vvvcheck log files or the online settings page
connect to database:
mysql -p translatelist languages:
SELECT code from languageName;check whether which plugins use the language code:
SELECT * FROM languageStats WHERE language='langCode';delete all references between plugin and language code as languageStats.language is a foreign key to languageName.code:
DELETE FROM languageStats WHERE language='langCode';delete language based on language code:
DELETE FROM languageName where code='langCode';update language Name:
update languageName SET name = 'Min Nan Chinese' WHERE code = 'nan' LIMIT 1;Process
- Translation process
- CronJob overview triggers some commands.
- Commands for regular tasks and occasional maintenance
Files
Maintenance/development
- Deploying to Production is done from GitHub
- Development setup
- Maintenance
- Alternative Git interaction when setting up development setup
- Test steps for checking working of the tool
Documentation
- Components of Symphony used for the Tool
- More detail about using Doctrine
- Description working of the Forms