APOC TTL Does not load

Neo Desktop Version: 1.5.8.105
Database Version 5.11

I installed the APOC plugin using the desktop UI. Default APOC functionality loads fine. I want to enable TTL so I added apoc.ttl.enabled=true to neo4j.conf but then the DBMS would not load and writes nothing to any log. I added server.config.strict_validation.enabled=false to the neo4j.conf file then it loaded but got the following warning.

2023-09-15 17:21:34.454+0000 WARN Setting 'apoc.ttl.enabled' for APOC was found in the configuration file. In Neo4j v5, APOC settings must be in their own configuration file called apoc.conf.

OK fine. I created a file called apoc.conf with apoc.ttl.enabled=true and put a copy of it it in every single directory in the DMBS folder (I kid you not). Because at first I just put it in the conf directory.

Still not matter what, apoc.ttl is not available.

That family of procedures is in the full version or extended version of the apoc library. What jar is in your plugins folder

The filename of the plugin is apoc5plus-5.11.0.jar That was what Desktop installed

Not sure what that one has, but you can find the extended code in this jar.

https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases/download/5.11.0/apoc-5.11.0-extended.jar

1 Like

Yes! Dropping that in works sort of. Now apoc.ttl is implemented but the tasks that actually run the expiration don't run so nothing really expires.

So the problem is Neo Desktop is installing the hobbled plugin.