Skip to content

Fix >>failed to setup inotify handler. Please increase inotify limits<< on truenas scale for syncthing

I am using Syncthing on my truenas scale and got the following error after adding more and more directories.

failed to setup inotify handler. Please increase inotify limits, see https://docs.syncthing.net/users/faq.html#inotify-limits

The fix is simple, just login to your truenas scale and click to System Settings -> Advanced -> Sysctl -> Add.

Add Variable fs.inotify.max_user_watches with value 204800 and that's it. Happy syncthing!

Temporary fix lot of entries in nextclouds user "Devices & sessions"

Hello there,

when logged into my nextcloud server as user, I clicked to User Bubble -> Settings -> Security and found a long list of entries below Devices &amp; sessions.

After searching the issue list, I found this issue ticket.

The issue is know but either it is a kind of special issue ore no one really cares about it.

There is currently no real solution but I want to offer a temporary one.

You can create a cronjob that executes the following sql statement once per week or day.

```sql
--- 
--- You have to replace <user_name> with your user name
--- 

DELETE FROM 
  `oc_authtoken` 
WHERE 
  `uid` = <user> 
  AND `last_activity` < UNIX_TIMESTAMP(DATE_SUB(CURRENT_DATE(), INTERVAL 16 DAY));

OPTIMIZE TABLE `oc_authtoken`;
```

From my point of view, it looks like Firefox is doing something strange. Maybe other browsers behave the same.

Best regards, artodeto

Nextcloud create public upload link

So today I wanted to quickly setup a public shared link so that a friend of mine is able to easily upload a file to me.

Of course, I've stumbled over the file drop but I was not able to find the "File drop (upload only" section when I was creating this share.

I tried to find more information and was digging into the documentation. I was going through the issue list but at the end, I was not able to fix the missing option. I was also quickly updating the server to the latest version, but also, no "File drop" selection.

Than, after reading the logs, investigating the config.php, I finally found the missing link.

As an administrator, you have to go to Sharing and check the Allow public uploads configuration setting. After that, you can finally create your share as a user known as "file drop".

Setup Telekom FTTH via PPPoE with Opnsense | Telekom Glasfaser durch PPPoE auf einer Opnsense einrichten

English

All can be found here too.

  • Interfaces -> other types -> VLAN (https://<your opnsense ip>/interfaces_vlan.php)
    • Create new VLAN-Interface:
      • Parent Interface:
      • VLAN-Tag: 7
      • VLAN Priority: 0
      • Description: telekom vlan
  • WAN-Interface (https://<your opnsense ip>/interfaces.php?if=wan):
    • Choose device pppoe
    • IPv4 Configuration: PPPoE
    • PPPoE Configuration:
      • Username: 0001@t-online.de
      • Password:
      • Servicename: telekom
  • Check:
    • System -> Gateways (https://<your opnsense ip>/system_gateways.php)
    • Remove all the gateways not named like WAN_PPPOE

Deutsch

Die Anleitung kann auch hier gefunden werden.

  • Schnittstellen -> Andere Typen -> VLAN (https://<IP Adresse der opnsense>/interfaces_vlan.php)
    • Erstelle neue VLAN-Schnittstelle:
      • Eltern Schnittstelle:
      • VLAN-Tag: 7
      • VLAN Priorität: 0
      • Beschreibung: telekomnvb vlan
  • WAN-Schnittstelle (https://<IP Adresse der opnsense>/interfaces.php?if=wan):
    • Wähle Gerät PPPoE aus
    • IPv4 Konfiguration: PPPoE
    • PPPoE Konfigurationn:
      • Benutzername: 0001@t-online.de
      • Passwort: <Persöhnliches Kennwort>
      • Dienstname: telekom
  • Prüfung:
    • System -> Gateways (https://<IP Adresse der opnsense>/system_gateways.php)
    • Entferne alle Gateways die nicht wie folgt benannt sind WAN_PPPOE