Easiest way to sort subdirectory sizes:
du -h -d 1 |sort -k1 -rh
Where du -h -d 1 is used to show human readable format (-h) and only 1st level of subdirectory (-d 1).
Easiest way to sort subdirectory sizes:
du -h -d 1 |sort -k1 -rh
Where du -h -d 1 is used to show human readable format (-h) and only 1st level of subdirectory (-d 1).
I tried recently to update WordPress to release 6.3 but it was constantly failing in my setup with nginx/php-fpm7.4.
Easiest way to fix it is to find this part of your site config in nginx:
location ~ \.php(?:$|/) {
include snippets/fastcgi-php.conf;
fastcgi_pass php;
}
and append it with fastcgi timeout settings:
location ~ \.php(?:$|/) {
include snippets/fastcgi-php.conf;
fastcgi_read_timeout 600;
fastcgi_send_timeout 600;
fastcgi_connect_timeout 600;
fastcgi_pass php;
}
Here is what I use to mount:
sshfs#[email protected]:/mnt/HD/HD_a2/owncloud /mnt/dietpi_userdata/owncloud_data fuse defaults,allow_other,_netdev,x-systemd.automount 0 0
192.168.0.X:/mnt/HD/HD_a2 /mnt/backup nfs nofail,noauto,x-systemd.automount
//192.168.0.X/USBDisk1_1 /mnt/torrents cifs cred=/var/lib/dietpi/dietpi-drive_manager/mnt-torrents.cred,iocharset=utf8,uid=dietpi,gid=dietpi,file_mode=0666,dir_mode=0777,vers=1.0,nofail,noauto,x-systemd.automount
If your autounpack is not working after rtorrent has finished with the download make sure that tasks folder has permissions 0777.
chmod 0777 /var/www/rutorrent/share/settings/tasks
If CirrOS is not getting IP address automatically from Neutron because of some issue or simply DHCP is disabled for subnet then you can use:
ip a add <address/mask> dev eth0
To add IP address and mask to eth0. You will also need default route:
ip r add 0.0.0.0/0 <default_gw> dev eth0