# Cannot find nextcloud-db

**URL:** <https://help.nextcloud.com/t/cannot-find-nextcloud-db/42743>\
**Category:** ℹ️ Support\
**Created:** [December 7, 2018, 1:37pm UTC](https://help.nextcloud.com/t/cannot-find-nextcloud-db/42743 "2018-12-07T13:37:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mschmaus](https://help.nextcloud.com/letter_avatar/mschmaus/32/6_22734026db12803ebb3e059622ac3534.png) [@mschmaus](https://help.nextcloud.com/u/mschmaus)\
**Post date:** [December 7, 2018, 1:37pm UTC](https://help.nextcloud.com/t/cannot-find-nextcloud-db/42743/1 "2018-12-07T13:37:08Z")

</div>

> **Support intro**
>
> Sorry to hear you’re facing problems 🙁
> 
> _**[help.nextcloud.com](http://help.nextcloud.com) is for home/non-enterprise users. If you’re running a business, paid support can be accessed via [portal.nextcloud.com](http://portal.nextcloud.com) where we can ensure your business keeps running smoothly.**_
> 
> In order to help you as quickly as possible, before clicking **Create Topic** please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
> 
> ```
> example
> 
> ```
> 
> Or for longer, use three backticks above and below the code snippet:
> 
> ```auto
> longer
> example
> here
> 
> ```
> 
> Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can ❤

Nextcloud version _(eg, 12.0.2)_: 12.0.0  
Operating system and version _(eg, Ubuntu 17.04)_: Asustor NAS  
Apache or nginx version _(eg, Apache 2.4.25)_: no idea  
PHP version _(eg, 7.1)_: no idea

The issue you are facing:  
Installed and configured nextcloud on my Asustor NAS  
All works fine, but I would like to upgrade to newer version and do a backup before that  
On my Asustor NAS MariaDB is running and I can connect to it via PhpMyAdmin, but there is no nextcloud database. Is it possible that my nextcloud installation runs without a database? Is there a way to find out which is the name of the database used by my nextcloud installation?

Is this the first time you’ve seen this error? _(Y/N)_: Yes

Steps to replicate it: not applicable

1. 
2. 
3. 

The output of your Nextcloud log in **Admin \> Logging** :

```auto
PASTE HERE

```

The output of your config.php file in `/path/to/nextcloud` (make sure you remove any identifiable information!):

```auto
<?php
$CONFIG = array (
  'instanceid' => 'xxx',
  'passwordsalt' => 'xxx',
  'secret' => 'xxx',
  'trusted_domains' => 
  array (
    0 => 'as5002t',
  ),
  'datadirectory' => '/volume1/Web/nextcloud12/data',
  'overwrite.cli.url' => 'https://as5002t/nextcloud12',
  'dbtype' => 'sqlite3',
  'version' => '12.0.0.29',
  'installed' => true,
  'mail_smtpmode' => 'smtp',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpsecure' => 'ssl',
  'mail_from_address' => 'nextcloud',
  'mail_domain' => 'abc.de',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'smtp.abc.de',
  'mail_smtpport' => '465',
  'mail_smtpname' => 'nextcloud@abc.de',
  'mail_smtppassword' => '1234',
  'maintenance' => false,
  'updater.release.channel' => 'production',
);

```

The output of your Apache/nginx/system log in `/var/log/ ____ `:

```auto
PASTE HERE

```

---

<div class="post-metadata">

**Author:** ![Schmu](https://help.nextcloud.com/user_avatar/help.nextcloud.com/schmu/32/7823_2.png) [@Schmu](https://help.nextcloud.com/u/Schmu)\
**Post date:** [December 7, 2018, 3:25pm UTC](https://help.nextcloud.com/t/cannot-find-nextcloud-db/42743/2 "2018-12-07T15:25:34Z")

</div>

> [@mschmaus](#):
>
> ‘dbtype’ =\> ‘sqlite3’,

Hi,

Looks like you use sqlite3 as DB.  
I searched for a the command to perform an sqlite3 backup real quick:

> <https://stackoverflow.com/questions/25675314/how-to-backup-sqlite-database>

Looking at the suggested solution, you can search for \*.sq3 files on your system, to find the database.  
I hope it helps.

---

<div class="post-metadata">

**Author:** ![OliverV](https://help.nextcloud.com/user_avatar/help.nextcloud.com/oliverv/32/5741_2.png) [@OliverV](https://help.nextcloud.com/u/OliverV)\
**Post date:** [December 7, 2018, 4:28pm UTC](https://help.nextcloud.com/t/cannot-find-nextcloud-db/42743/3 "2018-12-07T16:28:46Z")

</div>

> [@mschmaus](#):
>
> Is it possible that my nextcloud installation runs without a database?

Yes, yours is using sqlight3.  
Found documentation concerning converting database types [here](https://docs.nextcloud.com/server/11/admin_manual/configuration_database/db_conversion.html)

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 4, 2024, 8:28am UTC](https://help.nextcloud.com/t/cannot-find-nextcloud-db/42743/4 "2024-12-04T08:28:32Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 9, 2024, 3:43pm UTC](https://help.nextcloud.com/t/cannot-find-nextcloud-db/42743/5 "2024-12-09T15:43:59Z")

</div>


