Categories management plugin issueshttps://gitlab.mim-libre.fr/extensions-peertube/categories-management-plugin/-/issues2023-02-10T09:20:24Zhttps://gitlab.mim-libre.fr/extensions-peertube/categories-management-plugin/-/issues/8SyntaxError: Unexpected token < in JSON at position 02023-02-10T09:20:24Zalain deguilleSyntaxError: Unexpected token < in JSON at position 0Salut,
Après avoir migré mon installation de type docker en installation locale directement sur la machine (celle recommandée) et bien sur migré les données du storage, config et base, j'ai un problème sur le plugin des catégories qui m...Salut,
Après avoir migré mon installation de type docker en installation locale directement sur la machine (celle recommandée) et bien sur migré les données du storage, config et base, j'ai un problème sur le plugin des catégories qui m'affiche :
_error: Cannot run hook action:application.listening of plugin categories. {_
_"err": {
"stack": "SyntaxError: Unexpected token < in JSON at position 0\n at JSON.parse (<anonymous>)\n at IncomingMessage.<anonymous> (/var/www/peertube/storage/plugins/node_modules/peertube-plugin-categories/src/server/api.js:27:31)\n at IncomingMessage.emit (node:events:525:35)\n at endReadableNT (node:internal/streams/readable:1358:12)\n at processTicksAndRejections (node:internal/process/task_queues:83:21)",
"message": "Unexpected token < in JSON at position 0"_
Au démarrage de l'instance
et
_Unexpected token < in JSON at position 0_
A chaque fois que je fait un update dans les paramètres du plugins. J'ai bien vérifié le json (copier coller depuis une autre instance identique).
J'ai aussi essayé de désinstaller / réinstaller le plugin.
}https://gitlab.mim-libre.fr/extensions-peertube/categories-management-plugin/-/issues/7Videos from other instances using same categories displayed as "miscellaneous"2021-12-09T14:17:41ZBenoît PiédalluVideos from other instances using same categories displayed as "miscellaneous"Videos tagged as "Sciences de la vie et de la terre" (#95) are displayed as "miscellaneous" when seen through our instance.
Example: https://tube-cycle-2.apps.education.fr/w/bpN4HtBhrNsYqQt1KaFG9i coming from https://tube.reseau-canope.f...Videos tagged as "Sciences de la vie et de la terre" (#95) are displayed as "miscellaneous" when seen through our instance.
Example: https://tube-cycle-2.apps.education.fr/w/bpN4HtBhrNsYqQt1KaFG9i coming from https://tube.reseau-canope.fr/w/bpN4HtBhrNsYqQt1KaFG9iJohan DufourJohan Dufourhttps://gitlab.mim-libre.fr/extensions-peertube/categories-management-plugin/-/issues/6Instance config may reference un-existent categories2021-11-22T15:27:17ZJohan DufourInstance config may reference un-existent categories# Symptoms
About page doesn't show up and console display the following error message:
```
core.js:6479 ERROR Error: Uncaught (in promise): TypeError: Cannot read properties of undefined (reading 'label')
TypeError: Cannot read propertie...# Symptoms
About page doesn't show up and console display the following error message:
```
core.js:6479 ERROR Error: Uncaught (in promise): TypeError: Cannot read properties of undefined (reading 'label')
TypeError: Cannot read properties of undefined (reading 'label')
at instance.service.ts:86
```
> ex: https://tube-maternelle.apps.education.fr/about
# Cause
A PeerTube instance may be associated with one or many categories.
Config may still reference categories which were deleted afterward.
# Workaround
1. Go to instance config page:
https://tube-test.apps.education.fr/admin/config/edit-custom#instance-information
2. Delete referenced categories.
3. Save changes.
# Resolution
Find a way to remove the related instance category when the category is deletedJohan DufourJohan Dufourhttps://gitlab.mim-libre.fr/extensions-peertube/categories-management-plugin/-/issues/5To add information about ministry of education2021-10-25T12:08:58ZBenoît PiédalluTo add information about ministry of educationPlease add information in the README file: "The initial code of this plugin has been developed with the financial support of the "Direction du Numérique pour l'Éducation du Ministère de l'Éducation et de la Jeunesse" (french Ministry of ...Please add information in the README file: "The initial code of this plugin has been developed with the financial support of the "Direction du Numérique pour l'Éducation du Ministère de l'Éducation et de la Jeunesse" (french Ministry of National Education) : apps.education.fr".Johan DufourJohan Dufourhttps://gitlab.mim-libre.fr/extensions-peertube/categories-management-plugin/-/issues/4To fix the licence link in README2021-10-25T12:12:27ZBenoît PiédalluTo fix the licence link in READMEIn the README file, the link to the licence EUPL is wrong (https://www.npmjs.com/package/LICENSE).In the README file, the link to the licence EUPL is wrong (https://www.npmjs.com/package/LICENSE).Johan DufourJohan Dufourhttps://gitlab.mim-libre.fr/extensions-peertube/categories-management-plugin/-/issues/3Intégration continu2021-06-28T16:34:06ZJohan DufourIntégration continuhttps://gitlab.mim-libre.fr/extensions-peertube/categories-management-plugin/-/issues/2PoC with a simple textarea2021-06-28T16:33:53ZJohan DufourPoC with a simple textareaJohan DufourJohan Dufourhttps://gitlab.mim-libre.fr/extensions-peertube/categories-management-plugin/-/issues/1It's not possible to add an input type file on the plugin setting page2021-10-25T12:12:26ZJohan DufourIt's not possible to add an input type file on the plugin setting pageJohan DufourJohan Dufour