Thanks @mrmarkuz .
I’m still confused as to how these containers are structured but your help gives me a direction to look. Thanks for all your help.
I’m getting a error that is a bit cryptic for me. Error while parsing json
I’m assuming that somehow I messed up the formatting in the json file, but the error message isn’t particularly helpful.
What is all this info [nextcloud] [no app in context] [0] ...
about? Is this verbose debug code? Similar info is found at at the top of the files_export:export
json file. Is this supposed to be inside the import_user.json
or is this just the debug code that is spit out?
Here is the full error message in case it is helpful.
$ occ files_external:import /import_user.json
[nextcloud][no app in context][0] {"reqId":"iMr7T9kVJrLNSFAypVTh","level":0,"time":"2025-04-02T13:01:20+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"{\"Exception\":\"RuntimeException\",\"Message\":\"ignorable exception\",\"Code\":0,\"Trace\":[{\"file\":\"/var/www/html/lib/private/AppConfig.php\",\"line\":1180,\"function\":\"loadConfig\",\"class\":\"OC\\\\AppConfig\",\"type\":\"->\",\"args\":[null]},{\"file\":\"/var/www/html/lib/private/AppConfig.php\",\"line\":100,\"function\":\"loadConfigAll\",\"class\":\"OC\\\\AppConfig\",\"type\":\"->\",\"args\":[]},{\"file\":\"/var/www/html/lib/private/AllConfig.php\",\"line\":169,\"function\":\"getKeys\",\"class\":\"OC\\\\AppConfig\",\"type\":\"->\",\"args\":[\"user_ldap\"]},{\"file\":\"/var/www/html/apps/user_ldap/lib/Helper.php\",\"line\":111,\"function\":\"getAppKeys\",\"class\":\"OC\\\\AllConfig\",\"type\":\"->\",\"args\":[\"user_ldap\"]},{\"file\":\"/var/www/html/apps/user_ldap/lib/Helper.php\",\"line\":52,\"function\":\"getServersConfig\",\"class\":\"OCA\\\\User_LDAP\\\\Helper\",\"type\":\"->\",\"args\":[\"ldap_configuration_active\"]},{\"file\":\"/var/www/html/apps/user_ldap/lib/AppInfo/Application.php\",\"line\":114,\"function\":\"getServerConfigurationPrefixes\",\"class\":\"OCA\\\\User_LDAP\\\\Helper\",\"type\":\"->\",\"args\":[true]},{\"file\":\"/var/www/html/lib/private/AppFramework/Bootstrap/FunctionInjector.php\",\"line\":28,\"function\":\"OCA\\\\User_LDAP\\\\AppInfo\\\\{closure}\",\"class\":\"OCA\\\\User_LDAP\\\\AppInfo\\\\Application\",\"type\":\"->\",\"args\":[\"*** sensitive parameters replaced ***\"]},{\"file\":\"/var/www/html/lib/private/AppFramework/Bootstrap/BootContext.php\",\"line\":32,\"function\":\"injectFn\",\"class\":\"OC\\\\AppFramework\\\\Bootstrap\\\\FunctionInjector\",\"type\":\"->\",\"args\":[{\"__class__\":\"Closure\"}]},{\"file\":\"/var/www/html/apps/user_ldap/lib/AppInfo/Application.php\",\"line\":105,\"function\":\"injectFn\",\"class\":\"OC\\\\AppFramework\\\\Bootstrap\\\\BootContext\",\"type\":\"->\",\"args\":[{\"__class__\":\"Closure\"}]},{\"file\":\"/var/www/html/lib/private/AppFramework/Bootstrap/Coordinator.php\",\"line\":157,\"function\":\"boot\",\"class\":\"OCA\\\\User_LDAP\\\\AppInfo\\\\Application\",\"type\":\"->\",\"args\":[{\"__class__\":\"OC\\\\AppFramework\\\\Bootstrap\\\\BootContext\"}]},{\"file\":\"/var/www/html/lib/private/App/AppManager.php\",\"line\":434,\"function\":\"bootApp\",\"class\":\"OC\\\\AppFramework\\\\Bootstrap\\\\Coordinator\",\"type\":\"->\",\"args\":[\"user_ldap\"]},{\"file\":\"/var/www/html/lib/private/App/AppManager.php\",\"line\":211,\"function\":\"loadApp\",\"class\":\"OC\\\\App\\\\AppManager\",\"type\":\"->\",\"args\":[\"user_ldap\"]},{\"file\":\"/var/www/html/lib/private/Console/Application.php\",\"line\":84,\"function\":\"loadApps\",\"class\":\"OC\\\\App\\\\AppManager\",\"type\":\"->\",\"args\":[]},{\"file\":\"/var/www/html/console.php\",\"line\":81,\"function\":\"loadCommands\",\"class\":\"OC\\\\Console\\\\Application\",\"type\":\"->\",\"args\":[{\"__class__\":\"Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput\"},{\"__class__\":\"Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput\"}]},{\"file\":\"/var/www/html/occ\",\"line\":33,\"args\":[\"/var/www/html/console.php\"],\"function\":\"require_once\"}],\"File\":\"/var/www/html/lib/private/AppConfig.php\",\"Line\":1194,\"message\":\"The loading of lazy AppConfig values have been requested\",\"exception\":{},\"CustomMessage\":\"The loading of lazy AppConfig values have been requested\"}","userAgent":"--","version":"30.0.7.2"}
Error while parsing json
Thanks!