outils:start

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Dernière révisionLes deux révisions suivantes
outils:start [2020/11/16 18:58] – mise à jour NC Pads prooutils:start [2021/01/28 14:41] – [Suivi d'exploitation] adminconso
Ligne 63: Ligne 63:
   * Ajout d'une adresse mail "pro@" qui redirige vers les mails des membres réalisant des prestations payées   * Ajout d'une adresse mail "pro@" qui redirige vers les mails des membres réalisant des prestations payées
 2020 : 2020 :
-  * réparation de l'accès aux pads depuis le cloud : Lors de la mise à jour NC, suivre le tuto sur les "mimetype" du [[https://github.com/otetard/ownpad|plugin ownpad]].+  * réparation de l'accès aux pads depuis le cloud : Lors de la mise à jour NC, suivre le tuto sur les "mimetype" du [[https://github.com/otetard/ownpad|plugin ownpad]]  
 + 
 +---- 
 + 
 +Mimetype detection 
 + 
 +Unfortunately, apps can’t declare new mimetypes on the flyTo make Ownpad work properly, you need to add two new mimetypes in the mimetypemapping.json file (at Nextcloud level). 
 + 
 +To proceed, just copy ''/resources/config/mimetypemapping.dist.json'' to ''/config/mimetypemapping.json'' (in the config/ folder at Nextcloud’s root directory; the file should be stored next to the config.php file). 
 + 
 +For the snap-distribution of Nextcloud the template file can be found under /snap/nextcloud/current/htdocs/resources/config/mimetypemapping.dist.json and the active config-folder by default is /var/snap/nextcloud/current/nextcloud/config/
 + 
 +Afterwards add the two following lines just after the “_comment” lines. 
 + 
 +'' 
 +"pad": ["application/x-ownpad"], 
 +"calc": ["application/x-ownpad"], 
 +'' 
 + 
 +If all other mimetypes are not working properly, just run the following command: ''sudo -u www-data php occ files:scan --all'' 
 + 
 +For the snap-distribution that is ''sudo nextcloud.occ files:scan --all''
  
 ====== Coût ====== ====== Coût ======
  • outils/start.txt
  • Dernière modification : 2021/04/01 17:40
  • de elias_martin