DISCONNECT ALL SHARED DRIVES BEFORE DELETING FOLDERS!!!
rm -rf FOLDER ABOVE HGFS
rm -rf hgfs
mkdir hgfs
sudo vmhgfs-fuse .host:/ /mnt/hgfs/ -o allow_other -o uid=1000
Example error log
time="03-11-2023 19:58:53" level=info msg="loading acquisition file : /etc/crowdsec/acquis.yaml"
time="03-11-2023 19:58:53" level=fatal msg="crowdsec init: while loading acquisition config: no datasource enabled"
Make sure acquis.yaml is configured correctly
cd /home/USERNAME/docker/traefik-crowdsec/crowdsec-logs/
cd /home/USERNAME/docker/traefik-crowdsec/crowdsec-config/
nano acquis.yaml
filenames:
- /var/log/crowdsec/traefik.log
labels:
type: traefik
---
filenames:
- /var/log/auth.log
labels:
type: syslog
cd /mnt
mkdir serie-drive movie-drive
Live version https://www.qnap.com/en-us/how-to/knowledge-base/article/how-to-enable-and-setup-host-access-for-nfs-connection
Archived version: https://web.archive.org/web/20220529102812/https://www.qnap.com/en-us/how-to/knowledge-base/article/how-to-enable-and-setup-host-access-for-nfs-connection
sudo su
sudo showmount -e 192.168.1.2
IP = QNAP IP
mount -t nfs 192.168.1.2:/myusername\ SERIES\ Collection /mnt/serie-drive
mount -t nfs 192.168.1.2:/myusername\ MOVIE\ Collection /mnt/movie-drive
cd /mnt
ls
docker-compose logs
docker rm naamvandecontainer
docker run --rm --volumes-from CONTAINER -v $(pwd):/backup busybox tar cvfz /backup/backup.tar CONTAINERPATH
docker run --rm --volumes-from CONTAINER -v $(pwd):/backup busybox bash -c "cd CONTAINERPATH && tar xvf /backup/backup.tar --strip 1"
docker cp CONTAINERNAMEHERE:/file/path/within/container /host/path/target
docker system prune
This command will completely uninstall docker. Ensure you've backed up any crucial data or configurations.
sudo apt-get purge -y docker-engine docker docker.io docker-ce docker-ce-cli docker-compose-plugin docker compose && sudo apt-get autoremove -y --purge docker-engine docker docker.io docker-ce docker-compose-plugin && sudo rm -rf /var/lib/docker /etc/docker && sudo rm /etc/apparmor.d/docker && sudo groupdel docker && sudo rm -rf /var/run/docker.sock
cd /mnt
cd hgfs
docker container stop portainer
docker run --rm -v /home/myusername/docker/portainer:/data portainer/helper-reset-password
docker start portainer
cd /home/myusername/docker/nextcloud/data/config
sudo docker exec -it nxtclouddb bash
mysql -u root -p
SET GLOBAL innodb_read_only_compressed=OFF;
.quit
Does the first option not work?
https://federationtester.matrix.org
sudo docker exec -it CONTAINERNAAM bash
mysql -u root -p
USE npm;
UPDATE user SET is_deleted=1;
.quit
exit
Access your NPM in the browser and log in with this data:
login: [email protected]
pass: changeme
You have now created an admin user you can login with. You can now either just use this user, or you can re-enable the old account and use the new account to change the password of the old one. To re-enable it, once again execute the following commands:
docker exec -it nginxproxymanager_db_1 sh
mysql -u root -p
Enter the root password again, as in step 1.
USE npm;
UPDATE user SET is_deleted=0;
quit
exit
docker restart cloudflared
sudo docker exec grafana grafana cli admin reset-admin-password admin
cd media/disk/hdd01/data/seafile/conf
nano seahub_settings.py
Add the following line under SERVICE_URL (first domain is for public use second domain is for the local server)
CSRF_TRUSTED_ORIGINS = ['https://seafile.DOMAIN.COM', 'http://192.168.x.x:8240']
CSRF_COOKIE_SECURE = True
CSRF_COOKIE_SAMESITE = 'Strict'
ALLOWED_HOSTS = ['.seafile.DOMAIN.COM', '192.168.x.x']
sudo docker exec -it pihole /bin/bash
pihole -a -p NEWPASSWORDHERE