Nextcloud : No space left on device in /usr/share/nginx/nextcloud/lib/private/Log/File.php on line 89

J’ai eu l’erreur : « No space left on device in /usr/share/nginx/nextcloud/lib/private/Log/File.php on line 89 »

J’ai essayé

# sudo -u www-data php /usr/share/nginx/nextcloud/occ files:cleanup  
0 orphaned file cache entries deleted
0 orphaned mount entries deleted

J’ai bien de l’espace libre :

# du -sh /usr/share/nginx/nextcloud/
195G	/usr/share/nginx/nextcloud/
# df -h /usr/share/nginx/nextcloud/
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda2       908G  712G  151G  83% 
# find /usr/share/nginx/nextcloud/ -type f | wc -l
621801

Les droits sur le répertoire sont bons …

Je vais essayé un scan complet :

# sudo -u www-data php /usr/share/nginx/nextcloud/occ files:scan --all
+---------+--------+--------------+
| Folders | Files  | Elapsed time |
+---------+--------+--------------+
| 22476   | 326448 | 00:47:17     |
+---------+--------+--------------+

J’ai du mal à comprendre …

Au final j’ai fixé en ajoutant dans NGINX :

    large_client_header_buffers 4 16k;
    client_max_body_size 300m;
    client_body_buffer_size 128k;
    proxy_connect_timeout 600;
    proxy_read_timeout 600;
    proxy_send_timeout 600;
    proxy_buffer_size 64k;
    proxy_buffers   4 32k;
    proxy_busy_buffers_size 64k;
    proxy_temp_file_write_size 64k;

Et en suprimant certains plugins :

MetaData
Joplin
Google Sync

Nextcloud : Migration to 25.0.3

En passant

J’ai fait la migration sur 25.0.3 sur Ubuntu.

  • Système d’exploitation: Linux 5.15.0-58-generic x86_64
  • CPU : Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz (8 cores)
  • Mémoire : 62.50 GB
  • Version : 8.1.2
  • Limite de mémoire PHP : 512 MB
  • Max Execution Time PHP : 3600
  • Taille de téléversement maximale PHP : 512 MB
  • Type : mysql
  • Version : 10.6.11
  • Taille : 955 MB

j’ai eu aucun problème ….

NEXTCLOUD 24.0.1 : Migration de php 7.3 vers 7.4

J’ai utilisé l’outil de migration de NextCloud sauf pour PHP.

Migration de php 7.3 vers php 7.4, le fichier /etc/php/7.4/fpm/pool.d/www.conf  :

# cat /etc/php/7.4/fpm/pool.d/www.conf | grep -v ";" | grep -v "^$"
[www]
user = www-data
group = www-data
listen = /run/php/php7.4-fpm.sock
listen.owner = www-data
listen.group = www-data
pm = dynamic
pm.max_children = 10
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 3
env[HOSTNAME] = $HOSTNAME
env[PATH] = /usr/local/bin:/usr/bin:/bin
env[TMP] = /tmp
env[TMPDIR] = /tmp
env[TEMP] = /tmp
php_admin_value[error_log] = /var/log/fpm-php.www.log
php_admin_flag[log_errors] = on
php_admin_value[memory_limit] = 1024M

 

Les modules que j’ai du installer :

sudo apt-get install php7.4-fpm
sudo apt install php-imagick
sudo apt install php7.4-bcmath

Et la creation d’index :

# cd /usr/share/nginx/nextcloud/
# sudo -u www-data php7.4 --define apc.enable_cli=1 occ db:add-missing-indices
PHP Warning:  Module 'apcu' already loaded in Unknown on line 0
Check indices of the share table.
Check indices of the filecache table.
Check indices of the twofactor_providers table.
Check indices of the login_flow_v2 table.
Check indices of the whats_new table.
Check indices of the cards table.
Check indices of the cards_properties table.
Check indices of the calendarobjects_props table.
Check indices of the schedulingobjects table.
Check indices of the oc_properties table.
Check indices of the oc_jobs table.
Check indices of the oc_direct_edit table.
Adding direct_edit_timestamp index to the oc_direct_edit table, this can take some time...
oc_direct_edit table updated successfully.

NUXIT : Calcul de la SLA pour CYBERNEURONES chez NUXIT

Je pense qu’il y a une perte de qualité dans le service de NUXIT ! Mon offre est Performence 1 à 10,80 Euros/mois.

