Fix kodi slow clean library

Published on

Kodi is trying to check each file even if it is located on network nfs/smb share and is no more available. Network connect with timeout is very slow, so attempt to clean kodi audio/video library with dead nfs/smb resources thru UI will cause application freeze. To fix this issue you could temporarily rename all smb:// … Continue reading Fix kodi slow clean library

Setup nextcloud/owncloud on Gentoo linux

Published on

Configure Portage Create portage folders for accepted keywords and use flags (if you don’t have them yet): mkdir -p /etc/portage/package.accept_keywords mkdir -p /etc/portage/package.use Setup MySQL Install the mysql-like server (mysql or mariadb or percona-server): echo “dev-db/percona-server” > /etc/portage/package.accept_keywords/percona-server emerge percona-server Edit: nano /etc/mysql/my.cnf … [mysqld] innodb_data_file_path = ibdata1:10M:autoextend innodb_buffer_pool_size = 128M innodb_log_file_size = 32M Add … Continue reading Setup nextcloud/owncloud on Gentoo linux

Recover GCC on Gentoo

Published on

Why? Gentoo could became completely unusable if for some reason build chain is broken. If you see “Segmentation fault” from “gcc” then probably replacing whole GCC by the version provided in Stage 3 could be a good fix. You could also use this method to install binary version of other packages, like binutils, libtool, glibc … Continue reading Recover GCC on Gentoo

LibreELEC RAID support

Published on

Why? LibreELEC will not support RAID, either hardware or software configurations, as it is considered out of scope for this project. Consider a NAS. But LibreELEC is Linux-based and it is open, so we could bring RAID support and customize it for our needs. Requirements Here are my requirements for RAID and my configuration: RAID … Continue reading LibreELEC RAID support

LibreELEC sendmail

Published on

Why? Some services have an option to send notifications by email, so we need to install a simple sendmail emulator which could forward messages to relay mail host. For example, sendmail could be used to notify you about failed drive in RAID array via google mail. Prerequisites Created google mail account. Installed entware-ng with opkg. … Continue reading LibreELEC sendmail