Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Accessing Nextcloud database

    Nextcloud
    3
    6
    300
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • andreasdueren
      andreasdueren last edited by

      One of the people on a nextcloud instance has a problem where the emails wont show in the dashboard. I found this fix here that I wanted to try but I need access to the Database.

      Does anyone have any idea how I can access the phpmyadmin?

      1 Reply Last reply Reply Quote 0
      • luckow
        luckow translator last edited by luckow

        imho there is no phpmyadmin included in the package. As a workaround, install a LAMP app and wget https://github.com/vrana/adminer/releases/download/v4.8.1/adminer-4.8.1.php
        In your nextcloud app, call the terminal and copy the postgres credentials into the adminer via env. Voila: You see the nextcloud Postgres database in the LAMP app adminer interface.
        The nerdish approach is to open the terminal inside your nc Cloudron app and click on postgres 🙂 83452fa3-8226-4f5a-8c6b-4eef744b75bf-image.png

        Pronouns: he/him | Primary language: German

        andreasdueren 2 Replies Last reply Reply Quote 3
        • girish
          girish Staff last edited by

          Given the fix to try is a simple one, you can click on the PostgreSQL button as @luckow suggested and then press Enter. Then, just put in DELETE FORM oc_mail_accounts WHERE id=1 there.

          andreasdueren 1 Reply Last reply Reply Quote 1
          • andreasdueren
            andreasdueren @girish last edited by

            @girish The problem is I don't know which ID this one is and wanted to take a look at the database first

            1 Reply Last reply Reply Quote 0
            • andreasdueren
              andreasdueren @luckow last edited by

              @luckow said in Accessing Nextcloud database:

              imho there is no phpmyadmin included in the package. As a workaround, install a LAMP app and wget https://github.com/vrana/adminer/releases/download/v4.8.1/adminer-4.8.1.php
              In your nextcloud app, call the terminal and copy the postgres credentials into the adminer via env. Voila: You see the nextcloud Postgres database in the LAMP app adminer interface.
              The nerdish approach is to open the terminal inside your nc Cloudron app and click on postgres 🙂 83452fa3-8226-4f5a-8c6b-4eef744b75bf-image.png

              Thanks I'll try this approach

              1 Reply Last reply Reply Quote 0
              • andreasdueren
                andreasdueren @luckow last edited by

                @luckow This was a great hack to find out the ID I needed. Deleting it fixed it, thank you!

                1 Reply Last reply Reply Quote 2
                • Referenced by  BrutalBirdie BrutalBirdie 
                • First post
                  Last post
                Powered by NodeBB