Voici toutes les pannes sur un an chez https://www.nuxit.com/ :

  • 28/04/2022, 19:28 : It appeared offline or unresponsive for approximately 26 mins.
  • 28/04/2022, 07:51 : It appeared offline or unresponsive for approximately 12 mins.
  • 25/03/2022, 02:01 : It appeared offline or unresponsive for approximately 5 mins.
  • 23/03/2022, 13:12 : It appeared offline or unresponsive for approximately 5 mins.
  • 17/03/2022, 17:22: It appeared offline or unresponsive for approximately 20 mins.
  • 16/03/2022, 21:51 : It appeared offline or unresponsive for approximately 10 mins.
  • 16/03/2022, 03:14 : It appeared offline or unresponsive for approximately 52 mins,
  • 15/03/2022, 23:51 : It appeared offline or unresponsive for approximately 5 mins.
  • 01/03/2022, 01:03 : It appeared offline or unresponsive for approximately 5 mins.
  • 18/02/2022, 02:10 : It appeared offline or unresponsive for approximately 14 mins.
  • 11/02/2022, 11:31 : It appeared offline or unresponsive for approximately 10 mins.
  • 08/02/2022, 01:15 : It appeared offline or unresponsive for approximately 20 mins.
  • 05/02/2022, 12:28 : It appeared offline or unresponsive for approximately 10 mins.
  • 26/01/2022, 21:02 : It appeared offline or unresponsive for approximately 4 mins.
  • 26/01/2022, 20:14 : It appeared offline or unresponsive for approximately 10 mins.
  • 16/01/2022, 07:44 : It appeared offline or unresponsive for approximately 12 mins.
  • 14/01/2022, 13:48 : It appeared offline or unresponsive for approximately 20 mins.
  • 09/01/2022, 03:52 : It appeared offline or unresponsive for approximately 3 hours.
  • 07/01/2022, 05:44 : It appeared offline or unresponsive for approximately 3 hours.
  • 22/12/2021, 20:31 : It appeared offline or unresponsive for approximately 6 mins
  • 16/11/2021, 11:57 : t appeared offline or unresponsive for approximately 5 mins.
  • 11/11/2021, 11:45 : It appeared offline or unresponsive for approximately 5 mins.
  • 11/11/2021, 02:44 : It appeared offline or unresponsive for approximately 44 mins.
  • 07/11/2021, 17:43 : It appeared offline or unresponsive for approximately 28 mins.
  • 07/11/2021, 16:02 : It appeared offline or unresponsive for approximately 4 mins.
  • 25/10/2021, 13:32 : It appeared offline or unresponsive for approximately 5 mins.
  • 24/10/2021, 17:48 : It appeared offline or unresponsive for approximately 40 mins.
  • 22/10/2021, 17:13 : It appeared offline or unresponsive for approximately 28 mins.
  • 05/10/2021, 12:48 : It appeared offline or unresponsive for approximately 4 mins.
  • 29/09/2021, 10:27 : It appeared offline or unresponsive for approximately 10 mins.
  • 28/09/2021, 15:42 : It appeared offline or unresponsive for approximately 5 mins.
  • 14/09/2021, 13:48 : It appeared offline or unresponsive for approximately 5 mins.
  • 11/09/2021, 17:29 : It appeared offline or unresponsive for approximately 10 mins.
  • 05/09/2021, 11:06 : It appeared offline or unresponsive for approximately 12 mins.
  • 19/08/2021, 23:00 : It appeared offline or unresponsive for approximately 6 mins.
  • 19/08/2021, 03:51 : It appeared offline or unresponsive for approximately 12 mins.
  • 14/08/2021, 10:41 : It appeared offline or unresponsive for approximately 10 mins.
  • 11/08/2021, 20:29 : It appeared offline or unresponsive for approximately 28 mins.
  • 11/08/2021, 19:17: It appeared offline or unresponsive for approximately 10 mins.
  • 08/08/2021, 08:54 : It appeared offline or unresponsive for approximately 11 mins.
  • 29/07/2021, 17:08 : It appeared offline or unresponsive for approximately 5 mins.
  • 20/07/2021, 15:14 : It appeared offline or unresponsive for approximately 23 mins.
  • 13/07/2021, 17:13 : It appeared offline or unresponsive for approximately 4 mins.
  • 26/06/2021, 10:06 : It appeared offline or unresponsive for approximately 3 hours.
  • 24/06/2021, 12:48 : It appeared offline or unresponsive for approximately 6 mins.
  • 15/06/2021, 03:32 : It appeared offline or unresponsive for approximately 4 mins.
  • 02/06/2021, 03:36 : It appeared offline or unresponsive for approximately 14 min.
  • 27/05/2021, 15:14 : It appeared offline or unresponsive for approximately 38 mins.
  • 20/05/2021, 07:50 : It appeared offline or unresponsive for approximately 12 mins.
  • 19/05/2021, 18:23 : It appeared offline or unresponsive for approximately 6 mins.
  • 18/05/2021, 09:55 : It appeared offline or unresponsive for approximately 5 mins.
  • 18/05/2021, 09:13 : It appeared offline or unresponsive for approximately 5 mins.
  • 18/05/2021, 08:40 : It appeared offline or unresponsive for approximately 14 mins.
  • 17/05/2021, 16:29 : It appeared offline or unresponsive for approximately 14 mins.
  • 17/05/2021, 09:20 : It appeared offline or unresponsive for approximately 22 mins.
  • 17/05/2021, 08:46 : It appeared offline or unresponsive for approximately 29 mins.
  • 07/05/2021, 04:27 : It appeared offline or unresponsive for approximately 5 mins.
  • 24/03/2021, 02:57 : It appeared offline or unresponsive for approximately 10 mins.

J’ai beaucoup plus de coupure que lors du dernier audit, j‘ai 58 coupures avec 3 de 3 heures.

Mon précédent audit : 14 coupures :

  • 20/03/2021 à 08:42 : It was down for approximately 2 hours.
  • 26/02/2021 à 18:06 : It was down for approximately 51 mins.
  • 08/01/2021 à 23:02 : It was down for approximately 1 hour.
  • 20/12/2020 à 10:16 : : It was down for approximately 12 mins.
  • 02/12/2020 à 21:27 : It was down for approximately 25 mins.
  • 02/12/2020 à 20:25 : It was down for approximately 5 mins.
  • 08/10/2020 à 09:47 : It was down for approximately 5 mins.
  • 11/08/2020 à 09:24 : It was down for approximately 6 mins.
  • 04/08/2020 à 17:14 : It was down for approximately 5 mins.
  • 08/07/2020 à 18:11 : It was down for approximately 6 mins.
  • 25/06/2020 à 15:01 : It was down for approximately 52 mins.
  • 25/04/2020 à 17:43 : It was down for approximately 11 mins.
  • 01/04/2020 à 16:38 : It was down for approximately 29 mins.
  • 25/03/2020 à 14:30 : It was down for approximately 3 hours.

JetPack temporise 5 minutes, donc j’ai pas les coupures de moins de 5 minutes.