So first, the app is compatible with NC 32 and has been since launch. Please install the version for NC 32.
The reason you can’t use the app is that you migrated to another server without keeping the secret from the old one. Because of this, the data can’t be decrypted anymore.
If you still have the config.php file from the old server, you can get the secret from there and store it as passwords.secret in the config.php on the new one.
The NEXTCLOUD_PASSWORD is for the admin interface, it’s not the server secret. The server secret is in the config.php and can be set with occ. (how to run occ commands: occ)
I would recommend restoring the old server secret to the passwords.secret config value because overwriting the server secret, as you may have noticed, breaks things that are encrypted with it.
I finally found a solution is to deploy a sandbox non-AIO instance, then restore the DB and copy secretover to the new instance and it works.
I remembered that I used occ maintenance:repair without turning on maintenance mode it will clear out all passwords.
This time when I use it on Nextcloud AIO in production for quite a while, is destroy rather than repair. Got internal server error after that and blah blah to see the logs.
Here is the output:
sudo docker exec --user www-data -it nextcloud-aio-nextcloud php occ maintenance:repair
- Repair MySQL collation
- Not a mysql database -> nothing to do
- Clean tags and favorites
- 0 tags of deleted users have been removed.
- 0 tags for delete files have been removed.
- 0 tag entries for deleted tags have been removed.
- 0 tags with no entries have been removed.
- Repair invalid shares
- Move .step file of updater to backup location
- Add move avatar background job
- Repair step already executed
- Add preview cleanup background jobs
- Migrate oc_properties table to nextcloud schema
- oc_properties table does not exist.
- Migrate oauth2_clients table to nextcloud schema
- Update the oauth2_access_tokens table schema.
- Update the oauth2_clients table schema.
- Delete clients (and their related access tokens) with the redirect_uri starting with oc:// or ending with *
- Repair language codes
- Add log rotate job
- Clear frontend caches
- Image cache cleared
- JS cache cleared
- Clear every generated avatar
- Add preview background cleanup job
- Queue a one-time job to cleanup old backups of the updater
- Cleanup invalid photocache files for carddav
- Add background job to cleanup login flow v2 tokens
- Remove potentially over exposing share links
- No need to remove link shares.
- Clear access cache of projects
- Reset generated avatar flag
- Keep legacy encryption enabled
- Check encryption key format
- Remove old dashboard app config data
- Add job to cleanup the bruteforce entries
- Queue a one-time job to check for user uploaded certificates
- Repair DAV shares
- Add background job to set the lookup server share state for users
- Add token cleanup job
- Clean up abandoned apps
- Add possibly missing system config
- Add AI tasks cleanup jobs
- Queue a job to generate metadata
- migrate lazy config values
- Cache logo dimension to fix size in emails on Outlook
- Logo dimensions are already known
- Remove legacy ".ocdata" file
- Add cleanup-deleted-users background job
- Validate account properties and store phone numbers in a known format for search
- Queued background to validate account properties.
- Add read permissions for existing announcements
0 [->--------------------------]
- Upgrading Circles App
- Fix Cospend project members whose related NC user does not exist
- No members to fix
- Fix component of birthday calendars
- 10 birthday calendars updated.
- Regenerating birthday calendars to use new icons and fix old birthday events without year
- Repair step already executed
- Fix broken values of calendar objects
0 [----->----------------------]
- Registering building of calendar search index as background job
- Repair step already executed
- Register building of social profile search index as background job
- Repair step already executed
- Registering background jobs to update cache for webcal calendars
- Added 0 background jobs to update webcal calendars
- Registering building of calendar reminder index as background job
- Repair step already executed
- Register a background job to update rooms and resources
- Queue jobs to clean up orphan event and contact data
- Remove activity entries of private events
- Removed 0 activity entries
- Clean up old calendar subscriptions from deleted users that were not cleaned-up
0 [--------->------------------]
- 0 calendar subscriptions without an user have been cleaned up
- Migrate labels with wrong board mapping
- Fix the share type of guest shares when migrating from ownCloud
- Copy the share password into the dedicated column
- Set existing shares as accepted
- Converts owncloud guests to nextcloud guests
- Reset the email of all guest accounts
- Restore default tags that are missing
- Looking up default tags
- 6 accounts to check found
6/6 [============================] 100%
- Add a generated message-id to all Mail messages that have none
- Looking up messages without a message-id
- Purify and migrate collected mail addresses
0 [---------------->-----------]
- Insert background jobs for all accounts
6/6 [============================] 100%
- Make Mail itinerary extractor executable
- Create or update provisioned Mail accounts
- 0 accounts provisioned
- Repair Broken Threads for all mail accounts
- Repaired threads, 0 messages updated
- Queue a job to delete duplicated cached messages
- Repair steps for Memories
- External table schema seems up to date
- Recreated filecache trigger with: postgres
- exiftool binary is configured: /var/www/html/custom_apps/memories/bin-ext/exiftool-amd64-musl
- go-vod binary is configured: /var/www/html/custom_apps/memories/bin-ext/go-vod-amd64
- ffmpeg binary is configured: /usr/bin/ffmpeg
- Remove the unused News update job
- Job does not exist, all good
- Clean up meta table
- Show a hint about the new editor to existing users
- Set binary permissions
- Update OAuth token expiration times
- Repair Passwords Database Objects
- Checking 0 tag revisions
0 [------------------------>---]
- Fixed 0 tag revisions
- Checking 4 folder revisions
4/4 [============================] 100%
- Fixed 4 folder revisions
- Checking 228 password revisions
228/228 [============================] 100%
- Fixed 228 password revisions
- Checking 0 tag models
0 [--->------------------------]
- Fixed 0 tag models
- Checking 4 folder models
4/4 [============================] 100%
- Fixed 4 folder models
- Checking 225 password models
225/225 [============================] 100%
- Fixed 225 password models
- Checking 0 password tag relations
0 [------------------------>---]
- Fixed 0 password tag relations
- Checking 3 shares
3/3 [============================] 100%
- Fixed 0 shares
- init metadata
- Polls - Update or create hashes for votes and options
- No option hashes to update
- No vote hashes to update
- Polls - Migrate access values from public to open
- No poll access values to update
- Install recognize dependencies
- WARNING: Failed to automatically install dependencies for recognize. Check the recognize admin panel for potential problems.
- Invalidate access cache for projects conversation provider
- Invalidation not required
- Cache the user display names
- Fix the namespace in database tables
- Switches from default updater server to the customer one if a valid subscription is available
- Repair step already executed
- Migrate some config values to lazy loading
- Send an admin notification if monthly report is disabled
- Force-reset all Text document sessions
- Initialize migration of background images from dashboard to theming app
- Add background job to check for backup codes
- Populating added database structures for workflows
Nextcloud.log contain tons of Uptime Kuma related stuff that pings it. So I can’t see any error there. It spammed the logs.
"user":"--","app":"serverDI","method":"GET","url":"/apps/dashboard/","message":"The requested alias \"OCP\\IServerContainer\" is deprecated. Please request \"Psr\\Container\\ContainerInterface\" directly. This alias will be removed in a future Nextcloud version."
An unhandled exception has been thrown:
TypeError: OC\AppFramework\Services\AppConfig::setAppValueBool(): Argument #2 ($value) must be of type bool, string given, called in /var/www/html/custom_apps/files_fulltextsearch/lib/Service/ConfigService.php on line 57 and defined in /var/www/html/lib/private/AppFramework/Services/AppConfig.php:180
Stack trace:
#0 /var/www/html/custom_apps/files_fulltextsearch/lib/Service/ConfigService.php(57): OC\AppFramework\Services\AppConfig->setAppValueBool('files_pdf', '1')
#1 /var/www/html/custom_apps/files_fulltextsearch/lib/Command/Configure.php(52): OCA\Files_FullTextSearch\Service\ConfigService->setConfig(Array)
#2 /var/www/html/3rdparty/symfony/console/Command/Command.php(326): OCA\Files_FullTextSearch\Command\Configure->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#3 /var/www/html/core/Command/Base.php(218): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#4 /var/www/html/3rdparty/symfony/console/Application.php(1078): OC\Core\Command\Base->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#5 /var/www/html/3rdparty/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(OCA\Files_FullTextSearch\Command\Configure), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#6 /var/www/html/3rdparty/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#7 /var/www/html/lib/private/Console/Application.php(187): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/console.php(90): OC\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput))
#9 /var/www/html/occ(33): require_once('/var/www/html/c...')
#10 {main}whiteboard is up-to-date or no updates could be found
Config value were not updated
Config value were not updated