So far so goog, but when I try to create an admin user I get an error:
Error while trying to create admin user: Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [1045] Access denied for user âoc_InfectFTWâ@âlocalhostâ (using password: YES)
This will show your username and password for the db. Set up an admin account, but do NOT create a MySQL account. Use the credentials you got from the command.
I am pretty sure it is in /your/path/to/nextcloud/config
and the command will be
grep dbuser config.php
grep dbpassword config.php
the answer will look like
âdbuserâ => 'oc_InfectFTWâ
âdbpasswordâ => âYourTopSecretPasswordâ
But this user has to exist in the DB with localhost and access rights to the nextcloud DB
C:\Users\user>ssh -p 61122 user@ds418
infect@ds418âs password:
Infect@DS418:~$ sudo su
Password:
ash-4.3# dir
Downloads Drive
ash-4.3# cd/volume2/
ash: cd/volume2/: No such file or directory
ash-4.3# cd/volume2
ash: cd/volume2: No such file or directory
ash-4.3# cd /downloads
ash: cd: /downloads: No such file or directory
ash-4.3# dir
Downloads Drive
ash-4.3# cd /Downloads
ash: cd: /Downloads: No such file or directory
ash-4.3#
Do you know, what I am doing wrong?
âinsert PWâ means, that I insert my password
the first two command seems wrong: cd /volume2
with a whitespace between cd (the command) and /volume2 (the target directory) trailing / is unimportant.
BTW what does the command ls -la
give
Okay, it seems like the config does not exist.
Am I correct?
How can I proceed?
C:\Users\USER>ssh -p 61122 USER@ds418
infectATSYMBOLds418âs password:
InfectATSYMBOLDS418:~$ sudo su
Password:
ash-4.3# cd /volume2/
ash-4.3# dir
ATSYMBOLappstore aquota.user @database Gamez nextcloud ATSYMBOLsynologydrive ATSYMBOLtmp
aquota.group Bilder\ Tim ATSYMBOLeaDir homes ATSYMBOLSynologyApplicationService synoquota.db web
ash-4.3# cd /nextcloud/
ash: cd: /nextcloud/: No such file or directory
ash-4.3# cd /volume2/nextcloud/
ash-4.3# dir
ATSYMBOLeaDir index.html nextcloud.log
ash-4.3#