Reindexing all files and folders in NextCloud

Submitted by Fekete Zoltán on Thu, 09/23/2021 - 14:12

If you have missing files, or any discrepancies between physical and virtual filesystem under NextCloud, do this:

Go to the root directory of the NexctCloud installation, the issue the command (use webserver's owner as user, here: www):

 sudo -u www php ./occ files:scan --all

 

 

setup DNSSEC on Bind9

Submitted by Fekete Zoltán on Wed, 06/09/2021 - 13:10
# cd /etc/bind

Add these lines to your zone declaration in named.conf.local:

inline-signing yes;
auto-dnssec maintain;

Then:

# mkdir /var/cache/bind/keys
# cd /var/cache/bind/keys
# dnssec-keygen -a RSASHA256 -b 2048 -f KSK example.com
# dnssec-keygen -a RSASHA256 -b 1280 example.com
# cd /etc/bind 

Add to the zone "example.com" section in the file named.conf.local:

inline-signing yes;
auto-dnssec maintain;

Edit named.conf.options file, and add

Tags