OC is the private namespace of Nextcloud php classes.
OCP is the public namespace of Nextcloud php classes, for things that can be used by applications.
OC\DB is the private subnamespace of database related classes.
Yeah, many threads are mentionning errors, this is usually why people come for help on the forums. Which error are you getting?
if you’re willing to help me and my team, please have a look here:
after many installations, with snap, AIO, manual intall, script install, on ubuntu 20 and 22, trying with php 7.4 8.0 8.1, with APCu and Redis, just Redis
we always come to the same situation: impossible to work properly with .md files
: can’t open them, can’t edit them, can’t rename them
I get the advice to reinstall NC, to uninstall the app that cause a problem, but not how to have things running properly