Closed xlyric closed 1 year ago
Bonjour xlyric, as-tu paramétrer le service tomcat pour qu'il ait les droits? Cf doc :
Tomcat9 is sandboxed to write just in its own directories, if you try to use a local Filesystem storage you need to override the default configuration of Tomcat by creating in /etc/systemd/system/tomcat9.service.d/ a file named override.conf containing: [Service] ReadWritePaths=/var/lib/linshare
Then you need to: systemctl daemon-reload systemctl restart tomcat9
effectivement ça fonctionne mieux, merci.
ça manque juste un peu de visibilité dans la doc.
L"appli refuse d'enregistrer les fichier télécharger sur le disque ( une erreur est survenue lors de l'envoie du fichier ) en mode filesystem ( le mode mongo ou swift fonctionne ) le répertoire /var/lib/linshare/filesystemstorage est existant et droit tomcat:tomcat , le filesystem ne se crée pas
CORE 5.1.2 Tomcat 9
Logs :
`2022-12-02 14:02:05
processing async task : c2b3cc59-b87a-4e8c-9634-967786b1ffd4 2022-12-02 14:02:05
processing async task : c2b3cc59-b87a-4e8c-9634-967786b1ffd4 2022-12-02 14:02:05
file using jcloud ... 2022-12-02 14:02:05
file using jcloud ... 2022-12-02 14:02:05
of a new bucket linshare-data without locale. 2022-12-02 14:02:05
of a new bucket linshare-data without locale. 2022-12-02 14:02:05
not found: container linshare-data not in [] 2022-12-02 14:02:05
not found: container linshare-data not in [] 2022-12-02 14:02:05
task 'c2b3cc59-b87a-4e8c-9634-967786b1ffd4' processed with final status : FAILED 2022-12-02 14:02:05
task 'c2b3cc59-b87a-4e8c-9634-967786b1ffd4' processed with final status : FAILED`