I migrated my owncloud server to new hardware. To do that, I just copied the whole server-directory over to the new hardware. Since the DB is on an external server, and the data also (nfs) that should suffice (I think).
After modifying the config (trusted domain) I started the server.
Everything seems OK. I can login with 2FA and see my files and directories.
The problem starts when I try to access the data via the desktop-client. There my old app-password is not recognized. Creating a new password does not help.
Reverting back to the old server, everything works, with the old passwords (other app-passwords : desktop/laptop).
Nothing gets logged that I can see. I now see there is a way to augment the log-level. Iâll search for that next. Or where should I look ?
TIA,
Koenraad.
Steps to reproduce
- start owncloud desktop client
- enter app-password
Expected behaviour
app-password should be accepted
Actual behaviour
Password is rejected, a message to create a new app-password is shown.
After the new password is created, the new password is rejected again, again showing the message to create a new app-password.
Server configuration
Operating system: ubuntu 20.04
Web server: apache2
Database: mysql
**PHP version:**7.3
ownCloud version: 10.4.1
Updated from an older ownCloud or fresh install: upgrade/migration. i.e. the old server was upgraded a while ago, now to new hardware with the same version (just copied the whole directory).
Where did you install ownCloud from: owncloud
Signing status (ownCloud 9.0 and above):
Login as admin user into your ownCloud and access
http://example.com/index.php/settings/integrity/failed
paste the results into https://gist.github.com/ and puth the link here.
The content of config/config.php:
{
âbasicâ: {
âlicense keyâ: âREMOVED SENSITIVE VALUEâ,
âdateâ: âSun, 12 Jul 2020 14:49:05 +0000â,
âownCloud versionâ: â10.4.1.3â,
âownCloud version stringâ: â10.4.1â,
âownCloud editionâ: âCommunityâ,
âserver OSâ: âLinuxâ,
âserver OS versionâ: âLinux uranus2 5.6.0-1017-oem #17-Ubuntu SMP Tue Jun 23 18:59:19 UTC 2020 x86_64â,
âserver SAPIâ: âfpm-fcgiâ,
âwebserver versionâ: âApache/2.4.43 (Ubuntu)â,
âhostnameâ: âxxx.beâ,
âlogged-in userâ: ârootâ
},
âstatsâ: {
âusersâ: {
âDatabaseâ: {
âcountâ: 7,
âseenâ: 7,
âlogged in (30 days)â: 2
}
},
âgroupsâ: {
âOC\Group\Databaseâ: 3
}
},
âconfigâ: {
âtrusted_domainsâ: [
âlocalhostâ,
âxxx.beâ,
â192.168.xxx.2â
],
âdatadirectoryâ: â/net/mail/owncloudâ,
âoverwrite.cli.urlâ: âhttp://uranus2/owncloudâ,
âdbtypeâ: âmysqlâ,
âdbnameâ: âowncloud1â,
âdbhostâ: âsql-serverâ,
âdbtableprefixâ: âoc_â,
âdbuserâ: âREMOVED SENSITIVE VALUEâ,
âdbpasswordâ: âREMOVED SENSITIVE VALUEâ,
âlogtimezoneâ: âEurope/Brusselsâ,
âlog_rotate_sizeâ: 52428800,
âlogfileâ: â/var/log/owncloud-new.logâ,
âlog_typeâ: âowncloudâ,
âmail_smtpmodeâ: âsmtpâ,
âmail_smtphostâ: âREMOVED SENSITIVE VALUEâ,
âmaintenanceâ: false,
âthemeâ: ââ,
âloglevelâ: 1,
âinstanceidâ: âoc86fdfc3a25â,
âpasswordsaltâ: âREMOVED SENSITIVE VALUEâ,
âversionâ: â10.4.1.3â,
âinstalledâ: true,
âforcesslâ: true,
âsecretâ: âREMOVED SENSITIVE VALUEâ,
âmail_from_addressâ: âREMOVED SENSITIVE VALUEâ,
âmail_domainâ: âREMOVED SENSITIVE VALUEâ,
âmail_smtpportâ: â25â,
âforceSSLforSubdomainsâ: true,
âtrashbin_retention_obligationâ: âautoâ,
âsingleuserâ: false,
âmemcache.localâ: â\OC\Memcache\APCuâ,
âmemcache.lockingâ: â\OC\Memcache\Redisâ,
âredisâ: {
âhostâ: âlocalhostâ,
âportâ: 6379
}
},
âintegritycheckerâ: {
âpassingâ: true,
âenabledâ: true,
âresultâ: []
},
List of activated apps:
Enabled:
- activity: 2.5.3
- calendar: 1.6.4
- comments: 0.3.0
- configreport: 0.2.0
- contacts: 1.5.5
- dav: 0.5.0
- federatedfilesharing: 0.5.0
- files: 1.5.2
- files_external: 0.7.1
- files_mediaviewer: 1.0.2
- files_pdfviewer: 0.11.1
- files_sharing: 0.12.0
- files_texteditor: 2.3.0
- files_trashbin: 0.9.1
- files_versions: 1.3.0
- firstrunwizard: 1.2.0
- gallery: 16.1.1
- gpxpod: 2.2.2
- market: 0.5.0
- metadata: 0.10.0
- notifications: 0.5.0
- provisioning_api: 0.5.0
- systemtags: 0.3.0
- templateeditor: 0.4.0
- twofactor_totp: 0.6.1
- updatenotification: 0.2.1
Disabled: - encryption
- external
- federation
- user_external
Are you using external storage, if yes which one: nfs
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
Client configuration
Browser: Firefox
Operating system: Kubuntu 18.04