<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Nextcloud on Blog GoHugo de Fredô : Linux, Proxmox, IA, Trail, Course, Randonnée, Gravel, Ski de Randonnée</title>
    <link>https://move.cyber-neurones.org/tags/nextcloud/</link>
    <description>Recent content in Nextcloud on Blog GoHugo de Fredô : Linux, Proxmox, IA, Trail, Course, Randonnée, Gravel, Ski de Randonnée</description>
    <generator>Hugo</generator>
    <language>fr</language>
    <lastBuildDate>Wed, 01 Jan 2025 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://move.cyber-neurones.org/tags/nextcloud/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>NextCloud : Migration 29.0.10 vers 30.0.4.</title>
      <link>https://move.cyber-neurones.org/post/2025/01/2025-01-01-nextcloud-migration-29-0-10-vers-30-0-4/</link>
      <pubDate>Wed, 01 Jan 2025 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/2025/01/2025-01-01-nextcloud-migration-29-0-10-vers-30-0-4/</guid>
      <description>&lt;p&gt;Nextcloud&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Release Note 30.0.4 : &lt;a href=&#34;https://nextcloud.com/fr/changelog/#latest30&#34;&gt;https://nextcloud.com/fr/changelog/#latest30&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Release Note 29.0.10 : &lt;a href=&#34;https://nextcloud.com/fr/changelog/#latest29&#34;&gt;https://nextcloud.com/fr/changelog/#latest29&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;A la fin j&amp;rsquo;ai quand même fait :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# sudo -u www-data php /usr/share/nginx/nextcloud/occ files:scan --all&#xA;...&#xA;# sudo -u www-data php /usr/share/nginx/nextcloud/occ maintenance:repair --include-expensive&#xA;...&#xA;# sudo -u www-data php /usr/share/nginx/nextcloud/occ db:add-missing-indices&#xA;...&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
    <item>
      <title>Nextcloud : Update with command line</title>
      <link>https://move.cyber-neurones.org/post/2024/09/2024-09-02-nextcloud-update-with-command-line/</link>
      <pubDate>Mon, 02 Sep 2024 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/2024/09/2024-09-02-nextcloud-update-with-command-line/</guid>
      <description>&lt;p&gt;Je me fais un petit mémo pour la prochaine fois. Les commandes :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# sudo -u www-data php /usr/share/nginx/nextcloud/updater/updater.phar &#xA;Nextcloud Updater - version: v29.0.0-1-g9293bcb dirty&#xA;&#xA;Current version is 29.0.4.&#xA;&#xA;Update to Nextcloud 29.0.5 available. (channel: &amp;#34;stable&amp;#34;)&#xA;Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-29.0.5.zip&#xA;Open changelog ↗&#xA;&#xA;Steps that will be executed:&#xA;[✔] Check for expected files&#xA;[✔] Check for write permissions&#xA;[✔] Create backup&#xA;[✔] Downloading&#xA;[✔] Verify integrity&#xA;[ ] Extracting&#xA;[ ] Enable maintenance mode&#xA;[ ] Replace entry points&#xA;[ ] Delete old files&#xA;[ ] Move new files in place&#xA;[ ] Done&#xA;&#xA;Continue update? [y/N] y&#xA;...&#xA;Update of code successful.&#xA;&#xA;Should the &amp;#34;occ upgrade&amp;#34; command be executed? [Y/n] Y&#xA;...&#xA;# sudo -u www-data php /usr/share/nginx/nextcloud/occ maintenance:repair&#xA;# sudo -u www-data php /usr/share/nginx/nextcloud/occ upgrade&#xA;Nextcloud is already latest version&#xA;# sudo systemctl restart nginx.service&#xA;# sudo systemctl restart php8.1-fpm.service&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Les dernières commandes sont pour ne pas avoir le problème : &amp;ldquo;Downgrading is not supported and is likely to cause unpredictable issues (from 29.0.5.1 to 29.0.4.1)&amp;rdquo;&lt;/p&gt;</description>
    </item>
    <item>
      <title>NextCloud : Saturation de l&#39;espace disque via l&#39;App Backup</title>
      <link>https://move.cyber-neurones.org/post/2024/05/2024-05-06-nextcloud-saturation-de-lespace-disque-via-lapp-backup/</link>
      <pubDate>Mon, 06 May 2024 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/2024/05/2024-05-06-nextcloud-saturation-de-lespace-disque-via-lapp-backup/</guid>
      <description>&lt;p&gt;Voici mes versions de NextCloud :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# sudo -u www-data php /usr/share/nginx/nextcloud/occ status&#xA;  - installed: true&#xA;  - version: 28.0.5.1&#xA;  - versionstring: 28.0.5&#xA;  - edition: &#xA;  - maintenance: false&#xA;  - needsDbUpgrade: false&#xA;  - productname: Nextcloud&#xA;  - extendedSupport: false&#xA; # sudo -u www-data php /usr/share/nginx/nextcloud/occ app:list | grep &amp;#34;backup:&amp;#34;&#xA;  - backup: 1.4.0&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;L&amp;rsquo;espace disque de l&amp;rsquo;Application Backup:&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# du -sh /datadisk/nginx/nextcloud/data/appdata_ocjrumk06tlj/*&#xA;4,3M    /datadisk/nginx/nextcloud/data/appdata_ocjrumk06tlj/appstore&#xA;3,4M    /datadisk/nginx/nextcloud/data/appdata_ocjrumk06tlj/avatar&#xA;470G    /datadisk/nginx/nextcloud/data/appdata_ocjrumk06tlj/backup&#xA;12K /datadisk/nginx/nextcloud/data/appdata_ocjrumk06tlj/calendar&#xA;176K    /datadisk/nginx/nextcloud/data/appdata_ocjrumk06tlj/cms_pico&#xA;724K    /datadisk/nginx/nextcloud/data/appdata_ocjrumk06tlj/css&#xA;8,0K    /datadisk/nginx/nextcloud/data/appdata_ocjrumk06tlj/dashboard&#xA;2,0M    /datadisk/nginx/nextcloud/data/appdata_ocjrumk06tlj/dav-photocache&#xA;64K /datadisk/nginx/nextcloud/data/appdata_ocjrumk06tlj/identityproof&#xA;72K /datadisk/nginx/nextcloud/data/appdata_ocjrumk06tlj/js&#xA;8,8M    /datadisk/nginx/nextcloud/data/appdata_ocjrumk06tlj/photos&#xA;29G /datadisk/nginx/nextcloud/data/appdata_ocjrumk06tlj/preview&#xA;12K /datadisk/nginx/nextcloud/data/appdata_ocjrumk06tlj/text&#xA;2,1M    /datadisk/nginx/nextcloud/data/appdata_ocjrumk06tlj/theming&#xA;&#xA;# du -sh /datadisk/nginx/nextcloud/data/appdata_ocjrumk06tlj/backup/*&#xA;4,4G    /datadisk/nginx/nextcloud/data/appdata_ocjrumk06tlj/backup/20240213180150-differential-mJwnsegWFWa32Ws&#xA;4,4G    /datadisk/nginx/nextcloud/data/appdata_ocjrumk06tlj/backup/20240216174222-differential-aEAkE921tEAZJxK&#xA;8,6G    /datadisk/nginx/nextcloud/data/appdata_ocjrumk06tlj/backup/20240219201105-differential-MNagUjAr5pJjKrJ&#xA;4,3G    /datadisk/nginx/nextcloud/data/appdata_ocjrumk06tlj/backup/20240312015208-differential-1gpv21O5ONWGpiQ&#xA;4,5G    /datadisk/nginx/nextcloud/data/appdata_ocjrumk06tlj/backup/20240315014502-differential-DzBeULCGG2VPXpG&#xA;8,6G    /datadisk/nginx/nextcloud/data/appdata_ocjrumk06tlj/backup/20240318014002-differential-lbn3GUyTard9ovF&#xA;4,5G    /datadisk/nginx/nextcloud/data/appdata_ocjrumk06tlj/backup/20240409020112-differential-rKxklcdNLfIOK1B&#xA;7,1G    /datadisk/nginx/nextcloud/data/appdata_ocjrumk06tlj/backup/20240412015108-differential-ZcGBuQaaneze68g&#xA;12G /datadisk/nginx/nextcloud/data/appdata_ocjrumk06tlj/backup/20240415013607-differential-FipWERobM4dFKdL&#xA;7,9G    /datadisk/nginx/nextcloud/data/appdata_ocjrumk06tlj/backup/20240427012058-differential-vTdMvZ5lrnuQe9M&#xA;9,6G    /datadisk/nginx/nextcloud/data/appdata_ocjrumk06tlj/backup/20240430015156-differential-HPRNz4QUGnu9jWN&#xA;9,7G    /datadisk/nginx/nextcloud/data/appdata_ocjrumk06tlj/backup/20240503013608-differential-Qhri1qU2q3ybgNL&#xA;202G   /datadisk/nginx/nextcloud/data/appdata_ocjrumk06tlj/backup/20240504002610-full-4Ys336x2mazzHsk&#xA;184G   /datadisk/nginx/nextcloud/data/appdata_ocjrumk06tlj/backup/20240505182107-full-dGq71cdoZ18CEXo&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;J&amp;rsquo;ai donc fait le ménage :&lt;/p&gt;</description>
    </item>
    <item>
      <title>Nextcloud : Blocage suite à une mise à jours : 28.0.2 =&gt; 28.0.3</title>
      <link>https://move.cyber-neurones.org/post/2024/03/2024-03-03-nextcloud-blocage-suite-a-une-mise-a-jours-28-0-2-28-0-3/</link>
      <pubDate>Sun, 03 Mar 2024 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/2024/03/2024-03-03-nextcloud-blocage-suite-a-une-mise-a-jours-28-0-2-28-0-3/</guid>
      <description>&lt;p&gt;J&amp;rsquo;ai du faire :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# sudo -u www-data php /usr/share/nginx/nextcloud/occ maintenance:mode --off&#xA;# sudo -u www-data php /usr/share/nginx/nextcloud/occ maintenance:repair&#xA;# sudo -u www-data php /usr/share/nginx/nextcloud/occ maintenance:mimetype:update-db&#xA;# sudo -u www-data php /usr/share/nginx/nextcloud/occ db:add-missing-indices&#xA;# sudo -u www-data php /usr/share/nginx/nextcloud/occ db:convert-filecache-bigint&#xA;# sudo -u www-data php /usr/share/nginx/nextcloud/occ db:add-missing-primary-keys&#xA;# sudo systemctl restart nginx.service&#xA;# sudo systemctl restart php8.1-fpm.service&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Et c&amp;rsquo;est reparti &amp;hellip;&lt;/p&gt;</description>
    </item>
    <item>
      <title>NextCloud : Migration de serveur ... quelle misère.</title>
      <link>https://move.cyber-neurones.org/post/2024/02/2024-02-13-nextcloud-migration-de-serveur-quelle-misere/</link>
      <pubDate>Tue, 13 Feb 2024 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/2024/02/2024-02-13-nextcloud-migration-de-serveur-quelle-misere/</guid>
      <description>&lt;p&gt;J&amp;rsquo;ai voulu faire une migration de serveur :&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Ancien:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;IP : 192.168.1.27&lt;/li&gt;&#xA;&lt;li&gt;OS : Ubuntu 22.04.3 LTS&lt;/li&gt;&#xA;&lt;li&gt;NGNIX : nginx version: nginx/1.18.0 (Ubuntu)&lt;/li&gt;&#xA;&lt;li&gt;PHP : PHP 8.1.2-1ubuntu2.14 (cli)&lt;/li&gt;&#xA;&lt;li&gt;MARIADB : 10.11.6-MariaDB-0+deb12u1 Debian 12&lt;/li&gt;&#xA;&lt;li&gt;NEXTCLOUD : 28.0.2&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Path : /usr/share/nginx/nextcloud/&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;strong&gt;Nouveau :&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;IP : 192.168.1.113&lt;/li&gt;&#xA;&lt;li&gt;OS : Debian GNU/Linux 12 (bookworm)&lt;/li&gt;&#xA;&lt;li&gt;NGNIX : nginx version: nginx/1.22.1&lt;/li&gt;&#xA;&lt;li&gt;PHP : PHP 8.2.7 (cli)&lt;/li&gt;&#xA;&lt;li&gt;MARIADB : 10.6.16-MariaDB-0ubuntu0.22.04.1 Ubuntu 22.04&lt;/li&gt;&#xA;&lt;li&gt;NEXTCLOUD : 28.0.2&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Path : /var/www/nextcloud/&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Migration :&lt;/p&gt;</description>
    </item>
    <item>
      <title>NextCloud : Passage en version 27.0.1</title>
      <link>https://move.cyber-neurones.org/post/2023/07/2023-07-23-nextcloud-passage-en-version-27-0-1/</link>
      <pubDate>Sun, 23 Jul 2023 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/2023/07/2023-07-23-nextcloud-passage-en-version-27-0-1/</guid>
      <description>&lt;p&gt;Pas de problème à noter, j&amp;rsquo;ai du lancer une commande en ligne :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# sudo -u www-data php /usr/share/nginx/nextcloud/occ  db:add-missing-indices&#xA;Check indices of the share table.&#xA;Check indices of the filecache table.&#xA;Adding additional parent index to the filecache table, this can take some time...&#xA;Filecache table updated successfully.&#xA;Check indices of the twofactor_providers table.&#xA;Check indices of the login_flow_v2 table.&#xA;Check indices of the whats_new table.&#xA;Check indices of the cards table.&#xA;Check indices of the cards_properties table.&#xA;Check indices of the calendarobjects_props table.&#xA;Check indices of the schedulingobjects table.&#xA;Check indices of the oc_properties table.&#xA;Check indices of the oc_jobs table.&#xA;Check indices of the oc_direct_edit table.&#xA;Check indices of the oc_preferences table.&#xA;Check indices of the oc_mounts table.&#xA;Adding mounts_user_root_path_index index to the oc_mounts table, this can take some time...&#xA;oc_mounts table updated successfully.&#xA;Check indices of the oc_systemtag_object_mapping table.&#xA;Adding systag_by_tagid index to the oc_systemtag_object_mapping table, this can take some time...&#xA;oc_systemtag_object_mapping table updated successfully.&#xA;Adding additional textstep_session index to the oc_text_steps table, this can take some time...&#xA;oc_text_steps table updated successfully.&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
    <item>
      <title>NEXTCLOUD :  Les modèles de machine learning doivent encore être téléchargés.</title>
      <link>https://move.cyber-neurones.org/post/2023/05/2023-05-24-nextcloud-les-modeles-de-machine-learning-doivent-encore-etre-telecharges/</link>
      <pubDate>Wed, 24 May 2023 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/2023/05/2023-05-24-nextcloud-les-modeles-de-machine-learning-doivent-encore-etre-telecharges/</guid>
      <description>&lt;p&gt;J&amp;rsquo;ai vu l&amp;rsquo;erreur suivante sur NEXTCLOUD : &amp;quot; Les modèles de machine learning doivent encore être téléchargés.&amp;quot;&lt;/p&gt;&#xA;&lt;p&gt;J&amp;rsquo;ai donc fait ceci :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;cd /usr/share/nginx/nextcloud/&#xA;sudo -u www-data php --define apc.enable_cli=1 occ recognize:download-models&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt; &lt;/p&gt;&#xA;&lt;p&gt;Ensuite le message a changé :&amp;ldquo;Les modèles de machine learning ont été téléchargés avec succès.&amp;rdquo;&lt;/p&gt;&#xA;&lt;p&gt;J&amp;rsquo;ai donc voulu continuer en ligne de commande :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;sudo -u www-data php --define apc.enable_cli=1 occ recognize:classify&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;A suivre &amp;hellip;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Nextcloud : Migration to 25.0.3</title>
      <link>https://move.cyber-neurones.org/post/2023/01/2023-01-23-nextcloud-migration-to-25-0-3/</link>
      <pubDate>Mon, 23 Jan 2023 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/2023/01/2023-01-23-nextcloud-migration-to-25-0-3/</guid>
      <description>&lt;p&gt;J&amp;rsquo;ai fait la migration sur &lt;strong&gt;25.0.3 sur Ubuntu&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Système d&amp;rsquo;exploitation: &lt;strong&gt;Linux 5.15.0-58-generic x86_64&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;CPU : &lt;strong&gt;Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz (8 cores)&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;Mémoire : &lt;strong&gt;62.50 GB&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;Version : &lt;em&gt;8.1.2&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;Limite de mémoire PHP : &lt;em&gt;512 MB&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;Max Execution Time PHP : &lt;em&gt;3600&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;Taille de téléversement maximale PHP : &lt;em&gt;512 MB&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;Type : &lt;em&gt;mysql&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;Version : &lt;em&gt;10.6.11&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;Taille : &lt;em&gt;955 MB&lt;/em&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;j&amp;rsquo;ai eu aucun problème &amp;hellip;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Nextcloud : No space left on device in /usr/share/nginx/nextcloud/lib/private/Log/File.php on line 89</title>
      <link>https://move.cyber-neurones.org/post/2023/01/2023-01-23-nextcloud-no-space-left-on-device-in-usr-share-nginx-nextcloud-lib-private-log-file-php-on-line-89/</link>
      <pubDate>Mon, 23 Jan 2023 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/2023/01/2023-01-23-nextcloud-no-space-left-on-device-in-usr-share-nginx-nextcloud-lib-private-log-file-php-on-line-89/</guid>
      <description>&lt;p&gt;J&amp;rsquo;ai eu l&amp;rsquo;erreur : &amp;ldquo;No space left on device in /usr/share/nginx/nextcloud/lib/private/Log/File.php on line 89&amp;rdquo;&lt;/p&gt;&#xA;&lt;p&gt;J&amp;rsquo;ai essayé&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# sudo -u www-data php /usr/share/nginx/nextcloud/occ files:cleanup  &#xA;0 orphaned file cache entries deleted&#xA;0 orphaned mount entries deleted&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;J&amp;rsquo;ai bien de l&amp;rsquo;espace libre :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# du -sh /usr/share/nginx/nextcloud/&#xA;195G&#x9;/usr/share/nginx/nextcloud/&#xA;# df -h /usr/share/nginx/nextcloud/&#xA;Filesystem      Size  Used Avail Use% Mounted on&#xA;/dev/sda2       908G  712G  151G  83% &#xA;# find /usr/share/nginx/nextcloud/ -type f | wc -l&#xA;621801&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Les droits sur le répertoire sont bons &amp;hellip;&lt;/p&gt;</description>
    </item>
    <item>
      <title>NEXTCLOUD 24.0.1 : Migration de php 7.3 vers 7.4</title>
      <link>https://move.cyber-neurones.org/post/2022/05/2022-05-31-nextcloud-24-0-1-migration-de-php-7-3-vers-7-4/</link>
      <pubDate>Tue, 31 May 2022 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/2022/05/2022-05-31-nextcloud-24-0-1-migration-de-php-7-3-vers-7-4/</guid>
      <description>&lt;p&gt;J&amp;rsquo;ai utilisé l&amp;rsquo;outil de migration de NextCloud sauf pour PHP.&lt;/p&gt;&#xA;&lt;p&gt;Migration de php 7.3 vers php 7.4, le fichier &lt;strong&gt;/etc/php/7.4/fpm/pool.d/www.conf&lt;/strong&gt;  :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# cat /etc/php/7.4/fpm/pool.d/www.conf | grep -v &amp;#34;;&amp;#34; | grep -v &amp;#34;^$&amp;#34;&#xA;[www]&#xA;user = www-data&#xA;group = www-data&#xA;listen = /run/php/php7.4-fpm.sock&#xA;listen.owner = www-data&#xA;listen.group = www-data&#xA;pm = dynamic&#xA;pm.max_children = 10&#xA;pm.start_servers = 2&#xA;pm.min_spare_servers = 1&#xA;pm.max_spare_servers = 3&#xA;env[HOSTNAME] = $HOSTNAME&#xA;env[PATH] = /usr/local/bin:/usr/bin:/bin&#xA;env[TMP] = /tmp&#xA;env[TMPDIR] = /tmp&#xA;env[TEMP] = /tmp&#xA;php_admin_value[error_log] = /var/log/fpm-php.www.log&#xA;php_admin_flag[log_errors] = on&#xA;php_admin_value[memory_limit] = 1024M&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt; &lt;/p&gt;</description>
    </item>
    <item>
      <title>NEXTCLOUD : Problème d&#39;index</title>
      <link>https://move.cyber-neurones.org/post/2022/05/2022-05-11-nextcloud-probleme-dindex/</link>
      <pubDate>Wed, 11 May 2022 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/2022/05/2022-05-11-nextcloud-probleme-dindex/</guid>
      <description>&lt;p&gt;J&amp;rsquo;avais l&amp;rsquo;erreur suivante :&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;La base de données a quelques index manquants. L&amp;rsquo;ajout d&amp;rsquo;index dans de grandes tables peut prendre un certain temps. Elles ne sont donc pas ajoutées automatiquement. En exécutant &amp;ldquo;occ db:add-missing-indices&amp;rdquo;, ces index manquants pourront être ajoutés manuellement pendant que l&amp;rsquo;instance continue de tourner. Une fois les index ajoutés, les requêtes sur ces tables sont généralement beaucoup plus rapides.&lt;/p&gt;&#xA;&lt;p&gt;-Index &amp;ldquo;fs_id_storage_size&amp;rdquo; manquant dans la table &amp;ldquo;oc_filecache&amp;rdquo;. -Index &amp;ldquo;fs_storage_path_prefix&amp;rdquo; manquant dans la table &amp;ldquo;oc_filecache&amp;rdquo;. -Index &amp;ldquo;properties_pathonly_index&amp;rdquo; manquant dans la table &amp;ldquo;oc_properties&amp;rdquo;. -Index &amp;ldquo;job_lastcheck_reserved&amp;rdquo; manquant dans la table &amp;ldquo;oc_jobs&amp;rdquo;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Nextcloud : Problème dans la rotation des fichiers nextcloud.log</title>
      <link>https://move.cyber-neurones.org/post/2021/07/2021-07-13-nextcloud-probleme-dans-la-rotation-des-fichiers-nextcloud-log/</link>
      <pubDate>Tue, 13 Jul 2021 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/2021/07/2021-07-13-nextcloud-probleme-dans-la-rotation-des-fichiers-nextcloud-log/</guid>
      <description>&lt;p&gt;J&amp;rsquo;ai pas compris pourquoi cela ne fonctionnait pas, donc pour l&amp;rsquo;instant je fais manuellement &amp;hellip;&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# du -sh /usr/share/nginx/nextcloud/data/nextcloud.log &#xA;3,5G&#x9;/usr/share/nginx/nextcloud/data/nextcloud.log&#xA;# du -sh /var/log/nextcloud.log&#xA;6,4G&#x9;/var/log/nextcloud.log&#xA;# sudo -u www-data truncate /usr/share/nginx/nextcloud/data/nextcloud.log --size 0&#xA;# sudo -u www-data truncate /var/log/nextcloud.log --size 0&#xA;# sudo systemctl restart php8.0-fpm &#xA;# sudo systemctl restart ngnix&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;A suivre pour une vrai résolution.&lt;/p&gt;</description>
    </item>
    <item>
      <title>NextCloud : APCu not available for local cache (Is the matching PHP module installed and enabled?)</title>
      <link>https://move.cyber-neurones.org/post/2021/07/2021-07-11-nextcloud-apcu-not-available-for-local-cache-is-the-matching-php-module-installed-and-enabled/</link>
      <pubDate>Sun, 11 Jul 2021 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/2021/07/2021-07-11-nextcloud-apcu-not-available-for-local-cache-is-the-matching-php-module-installed-and-enabled/</guid>
      <description>&lt;p&gt;J&amp;rsquo;ai du eu l&amp;rsquo;erreur suivante sur NextCloud (sous &lt;strong&gt;Ubuntu&lt;/strong&gt;):&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# sudo -u www-data php8.0 -f /usr/share/nginx/nextcloud/occ maintenance:repair&#xA;An unhandled exception has been thrown:&#xA;OC\HintException: [0]: Memcache \OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?)&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Pour fixer l&amp;rsquo;erreur j&amp;rsquo;ai du faire :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# sudo ln -s /etc/php/8.0/mods-available/apcu.ini /etc/php/8.0/fpm/conf.d/30-apcu.ini&#xA;# sudo echo &amp;#39;apc.enable_cli=1&amp;#39; &amp;gt;&amp;gt; /etc/php/8.0/mods-available/apcu.ini&#xA;# sudo systemctl restart php8.0-fpm&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Maintenant c&amp;rsquo;est fixé.&lt;/p&gt;</description>
    </item>
    <item>
      <title>NextCloud : Crash : Undefined class constant &#39;MAJOR_VERSION&#39;  in guzzlehttp</title>
      <link>https://move.cyber-neurones.org/post/2021/07/2021-07-07-nextcloud-crash-undefined-class-constant-major_version-in-guzzlehttp/</link>
      <pubDate>Wed, 07 Jul 2021 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/2021/07/2021-07-07-nextcloud-crash-undefined-class-constant-major_version-in-guzzlehttp/</guid>
      <description>&lt;p&gt;Suite à l&amp;rsquo;update de NextCloud j&amp;rsquo;ai eu un crash :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;Type : Error&#xA;Code : 0&#xA;Message : Undefined class constant &amp;#39;MAJOR_VERSION&amp;#39;&#xA;Fichier : /usr/share/nginx/nextcloud/3rdparty/guzzlehttp/guzzle/src/Utils.php&#xA;Ligne : 118&#xA;&#xA;Trace&#xA;&#xA;#0 /usr/share/nginx/nextcloud/3rdparty/guzzlehttp/guzzle/src/functions.php(71): GuzzleHttp\Utils::defaultUserAgent()&#xA;#1 /usr/share/nginx/nextcloud/apps/files_external_gdrive/vendor/guzzlehttp/guzzle/src/Client.php(194): GuzzleHttp\default_user_agent()&#xA;#2 /usr/share/nginx/nextcloud/apps/files_external_gdrive/vendor/guzzlehttp/guzzle/src/Client.php(75): GuzzleHttp\Client-&amp;gt;configureDefaults(Array)&#xA;#3 /usr/share/nginx/nextcloud/lib/private/Http/Client/ClientService.php(62): GuzzleHttp\Client-&amp;gt;__construct()&#xA;#4 /usr/share/nginx/nextcloud/lib/private/OCS/DiscoveryService.php(55): OC\Http\Client\ClientService-&amp;gt;newClient()&#xA;#5 /usr/share/nginx/nextcloud/lib/private/Server.php(1264): OC\OCS\DiscoveryService-&amp;gt;__construct(Object(OC\Memcache\Factory), Object(OC\Http\Client\ClientService))&#xA;#6 /usr/share/nginx/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(155): OC\Server-&amp;gt;OC\{closure}(Object(OC\Server))&#xA;#7 /usr/share/nginx/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\AppFramework\Utility\SimpleContainer-&amp;gt;OC\AppFramework\Utility\{closure}(Object(Pimple\Container))&#xA;#8 /usr/share/nginx/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(122): Pimple\Container-&amp;gt;offsetGet(&amp;#39;OCP\\OCS\\IDiscov...&amp;#39;)&#xA;#9 /usr/share/nginx/nextcloud/lib/private/ServerContainer.php(137): OC\AppFramework\Utility\SimpleContainer-&amp;gt;query(&amp;#39;OCP\\OCS\\IDiscov...&amp;#39;, false)&#xA;#10 /usr/share/nginx/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(434): OC\ServerContainer-&amp;gt;query(&amp;#39;OCP\\OCS\\IDiscov...&amp;#39;, true)&#xA;#11 /usr/share/nginx/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(87): OC\AppFramework\DependencyInjection\DIContainer-&amp;gt;query(&amp;#39;OCP\\OCS\\IDiscov...&amp;#39;, true)&#xA;#12 [internal function]: OC\AppFramework\Utility\SimpleContainer-&amp;gt;OC\AppFramework\Utility\{closure}(Object(ReflectionParameter))&#xA;#13 /usr/share/nginx/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(101): array_map(Object(Closure), Array)&#xA;#14 /usr/share/nginx/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(109): OC\AppFramework\Utility\SimpleContainer-&amp;gt;buildClass(Object(ReflectionClass))&#xA;#15 /usr/share/nginx/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(126): OC\AppFramework\Utility\SimpleContainer-&amp;gt;resolve(&amp;#39;OCA\\FederatedFi...&amp;#39;)&#xA;#16 /usr/share/nginx/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(459): OC\AppFramework\Utility\SimpleContainer-&amp;gt;query(&amp;#39;OCA\\FederatedFi...&amp;#39;)&#xA;#17 /usr/share/nginx/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(431): OC\AppFramework\DependencyInjection\DIContainer-&amp;gt;queryNoFallback(&amp;#39;OCA\\FederatedFi...&amp;#39;)&#xA;#18 /usr/share/nginx/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(87): OC\AppFramework\DependencyInjection\DIContainer-&amp;gt;query(&amp;#39;OCA\\FederatedFi...&amp;#39;, true)&#xA;#19 [internal function]: OC\AppFramework\Utility\SimpleContainer-&amp;gt;OC\AppFramework\Utility\{closure}(Object(ReflectionParameter))&#xA;#20 /usr/share/nginx/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(101): array_map(Object(Closure), Array)&#xA;#21 /usr/share/nginx/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(109): OC\AppFramework\Utility\SimpleContainer-&amp;gt;buildClass(Object(ReflectionClass))&#xA;#22 /usr/share/nginx/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(126): OC\AppFramework\Utility\SimpleContainer-&amp;gt;resolve(&amp;#39;OCA\\FederatedFi...&amp;#39;)&#xA;#23 /usr/share/nginx/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(459): OC\AppFramework\Utility\SimpleContainer-&amp;gt;query(&amp;#39;OCA\\FederatedFi...&amp;#39;)&#xA;#24 /usr/share/nginx/nextcloud/lib/private/ServerContainer.php(146): OC\AppFramework\DependencyInjection\DIContainer-&amp;gt;queryNoFallback(&amp;#39;OCA\\FederatedFi...&amp;#39;)&#xA;#25 /usr/share/nginx/nextcloud/apps/provisioning_api/lib/Capabilities.php(50): OC\ServerContainer-&amp;gt;query(&amp;#39;OCA\\FederatedFi...&amp;#39;)&#xA;#26 /usr/share/nginx/nextcloud/lib/private/CapabilitiesManager.php(72): OCA\Provisioning_API\Capabilities-&amp;gt;getCapabilities()&#xA;#27 /usr/share/nginx/nextcloud/lib/private/Template/JSConfigHelper.php(183): OC\CapabilitiesManager-&amp;gt;getCapabilities()&#xA;#28 /usr/share/nginx/nextcloud/lib/private/TemplateLayout.php(211): OC\Template\JSConfigHelper-&amp;gt;getConfig()&#xA;#29 /usr/share/nginx/nextcloud/lib/private/legacy/OC_Template.php(183): OC\TemplateLayout-&amp;gt;__construct(&amp;#39;user&amp;#39;, &amp;#39;dashboard&amp;#39;)&#xA;#30 /usr/share/nginx/nextcloud/lib/public/AppFramework/Http/TemplateResponse.php(210): OC_Template-&amp;gt;fetchPage(Array)&#xA;#31 /usr/share/nginx/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(172): OCP\AppFramework\Http\TemplateResponse-&amp;gt;render()&#xA;#32 /usr/share/nginx/nextcloud/lib/private/AppFramework/App.php(157): OC\AppFramework\Http\Dispatcher-&amp;gt;dispatch(Object(OCA\Dashboard\Controller\DashboardController), &amp;#39;index&amp;#39;)&#xA;#33 /usr/share/nginx/nextcloud/lib/private/Route/Router.php(302): OC\AppFramework\App::main(&amp;#39;OCA\\Dashboard\\C...&amp;#39;, &amp;#39;index&amp;#39;, Object(OC\AppFramework\DependencyInjection\DIContainer), Array)&#xA;#34 /usr/share/nginx/nextcloud/lib/base.php(993): OC\Route\Router-&amp;gt;match(&amp;#39;/apps/dashboard...&amp;#39;)&#xA;#35 /usr/share/nginx/nextcloud/index.php(37): OC::handleRequest()&#xA;#36 {main}&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Pour fixer le problème j&amp;rsquo;ai supprimé le plugins : files_external_gdrive Le plugins utilisait une ancienne version : /usr/share/nginx/nextcloud/apps/files_external_gdrive/vendor/guzzlehttp/guzzle/src/ClientInterface.php alors qu&amp;rsquo;il fallait utiliser la nouvelle version : /usr/share/nginx/nextcloud/3rdparty/guzzlehttp/guzzle/src/ClientInterface.php&lt;/p&gt;</description>
    </item>
    <item>
      <title>NexCloud : Mise à jours en version 20.0.10</title>
      <link>https://move.cyber-neurones.org/post/2021/05/2021-05-22-nexcloud-mise-a-jours-en-version-20-0-10/</link>
      <pubDate>Sat, 22 May 2021 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/2021/05/2021-05-22-nexcloud-mise-a-jours-en-version-20-0-10/</guid>
      <description>&lt;p&gt;Avant la mise à jours j&amp;rsquo;ai du lancer une commande :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;#  sudo -u www-data php7.3 /usr/share/nginx/nextcloud/occ db:convert-filecache-bigint&#xA;[sudo] password for XXXXX:&#xA;Following columns will be updated:&#xA;&#xA;* federated_reshares.share_id&#xA;* filecache_extended.fileid&#xA;* files_trash.auto_id&#xA;* share_external.id&#xA;* share_external.parent&#xA;&#xA;This can take up to hours, depending on the number of files in your instance!&#xA;Continue with the conversion (y/n)? [n] An unhandled exception has been thrown:&#xA;Error: Call to undefined method Symfony\Component\Console\Question\ConfirmationQuestion::getAutocompleterCallback() in /usr/share/nginx/nextcloud/3rdparty/symfony/console/Helper/QuestionHelper.php:108&#xA;Stack trace:&#xA;#0 /usr/share/nginx/nextcloud/3rdparty/symfony/console/Helper/QuestionHelper.php(61): Symfony\Component\Console\Helper\QuestionHelper-&amp;gt;doAsk(Object(Symfony\Component\Console\Output\StreamOutput), Object(Symfony\Component\Console\Question\ConfirmationQuestion))&#xA;#1 /usr/share/nginx/nextcloud/core/Command/Db/ConvertFilecacheBigInt.php(121): Symfony\Component\Console\Helper\QuestionHelper-&amp;gt;ask(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\StreamOutput), Object(Symfony\Component\Console\Question\ConfirmationQuestion))&#xA;#2 /usr/share/nginx/nextcloud/3rdparty/symfony/console/Command/Command.php(255): OC\Core\Command\Db\ConvertFilecacheBigInt-&amp;gt;execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))&#xA;#3 /usr/share/nginx/nextcloud/3rdparty/symfony/console/Application.php(1000): Symfony\Component\Console\Command\Command-&amp;gt;run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))&#xA;#4 /usr/share/nginx/nextcloud/3rdparty/symfony/console/Application.php(271): Symfony\Component\Console\Application-&amp;gt;doRunCommand(Object(OC\Core\Command\Db\ConvertFilecacheBigInt), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))&#xA;#5 /usr/share/nginx/nextcloud/3rdparty/symfony/console/Application.php(147): Symfony\Component\Console\Application-&amp;gt;doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))&#xA;#6 /usr/share/nginx/nextcloud/lib/private/Console/Application.php(215): Symfony\Component\Console\Application-&amp;gt;run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))&#xA;#7 /usr/share/nginx/nextcloud/console.php(100): OC\Console\Application-&amp;gt;run()&#xA;#8 /usr/share/nginx/nextcloud/occ(11): require_once(&amp;#39;/usr/share/ngin...&amp;#39;)&#xA;#9 {main}&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Mais cela plantait à chaque fois &amp;hellip; j&amp;rsquo;ai donc vu qu&amp;rsquo;il fallait mettre :&lt;/p&gt;</description>
    </item>
    <item>
      <title>NextCloud : Suppression manuelle des anciennes versions de fichier</title>
      <link>https://move.cyber-neurones.org/post/2021/03/2021-03-09-nextcloud-suppression-manuelle-des-anciennes-versions-de-fichier/</link>
      <pubDate>Tue, 09 Mar 2021 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/2021/03/2021-03-09-nextcloud-suppression-manuelle-des-anciennes-versions-de-fichier/</guid>
      <description>&lt;p&gt;En faisant l&amp;rsquo;inspection de mon disque pour NextCloud j&amp;rsquo;ai pu voir que l&amp;rsquo;espace disque utilisé était énorme :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/usr/share/nginx/nextcloud# du -sh data/&#xA;322G data/&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;J&amp;rsquo;ai donc lancé une suppression manuelle des anciennes version de fichier :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/usr/share/nginx/nextcloud# sudo -u www-data php7.3 /usr/share/nginx/nextcloud/occ versions:cleanup&#xA;Delete all versions&#xA;Delete versions for users on backend Database&#xA;...&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;A la fin du process :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/usr/share/nginx/nextcloud# du -sh data/&#xA;91G&#x9;data/&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Donc suppression de &lt;strong&gt;231 Go&lt;/strong&gt; .&lt;/p&gt;</description>
    </item>
    <item>
      <title>Nextcloud : Comment forcer le scan des photos avoir fait des modifications ( Application Maps )</title>
      <link>https://move.cyber-neurones.org/post/2021/02/2021-02-06-nextcloud-comment-forcer-le-scan-des-photos-avoir-fait-des-modifications-application-maps/</link>
      <pubDate>Sat, 06 Feb 2021 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/2021/02/2021-02-06-nextcloud-comment-forcer-le-scan-des-photos-avoir-fait-des-modifications-application-maps/</guid>
      <description>&lt;p&gt;Voici la commandes que j&amp;rsquo;utilises pour forcer le scan des photos :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;sudo -u www-data php7.3 /usr/share/nginx/nextcloud/occ maps:scan-photos&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Le lien vers l&amp;rsquo;application :&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://github.com/nextcloud/maps&#34;&gt;https://github.com/nextcloud/maps&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>NEXTCLOUD : Error : SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock</title>
      <link>https://move.cyber-neurones.org/post/2020/11/2020-11-17-nextcloud-error-sqlstate40001-serialization-failure-1213-deadlock-found-when-trying-to-get-lock/</link>
      <pubDate>Tue, 17 Nov 2020 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/2020/11/2020-11-17-nextcloud-error-sqlstate40001-serialization-failure-1213-deadlock-found-when-trying-to-get-lock/</guid>
      <description>&lt;p&gt;Sur &lt;strong&gt;NEXTCLOUD&lt;/strong&gt; j&amp;rsquo;ai l&amp;rsquo;erreur : SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock;&lt;/p&gt;&#xA;&lt;p&gt;Mes versions :&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;NEXTCLOUD&lt;/strong&gt; : 20.0.1 ( command : sudo -u www-data php /var/www/html/nextcloud/occ &amp;ndash;version )&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;MARIADB&lt;/strong&gt; : 10.3.25-MariaDB-0+deb10u1 Debian 10&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;PHP&lt;/strong&gt; : 7.3.19-1~deb10u1&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;OS&lt;/strong&gt; : Debian 10&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Quand j&amp;rsquo;essaye de voir ou est le problème :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;MariaDB [(none)]&amp;gt; SHOW ENGINE INNODB STATUS;&#xA;...&#xA;| InnoDB |      | &#xA;=====================================&#xA;2020-11-17 09:19:30 0x7fa224b77700 INNODB MONITOR OUTPUT&#xA;=====================================&#xA;Per second averages calculated from the last 15 seconds&#xA;-----------------&#xA;BACKGROUND THREAD&#xA;-----------------&#xA;srv_master_thread loops: 461 srv_active, 0 srv_shutdown, 600286 srv_idle&#xA;srv_master_thread log flush and writes: 600676&#xA;----------&#xA;SEMAPHORES&#xA;----------&#xA;OS WAIT ARRAY INFO: reservation count 98430&#xA;OS WAIT ARRAY INFO: signal count 85332&#xA;RW-shared spins 64094, rounds 1791314, OS waits 59076&#xA;RW-excl spins 22498, rounds 84684, OS waits 850&#xA;RW-sx spins 1924, rounds 35426, OS waits 904&#xA;Spin rounds per wait: 27.95 RW-shared, 3.76 RW-excl, 18.41 RW-sx&#xA;------------------------&#xA;LATEST DETECTED DEADLOCK&#xA;------------------------&#xA;2020-11-14 16:45:09 0x7fa23828d700&#xA;*** (1) TRANSACTION:&#xA;TRANSACTION 506754, ACTIVE 0 sec starting index read&#xA;mysql tables in use 1, locked 1&#xA;LOCK WAIT 7 lock struct(s), heap size 1128, 7 row lock(s), undo log entries 3&#xA;MySQL thread id 33716, OS thread handle 140334704551680, query id 602553 localhost farias Updating&#xA;UPDATE `oc_file_locks` SET `lock` = `lock` - &amp;#39;1&amp;#39; WHERE (`key` IN (&amp;#39;files/f3c7b68359c596992199b90449d7ff8c&amp;#39;, &amp;#39;files/5a2eaa89d932ecbb1dfec1006109244b&amp;#39;, &amp;#39;files/b34c1fc8665aefe70b8e44d4ac09aa67&amp;#39;, &amp;#39;files/994269d0fc31eeda97e0469ed6ab8da3&amp;#39;, &amp;#39;files/d6a2d20758f30740cbecca7cc8b13233&amp;#39;, &amp;#39;files/8853c6e699dd4e7e2655f41918e5a1d2&amp;#39;, &amp;#39;files/3320d1d40cdf4b94707b61cda6ecae0b&amp;#39;, &amp;#39;files/2af4fbefe05ca8c38046394574650bed&amp;#39;, &amp;#39;files/c5f55069bcd203aaa95e4290aabd8c8b&amp;#39;, &amp;#39;files/5aa7bb013dd77e1cdc270e19760a6a23&amp;#39;, &amp;#39;files/d4be38ed80c9b1bf63e3bf45937fb8cd&amp;#39;, &amp;#39;files/ecaafc552486d9c983da23ce46dd72eb&amp;#39;, &amp;#39;files/bbeee26a3ecfeb7ea06dc35abfdff76b&amp;#39;, &amp;#39;files/69f5b0b8e324f92f590b6211eb6c96a1&amp;#39;, &amp;#39;files/5f57699c6ab4f6f04e2c1649ded34919&amp;#39;, &amp;#39;files/c122984832ebf9f0484fd06b33caf6ca&amp;#39;, &amp;#39;files/7c240806d390dc989d67aeb310ce09ac&amp;#39;, &amp;#39;files/d183dc061d795de42af22fbdac8d9ace&amp;#39;, &amp;#39;files/64149897c3515f6526f20690d6cdaa86&amp;#39;, &amp;#39;files/2cd2b02ce9f36f5a067cf8d8e205f34e&amp;#39;, &amp;#39;files/bac5d6b465c&#xA;*** (1) WAITING FOR THIS LOCK TO BE GRANTED:&#xA;RECORD LOCKS space id 39 page no 53 n bits 232 index lock_key_index of table `nextclouddb`.`oc_file_locks` trx id 506754 lock_mode X locks rec but not gap waiting&#xA;Record lock, heap no 25 PHYSICAL RECORD: n_fields 2; compact format; info bits 0&#xA; 0: len 30; hex 66696c65732f356132656161383964393332656362623164666563313030; asc files/5a2eaa89d932ecbb1dfec100; (total 38 bytes);&#xA; 1: len 8; hex 0000000000004b43; asc       KC;;&#xA;&#xA;*** (2) TRANSACTION:&#xA;TRANSACTION 506747, ACTIVE 0 sec inserting&#xA;mysql tables in use 1, locked 1&#xA;16 lock struct(s), heap size 1128, 16 row lock(s), undo log entries 6&#xA;MySQL thread id 33717, OS thread handle 140334703630080, query id 602561 localhost farias Update&#xA;INSERT INTO `oc_file_locks` (`key`, `lock`, `ttl`) VALUES(&amp;#39;files/3320d1d40cdf4b94707b61cda6ecae0b&amp;#39;, &amp;#39;1&amp;#39;, &amp;#39;1605372309&amp;#39;)&#xA;*** (2) HOLDS THE LOCK(S):&#xA;RECORD LOCKS space id 39 page no 53 n bits 232 index lock_key_index of table `nextclouddb`.`oc_file_locks` trx id 506747 lock mode S&#xA;Record lock, heap no 25 PHYSICAL RECORD: n_fields 2; compact format; info bits 0&#xA; 0: len 30; hex 66696c65732f356132656161383964393332656362623164666563313030; asc files/5a2eaa89d932ecbb1dfec100; (total 38 bytes);&#xA; 1: len 8; hex 0000000000004b43; asc       KC;;&#xA;&#xA;*** (2) WAITING FOR THIS LOCK TO BE GRANTED:&#xA;RECORD LOCKS space id 39 page no 39 n bits 352 index lock_key_index of table `nextclouddb`.`oc_file_locks` trx id 506747 lock mode S waiting&#xA;Record lock, heap no 111 PHYSICAL RECORD: n_fields 2; compact format; info bits 0&#xA; 0: len 30; hex 66696c65732f333332306431643430636466346239343730376236316364; asc files/3320d1d40cdf4b94707b61cd; (total 38 bytes);&#xA; 1: len 8; hex 0000000000004b4b; asc       KK;;&#xA;&#xA;*** WE ROLL BACK TRANSACTION (1)&#xA;------------&#xA;TRANSACTIONS&#xA;------------&#xA;Trx id counter 546878&#xA;Purge done for trx&amp;#39;s n:o &amp;lt; 546878 undo n:o &amp;lt; 0 state: running but idle&#xA;History list length 0&#xA;LIST OF TRANSACTIONS FOR EACH SESSION:&#xA;---TRANSACTION 421809682043144, not started&#xA;0 lock struct(s), heap size 1128, 0 row lock(s)&#xA;---TRANSACTION 421809682038928, not started&#xA;0 lock struct(s), heap size 1128, 0 row lock(s)&#xA;--------&#xA;FILE I/O&#xA;--------&#xA;I/O thread 0 state: waiting for completed aio requests (insert buffer thread)&#xA;I/O thread 1 state: waiting for completed aio requests (log thread)&#xA;I/O thread 2 state: waiting for completed aio requests (read thread)&#xA;I/O thread 3 state: waiting for completed aio requests (read thread)&#xA;I/O thread 4 state: waiting for completed aio requests (read thread)&#xA;I/O thread 5 state: waiting for completed aio requests (read thread)&#xA;I/O thread 6 state: waiting for completed aio requests (write thread)&#xA;I/O thread 7 state: waiting for completed aio requests (write thread)&#xA;I/O thread 8 state: waiting for completed aio requests (write thread)&#xA;I/O thread 9 state: waiting for completed aio requests (write thread)&#xA;Pending normal aio reads: [0, 0, 0, 0] , aio writes: [0, 0, 0, 0] ,&#xA; ibuf aio reads:, log i/o&amp;#39;s:, sync i/o&amp;#39;s:&#xA;Pending flushes (fsync) log: 0; buffer pool: 0&#xA;2613 OS file reads, 488009 OS file writes, 304247 OS fsyncs&#xA;0.00 reads/s, 0 avg bytes/read, 0.00 writes/s, 0.00 fsyncs/s&#xA;-------------------------------------&#xA;INSERT BUFFER AND ADAPTIVE HASH INDEX&#xA;-------------------------------------&#xA;Ibuf: size 1, free list len 9, seg size 11, 41 merges&#xA;merged operations:&#xA; insert 43, delete mark 724, delete 8&#xA;discarded operations:&#xA; insert 0, delete mark 0, delete 0&#xA;Hash table size 34679, node heap has 2 buffer(s)&#xA;Hash table size 34679, node heap has 5 buffer(s)&#xA;Hash table size 34679, node heap has 2 buffer(s)&#xA;Hash table size 34679, node heap has 2 buffer(s)&#xA;Hash table size 34679, node heap has 3 buffer(s)&#xA;Hash table size 34679, node heap has 8 buffer(s)&#xA;Hash table size 34679, node heap has 7 buffer(s)&#xA;Hash table size 34679, node heap has 10 buffer(s)&#xA;0.00 hash searches/s, 0.00 non-hash searches/s&#xA;---&#xA;LOG&#xA;---&#xA;Log sequence number 536481738&#xA;Log flushed up to   536481738&#xA;Pages flushed up to 536481738&#xA;Last checkpoint at  536481729&#xA;0 pending log flushes, 0 pending chkp writes&#xA;211673 log i/o&amp;#39;s done, 0.00 log i/o&amp;#39;s/second&#xA;----------------------&#xA;BUFFER POOL AND MEMORY&#xA;----------------------&#xA;Total large memory allocated 170655744&#xA;Dictionary memory allocated 615072&#xA;Buffer pool size   8192&#xA;Free buffers       4922&#xA;Database pages     2746&#xA;Old database pages 993&#xA;Modified db pages  0&#xA;Percent of dirty pages(LRU &amp;amp; free pages): 0.000&#xA;Max dirty pages percent: 75.000&#xA;Pending reads 0&#xA;Pending writes: LRU 0, flush list 0, single page 0&#xA;Pages made young 3994, not young 1406&#xA;0.00 youngs/s, 0.00 non-youngs/s&#xA;Pages read 2351, created 395, written 247428&#xA;0.00 reads/s, 0.00 creates/s, 0.00 writes/s&#xA;No buffer pool page gets since the last printout&#xA;Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s&#xA;LRU len: 2746, unzip_LRU len: 1013&#xA;I/O sum[42]:cur[0], unzip sum[0]:cur[0]&#xA;--------------&#xA;ROW OPERATIONS&#xA;--------------&#xA;0 queries inside InnoDB, 0 queries in queue&#xA;0 read views open inside InnoDB&#xA;Process ID=645, Main thread ID=140333945968384, state: sleeping&#xA;Number of rows inserted 14499, updated 74567, deleted 5768, read 9673725&#xA;0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s&#xA;Number of system rows inserted 0, updated 0, deleted 0, read 18326&#xA;0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s&#xA;----------------------------&#xA;END OF INNODB MONITOR OUTPUT&#xA;============================&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Je n&amp;rsquo;arrive pas à trouver le problème.&lt;/p&gt;</description>
    </item>
    <item>
      <title>NextCloud : Ajouter un certificat SSL sur Apache.</title>
      <link>https://move.cyber-neurones.org/post/2020/11/2020-11-02-nextcloud-ajouter-un-certificat-ssl-sur-apache/</link>
      <pubDate>Mon, 02 Nov 2020 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/2020/11/2020-11-02-nextcloud-ajouter-un-certificat-ssl-sur-apache/</guid>
      <description>&lt;p&gt;Ma procédure :&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Etape 1&lt;/strong&gt; : Ajouter les bons packages :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ apt-get update &amp;amp;&amp;amp; apt-get install certbot python-certbot-apache&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;&lt;strong&gt;Etape 2&lt;/strong&gt; : Demande du certificat :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ certbot --apache -w /var/www/html/nextcloud/ -d my.cyber-neurones.org&#xA;Saving debug log to /var/log/letsencrypt/letsencrypt.log&#xA;Plugins selected: Authenticator apache, Installer apache&#xA;Obtaining a new certificate&#xA;Performing the following challenges:&#xA;http-01 challenge for my.cyber-neurones.org&#xA;Waiting for verification...&#xA;Cleaning up challenges&#xA;Created an SSL vhost at /etc/apache2/sites-available/nextcloud-le-ssl.conf&#xA;Enabled Apache ssl module&#xA;Deploying Certificate to VirtualHost /etc/apache2/sites-available/nextcloud-le-ssl.conf&#xA;Enabling available site: /etc/apache2/sites-available/nextcloud-le-ssl.conf&#xA;&#xA;Please choose whether or not to redirect HTTP traffic to HTTPS, removing HTTP access.&#xA;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -&#xA;1: No redirect - Make no further changes to the webserver configuration.&#xA;2: Redirect - Make all requests redirect to secure HTTPS access. Choose this for&#xA;new sites, or if you&amp;#39;re confident your site works on HTTPS. You can undo this&#xA;change by editing your web server&amp;#39;s configuration.&#xA;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -&#xA;Select the appropriate number [1-2] then [enter] (press &amp;#39;c&amp;#39; to cancel): 1&#xA;&#xA;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -&#xA;Congratulations! You have successfully enabled https://my.cyber-neurones.org&#xA;&#xA;You should test your configuration at:&#xA;https://www.ssllabs.com/ssltest/analyze.html?d=my.cyber-neurones.org&#xA;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -&#xA;&#xA;IMPORTANT NOTES:&#xA; - Congratulations! Your certificate and chain have been saved at:&#xA;   /etc/letsencrypt/live/my.cyber-neurones.org/fullchain.pem&#xA;   Your key file has been saved at:&#xA;   /etc/letsencrypt/live/my.cyber-neurones.org/privkey.pem&#xA;   Your cert will expire on 2021-01-31. To obtain a new or tweaked&#xA;   version of this certificate in the future, simply run certbot again&#xA;   with the &amp;#34;certonly&amp;#34; option. To non-interactively renew *all* of&#xA;   your certificates, run &amp;#34;certbot renew&amp;#34;&#xA; - If you like Certbot, please consider supporting our work by:&#xA;&#xA;   Donating to ISRG / Let&amp;#39;s Encrypt:   https://letsencrypt.org/donate&#xA;   Donating to EFF:                    https://eff.org/donate-le&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Etape 3 : Restart de apache :&lt;/p&gt;</description>
    </item>
    <item>
      <title>Nextcloud : Les problèmes sur mon installation</title>
      <link>https://move.cyber-neurones.org/post/2020/08/2020-08-31-nextcloud-les-problemes-sur-mon-installation/</link>
      <pubDate>Mon, 31 Aug 2020 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/2020/08/2020-08-31-nextcloud-les-problemes-sur-mon-installation/</guid>
      <description>&lt;p&gt;Je viens de voir qu&amp;rsquo;il y avait quelques problèmes sur mon installation :&lt;/p&gt;&#xA;&lt;h3 id=&#34;1--manque-dun-index-&#34;&gt;1- Manque d&amp;rsquo;un index :&lt;/h3&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# sudo -u www-data php /usr/share/nginx/nextcloud/occ db:add-missing-indices&#xA;Check indices of the share table.&#xA;Check indices of the filecache table.&#xA;Check indices of the twofactor_providers table.&#xA;Check indices of the login_flow_v2 table.&#xA;Check indices of the whats_new table.&#xA;Check indices of the cards table.&#xA;Check indices of the cards_properties table.&#xA;Check indices of the calendarobjects_props table.&#xA;Check indices of the schedulingobjects table.&#xA;Check indices of the oc_properties table.&#xA;Adding properties_path_index index to the oc_properties table, this can take some time...&#xA;oc_properties table updated successfully.&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h3 id=&#34;2--manque-dune-colonne-&#34;&gt;2- Manque d&amp;rsquo;une colonne :&lt;/h3&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;sudo -u www-data php /usr/share/nginx/nextcloud/occ db:add-missing-columns&#xA;Check columns of the comments table.&#xA;Adding additional reference_id column to the comments table, this can take some time...&#xA;Comments table updated successfully.&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h3 id=&#34;3--passage-de-php-72-en-php-73-&#34;&gt;3- Passage de PHP 7.2 en PHP 7.3 :&lt;/h3&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# sudo add-apt-repository ppa:ondrej/php&#xA;...&#xA;# sudo apt-get update&#xA;...&#xA;# sudo apt install php7.3&#xA;....&#xA;Les paquets supplémentaires suivants seront installés : &#xA;libapache2-mod-php7.3 libpcre2-8-0 php-common php7.3-cli php7.3-common php7.3-json php7.3-opcache&#xA;php7.3-readline&#xA;Paquets suggérés :&#xA;php-pear&#xA;Les NOUVEAUX paquets suivants seront installés :&#xA;libapache2-mod-php7.3 libpcre2-8-0 php7.3 php7.3-cli php7.3-common php7.3-json php7.3-opcache&#xA;php7.3-readline&#xA;...&#xA;# sudo apt install php7.3-common php7.3-cli php7.3-bcmath php7.3-bz2 php7.3-curl php7.3-gd php7.3-intl php7.3-json php7.3-mbstring php7.3-readline php7.3-xml php7.3-zip php7.3-fpm&#xA;...&#xA;NOTICE: Not enabling PHP 7.3 FPM by default.&#xA;NOTICE: To enable PHP 7.3 FPM in Apache2 do:&#xA;NOTICE: a2enmod proxy_fcgi setenvif&#xA;NOTICE: a2enconf php7.3-fpm&#xA;NOTICE: You are seeing this message because you have apache2 package installed.&#xA;&#xA;# sudo apt-get install php7.3-mysql php7.3-imagick php7.3-recode php7.3-tidy php7.3-xmlrpc&#xA;&#xA;# sudo a2dismod php7.2&#xA;Module php7.2 disabled.&#xA;To activate the new configuration, you need to run:&#xA;systemctl restart apache2&#xA;# sudo a2enmod php7.3&#xA;Considering dependency mpm_prefork for php7.3:&#xA;Considering conflict mpm_event for mpm_prefork:&#xA;Considering conflict mpm_worker for mpm_prefork:&#xA;Module mpm_prefork already enabled&#xA;Considering conflict php5 for php7.3:&#xA;Enabling module php7.3.&#xA;To activate the new configuration, you need to run:&#xA;systemctl restart apache2&#xA;# sudo systemctl restart apache2&#xA;# sudo a2enmod proxy_fcgi setenvif&#xA;Considering dependency proxy for proxy_fcgi:&#xA;Enabling module proxy.&#xA;Enabling module proxy_fcgi.&#xA;Module setenvif already enabled&#xA;To activate the new configuration, you need to run:&#xA;systemctl restart apache2&#xA;$ sudo a2enconf php7.3-fpm&#xA;Enabling conf php7.3-fpm.&#xA;To activate the new configuration, you need to run:&#xA;systemctl reload apache2&#xA;$ php -v&#xA;PHP 7.3.21-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Aug 7 2020 14:44:10) ( NTS )&#xA;Copyright (c) 1997-2018 The PHP Group&#xA;Zend Engine v3.3.21, Copyright (c) 1998-2018 Zend Technologies&#xA;with Zend OPcache v7.3.21-1+ubuntu18.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h3 id=&#34;4--ajout-du-module-php-bcmath-&#34;&gt;4- Ajout du module PHP bcmath :&lt;/h3&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# sudo apt install php7.3-bcmath&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h3 id=&#34;5---ajout-du-module-php-gmp-&#34;&gt;5 - Ajout du module PHP gmp :&lt;/h3&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# sudo apt install php7.3-gm&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h3 id=&#34;6---check-et-start-de-php73-fpm-&#34;&gt;6 - Check et start de php7.3-fpm :&lt;/h3&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# ls -l /run/php/php7.*&#xA;-rw-r--r-- 1 root     root     4 août  24 13:07 /run/php/php7.2-fpm.pid&#xA;srw-rw---- 1 www-data www-data 0 août  24 13:07 /run/php/php7.2-fpm.sock&#xA;-rw-r--r-- 1 root     root     5 août  31 11:26 /run/php/php7.3-fpm.pid&#xA;srw-rw---- 1 www-data www-data 0 août  31 11:26 /run/php/php7.3-fpm.sock&#xA;&#xA;#  sudo systemctl start php7.3-fpm&#xA;&#xA;#  sudo systemctl enable php7.3-fpm&#xA;&#xA;# diff /etc/php/7.3/fpm/php.ini /etc/php/7.2/fpm/php.ini  | grep -v &amp;#34;&amp;lt; ;&amp;#34; | grep -v &amp;#34;&amp;gt; ;&amp;#34; | grep -v &amp;#34;\-\-\-&amp;#34;&#xA;...&#xA;&amp;lt; output_buffering = 4096 &amp;gt; output_buffering = 8192&#xA;...&#xA;&amp;lt; max_execution_time = 30 &amp;gt; max_execution_time = 600&#xA;...&#xA;&amp;lt; max_input_time = 60 &amp;gt; max_input_time = 600&#xA;...&#xA;&amp;lt; memory_limit = 128M &amp;gt; memory_limit = 2048M&#xA;...&#xA;&amp;lt; display_errors = Off &amp;gt; display_errors = On&#xA;...&#xA;&amp;lt; display_startup_errors = Off &amp;gt; display_startup_errors = On&#xA;...&#xA;&amp;lt; log_errors_max_len = 1024 &amp;gt; log_errors_max_len = 4024&#xA;...&#xA;&amp;lt; ignore_repeated_errors = Off &amp;gt; ignore_repeated_errors = On&#xA;...&#xA;&amp;lt; post_max_size = 8M &amp;gt; post_max_size = 20M&#xA;...&#xA;&amp;lt; upload_max_filesize = 2M &amp;gt; upload_max_filesize = 40M&#xA;...&#xA;&amp;lt; max_file_uploads = 20 &amp;gt; max_file_uploads = 100&#xA;...&#xA;&amp;lt; default_socket_timeout = 60 &amp;gt; default_socket_timeout = 600&#xA;...&#xA;&amp;lt; session.cache_expire = 180 &amp;gt; session.cache_expire = 320&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h3 id=&#34;7---modification-dans-nextcloud-&#34;&gt;7 - Modification dans NextCloud :&lt;/h3&gt;&#xA;&lt;p&gt;Fichier /etc/nginx/conf.d/nextcloud-local.conf et /etc/nginx/conf.d/nextcloud.conf :&lt;/p&gt;</description>
    </item>
    <item>
      <title>NextCloud &amp; NGinx : server reached pm.max_children setting (5), consider raising it</title>
      <link>https://move.cyber-neurones.org/post/2020/06/2020-06-11-nextcloud-nginx-server-reached-pm-max_children-setting-5-consider-raising-it/</link>
      <pubDate>Thu, 11 Jun 2020 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/2020/06/2020-06-11-nextcloud-nginx-server-reached-pm-max_children-setting-5-consider-raising-it/</guid>
      <description>&lt;p&gt;J&amp;rsquo;ai eu l&amp;rsquo;erreur : &amp;ldquo;server reached pm.max_children setting (5), consider raising it&amp;rdquo; dans les fichiers de logs /var/log/php7.2-fpm.log.&lt;/p&gt;&#xA;&lt;p&gt;Mes fichiers de logs pour Nextcloud ( configuration via NGinx ) :&lt;/p&gt;&#xA;&lt;p&gt;- /var/log/php7.2-fpm.log : PHP . - /var/log/nginx/nextcloud.error &amp;amp; /var/log/nginx/nextcloud.access : NGINX . - /var/log/nextcloud.log : Nextcloud. - /usr/share/nginx/nextcloud/data/nextcloud.log : Nextcloud. - /usr/share/nginx/nextcloud/data/audit.log : Nextcloud. - /usr/share/nginx/nextcloud/data/updater.log : Nextcloud.&lt;/p&gt;&#xA;&lt;p&gt;Pour supprimer l&amp;rsquo;erreur j&amp;rsquo;ai modifié le fichier de configuration :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# cat /etc/php/7.2/fpm/pool.d/www.conf | grep -v &amp;#34;^;&amp;#34; | grep -v &amp;#34;^$&amp;#34;&#xA;[www]&#xA;user = www-data&#xA;group = www-data&#xA;listen = /run/php/php7.2-fpm.sock&#xA;listen.owner = www-data&#xA;listen.group = www-data&#xA;pm = dynamic&#xA;pm.max_children = 50 &#xA;pm.start_servers = 10&#xA;pm.min_spare_servers = 5&#xA;pm.max_spare_servers = 10&#xA;env[PATH] = /usr/local/bin:/usr/bin:/bin&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Je suis donc passé de 5 à 50 &amp;hellip; je pense que le problème ne devrait plus apparaitre.&lt;/p&gt;</description>
    </item>
    <item>
      <title>NextCloud : access forbidden by rule GET /data/.ocdata?t=</title>
      <link>https://move.cyber-neurones.org/post/2020/06/2020-06-10-nextcloud-access-forbidden-by-rule-get-data-ocdatat/</link>
      <pubDate>Wed, 10 Jun 2020 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/2020/06/2020-06-10-nextcloud-access-forbidden-by-rule-get-data-ocdatat/</guid>
      <description>&lt;p&gt;Pour supprimer ce type d&amp;rsquo;erreur :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;[error] 2239#2239: *454376 access forbidden by rule, client: 127.0.0.1, server: 127.0.0.1, request: &amp;#34;GET /data/.ocdata?t=1591823240128 HTTP/1.1&amp;#34;, host: &amp;#34;127.0.0.1&amp;#34;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;J&amp;rsquo;ai modifié la configuration de NGINX. Sur les fichiers /etc/nginx/conf.d/nextcloud-local.conf &amp;amp; /etc/nginx/conf.d/nextcloud.conf . J&amp;rsquo;ai ajouté :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;    location = /data/htaccesstest.txt {&#xA;    allow all;&#xA;    log_not_found off;&#xA;    access_log off;&#xA;    }&#xA;    location = /data/\.ocdata {&#xA;    access_log off;&#xA;    }&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Pour relancer :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;systemctl restart nginx.service&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
    <item>
      <title>NextCloud sur Ubuntu : Installation de &#34;Memory Caching&#34;</title>
      <link>https://move.cyber-neurones.org/post/2020/06/2020-06-02-nextcloud-sur-ubuntu-installation-de-memory-caching/</link>
      <pubDate>Tue, 02 Jun 2020 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/2020/06/2020-06-02-nextcloud-sur-ubuntu-installation-de-memory-caching/</guid>
      <description>&lt;p&gt;J&amp;rsquo;ai choisit de mettre dans le fichier de configuration : &lt;strong&gt;/usr/share/nginx/nextcloud/config/config.php&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;#39;memcache.local&amp;#39; =&amp;gt; &amp;#39;\OC\Memcache\APCu&amp;#39;,&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Pour que cela fonctionne il faut installer la bonne librairie en PHP :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ sudo apt-get install php-apcu&#xA;...&#xA;$ sudo systemctl restart php7.2-fpm.service&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
    <item>
      <title>NextCloud : 504 Gateway Time-out ( Update en ligne de commande)</title>
      <link>https://move.cyber-neurones.org/post/2020/06/2020-06-01-nextcloud-504-gateway-time-out-update-en-ligne-de-commande/</link>
      <pubDate>Mon, 01 Jun 2020 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/2020/06/2020-06-01-nextcloud-504-gateway-time-out-update-en-ligne-de-commande/</guid>
      <description>&lt;p&gt;Quand on a l&amp;rsquo;erreur &amp;ldquo;504 Gateway Time-out&amp;rsquo; &amp;hellip; le mieux est de faire avec les lignes de commandes :&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://www.cyber-neurones.org/wp-content/uploads/2020/06/screenshot-from-2020-06-01-19-19-07.png&#34;&gt;&lt;img src=&#34;images/screenshot-from-2020-06-01-19-19-07.png&#34; alt=&#34;&#34;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ sudo -u www-data php /usr/share/nginx/nextcloud/updater/updater.phar&#xA;Nextcloud Updater - version: v16.0.3-3-ga0c2b25 dirty&#xA;&#xA;Current version is 18.0.4.&#xA;&#xA;Update to Nextcloud 18.0.4 available. (channel: &amp;#34;stable&amp;#34;)&#xA;Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-18.0.4.zip&#xA;Open changelog ↗&#xA;&#xA;Steps that will be executed:&#xA;[✔] Check for expected files&#xA;[✔] Check for write permissions&#xA;[✔] Create backup&#xA;[✔] Downloading&#xA;[✔] Verify integrity&#xA;[✔] Extracting&#xA;[✔] Enable maintenance mode&#xA;[✔] Replace entry points&#xA;[✔] Delete old files&#xA;[✔] Move new files in place&#xA;[✔] Done&#xA;&#xA;Continue update? [y/N] y&#xA;&#xA;Info: Pressing Ctrl-C will finish the currently running step and then stops the updater.&#xA;&#xA;[✔] Check for expected files&#xA;[✔] Check for write permissions&#xA;[✔] Create backup&#xA;[✔] Downloading&#xA;[✔] Verify integrity&#xA;[✔] Extracting&#xA;[✔] Enable maintenance mode&#xA;[✔] Replace entry points&#xA;[✔] Delete old files&#xA;[✔] Move new files in place&#xA;[✔] Done&#xA;&#xA;Update of code successful.&#xA;&#xA;Should the &amp;#34;occ upgrade&amp;#34; command be executed? [Y/n] Y&#xA;Nextcloud or one of the apps require upgrade - only a limited number of commands are available&#xA;You may use your browser or the occ upgrade command to do the upgrade&#xA;2020-06-01T19:21:53+02:00 Set log level to debug&#xA;....&#xA;$ sudo -u www-data php /usr/share/nginx/nextcloud/occ maintenance:mode --off&#xA;Maintenance mode disabled&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
    <item>
      <title>NextCloud : Table &#39;oc_external_mounts&#39; doesn&#39;t exist</title>
      <link>https://move.cyber-neurones.org/post/2020/06/2020-06-01-nextcloud-table-oc_external_mounts-doesnt-exist/</link>
      <pubDate>Mon, 01 Jun 2020 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/2020/06/2020-06-01-nextcloud-table-oc_external_mounts-doesnt-exist/</guid>
      <description>&lt;p&gt;J&amp;rsquo;ai eu l&amp;rsquo;erreur : Table &amp;lsquo;&lt;strong&gt;nextcloud.oc_external_mounts&lt;/strong&gt;&amp;rsquo; doesn&amp;rsquo;t exist , pour fixer le problème j&amp;rsquo;ai fait :&lt;/p&gt;&#xA;&lt;p&gt;Pour avoir l&amp;rsquo;erreur j&amp;rsquo;ai modifié le fichier &lt;strong&gt;/usr/share/nginx/nextcloud/config/config.php :&lt;/strong&gt;&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;  &amp;#39;installed&amp;#39; =&amp;gt; true,&#xA;  &amp;#39;maintenance&amp;#39; =&amp;gt; false,&#xA;  &amp;#39;theme&amp;#39; =&amp;gt; &amp;#39;&amp;#39;,&#xA;  &amp;#39;debug&amp;#39; =&amp;gt; true,&#xA;  &amp;#39;loglevel&amp;#39; =&amp;gt; &amp;#39;2&amp;#39;,&#xA;  &amp;#39;logtimezone&amp;#39; =&amp;gt; &amp;#39;Europe/Paris&amp;#39;,&#xA;  &amp;#39;log_type&amp;#39; =&amp;gt; &amp;#39;owncloud&amp;#39;,&#xA;  &amp;#39;logfile&amp;#39; =&amp;gt; &amp;#39;/var/log/nextcloud.log&amp;#39;,&#xA;  &amp;#39;log_rotate_size&amp;#39; =&amp;gt; &amp;#39;104857600&amp;#39;,&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Pour le fix du problème :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ sudo -u www-data php /usr/share/nginx/nextcloud/occ maintenance:repair&#xA;...&#xA;$ sudo -u www-data php /usr/share/nginx/nextcloud/occ upgrade&#xA;Nextcloud is already latest version&#xA;$ sudo -u www-data php /usr/share/nginx/nextcloud/occ  app:enable files_external&#xA;files_external enabled&#xA;$ sudo -u www-data php /usr/share/nginx/nextcloud/occ upgrade&#xA;Nextcloud is already latest version&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;A noter que j&amp;rsquo;ai aussi modifier la configuration de PHP : /etc/php/7.2/fpm/php.ini&lt;/p&gt;</description>
    </item>
    <item>
      <title>Ubuntu 18 : Installation d&#39;un client NextCloud avec Flatpak</title>
      <link>https://move.cyber-neurones.org/post/2020/03/2020-03-31-ubuntu-18-installation-dun-client-nextcloud-avec-flatpak/</link>
      <pubDate>Tue, 31 Mar 2020 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/2020/03/2020-03-31-ubuntu-18-installation-dun-client-nextcloud-avec-flatpak/</guid>
      <description>&lt;p&gt;Les commandes pour l&amp;rsquo;installation :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ sudo apt install flatpak&#xA;Lecture des listes de paquets... Fait&#xA;Construction de l&amp;#39;arbre des dépendances       &#xA;Lecture des informations d&amp;#39;état... Fait&#xA;Les paquets supplémentaires suivants seront installés : &#xA;  libostree-1-1 xdg-desktop-portal xdg-desktop-portal-gtk&#xA;Les NOUVEAUX paquets suivants seront installés :&#xA;  flatpak libostree-1-1 xdg-desktop-portal xdg-desktop-portal-gtk&#xA;0 mis à jour, 4 nouvellement installés, 0 à enlever et 13 non mis à jour.&#xA;Il est nécessaire de prendre 1 313 ko dans les archives.&#xA;Après cette opération, 5 898 ko d&amp;#39;espace disque supplémentaires seront utilisés.&#xA;Souhaitez-vous continuer ? [O/n] O&#xA;...&#xA;$ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo&#xA;&#xA;$ flatpak install flathub org.nextcloud.Nextcloud&#xA;Required runtime for org.nextcloud.Nextcloud/x86_64/stable (runtime/org.kde.Platform/x86_64/5.12) found in remote flathub&#xA;Do you want to install it? [y/n]: y&#xA;Installing in system:&#xA;org.kde.Platform/x86_64/5.12                       flathub 8337138165ca&#xA;org.freedesktop.Platform.VAAPI.Intel/x86_64/18.08  flathub 227f12933709&#xA;org.freedesktop.Platform.html5-codecs/x86_64/18.08 flathub b7006caaf6a7&#xA;org.kde.Platform.Locale/x86_64/5.12                flathub b76e501f9811&#xA;org.nextcloud.Nextcloud/x86_64/stable              flathub 4755c241adb7&#xA;  permissions: ipc, network, wayland, x11, dri&#xA;  file access: host, xdg-config/kdeglobals:ro, xdg-run/Nextcloud:create, xdg-run/dconf, ~/.config/dconf:ro&#xA;  dbus access: com.canonical.AppMenu.Registrar, org.freedesktop.Notifications, org.freedesktop.secrets, org.kde.StatusNotifierWatcher&#xA;org.nextcloud.Nextcloud.Locale/x86_64/stable       flathub f098e4785813&#xA;Is this ok [y/n]: y&#xA;Installing: org.kde.Platform/x86_64/5.12 from flathub&#xA;[####################] 1415 metadata, 27766 content objects fetched; 404772 KiB transferred in 128 seconds&#xA;Now at 8337138165ca.&#xA;Installing: org.freedesktop.Platform.VAAPI.Intel/x86_64/18.08 from flathub&#xA;[####################] 4 metadata, 2 content objects fetched; 1783 KiB transferred in 0 seconds&#xA;Now at 227f12933709.&#xA;Installing: org.freedesktop.Platform.html5-codecs/x86_64/18.08 from flathub&#xA;[####################] 22 metadata, 127 content objects fetched; 3111 KiB transferred in 1 seconds&#xA;Now at b7006caaf6a7.&#xA;Installing: org.kde.Platform.Locale/x86_64/5.12 from flathub&#xA;[####################] 33 metadata, 196 content objects fetched; 5085 KiB transferred in 1 seconds&#xA;Now at b76e501f9811.&#xA;Installing: org.nextcloud.Nextcloud/x86_64/stable from flathub&#xA;[####################] 78 metadata, 221 content objects fetched; 4049 KiB transferred in 2 seconds&#xA;Now at 4755c241adb7.&#xA;Installing: org.nextcloud.Nextcloud.Locale/x86_64/stable from flathub&#xA;[####################] 7 metadata, 2 content objects fetched; 5 KiB transferred in 0 seconds&#xA;Now at f098e4785813.&#xA;&#xA;$ flatpak run org.nextcloud.Nextcloud&#xA;Gtk-Message: 14:04:44.389: Failed to load module &amp;#34;canberra-gtk-module&amp;#34;&#xA;Gtk-Message: 14:04:44.389: Failed to load module &amp;#34;canberra-gtk-module&amp;#34;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;On a donc la fenetre suivante qui s&amp;rsquo;ouvre, et il suffit de faire la configuration :&lt;/p&gt;</description>
    </item>
    <item>
      <title>NextCloud : Snap : Issue bookmarks_fulltextsearch : PHP Fatal error:  Declaration of OCA</title>
      <link>https://move.cyber-neurones.org/post/2020/02/2020-02-01-nextcloud-snap-issue-bookmarks_fulltextsearch-php-fatal-error-declaration-of-oca/</link>
      <pubDate>Sat, 01 Feb 2020 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/2020/02/2020-02-01-nextcloud-snap-issue-bookmarks_fulltextsearch-php-fatal-error-declaration-of-oca/</guid>
      <description>&lt;p&gt;Suite à la mise à jours de NextCloud, j&amp;rsquo;avais l&amp;rsquo;erreur suivante :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ sudo tail -f /var/snap/nextcloud/current/apache/logs/php_errors.log&#xA;&#xA;[01-Feb-2020 18:18:07 UTC] PHP Fatal error:  Declaration of OCA\Bookmarks_FullTextSearch\Provider\BookmarksProvider::getSearchTemplate(): OCP\FullTextSearch\Model\SearchTemplate must be compatible with OCP\FullTextSearch\IFullTextSearchProvider::getSearchTemplate(): OCP\FullTextSearch\Model\ISearchTemplate in /var/snap/nextcloud/18204/nextcloud/extra-apps/bookmarks_fulltextsearch/lib/Provider/BookmarksProvider.php on line 55&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Voici ma version :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ snap --version&#xA;snap    2.42.1+18.04&#xA;snapd   2.42.1+18.04&#xA;series  16&#xA;ubuntu  18.04&#xA;kernel  5.0.0-37-generic&#xA;$ snap list | grep nextcloud&#xA;nextcloud                16.0.7snap2                 18204  stable    nextcloud*             -&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;J&amp;rsquo;ai donc supprimé le plugin &lt;strong&gt;bookmarks_fulltextsearch&lt;/strong&gt;, la méthode n&amp;rsquo;est pas propre mais efficace :&lt;/p&gt;</description>
    </item>
    <item>
      <title>Installation de NextCloud sur Rock64</title>
      <link>https://move.cyber-neurones.org/post/2019/09/2019-09-07-installation-de-nextcloud-sur-rock64/</link>
      <pubDate>Sat, 07 Sep 2019 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/2019/09/2019-09-07-installation-de-nextcloud-sur-rock64/</guid>
      <description>&lt;p&gt;Présentation du Rock64 :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;rock64@rock64:~$ df&#xA;Filesystem     1K-blocks    Used Available Use% Mounted on&#xA;udev             2007204       0   2007204   0% /dev&#xA;tmpfs             401844   10464    391380   3% /run&#xA;/dev/mmcblk1p7  61228716 2045964  56657512   4% /&#xA;tmpfs            2009204       0   2009204   0% /dev/shm&#xA;tmpfs               5120       4      5116   1% /run/lock&#xA;tmpfs            2009204       0   2009204   0% /sys/fs/cgroup&#xA;/dev/mmcblk1p6    114446     978    113468   1% /boot/efi&#xA;tmpfs             401840       0    401840   0% /run/user/1000&#xA;&#xA;rock64@rock64:~$ uname -a&#xA;Linux rock64 4.4.132-1075-rockchip-ayufan-ga83beded8524 #1 SMP Thu Jul 26 08:22:22 UTC 2018 aarch64 GNU/Linux&#xA;&#xA;rock64@rock64:~$ cat /etc/debian_version &#xA;9.9&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Voici les quelques commandes &amp;hellip;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
