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


Skip to content
  • MySQL failing to start

    Moved Solved Support mysql services
    3
    1
    0 Votes
    3 Posts
    1k Views
    jamesJ
    Closed due to inactivity
  • Cloudron is offline. Reconnecting...

    Solved Support mysql offline
    6
    1
    0 Votes
    6 Posts
    2k Views
    nebulonN
    @harrowsmith can you run docker network inspect cloudron to see if the network it tries to bind on is actually created?
  • After update to 7.3.2, mySQL does not come up

    Solved Support mysql addons
    6
    0 Votes
    6 Posts
    3k Views
    girishG
    @necrevistonnezr I wasn't aware of the setting, good to know.
  • 0 Votes
    3 Posts
    2k Views
    girishG
    Also, see https://forum.cloudron.io/topic/3237/remote-sql-support-on-a-per-app-basis?_=1652377131316 on how one can connect with a SSH tunnel.
  • mysql slow query log

    Solved Support mysql
    9
    0 Votes
    9 Posts
    4k Views
    girishG
    (please read warning in above comment before following instructions below). If you want to make config file changes: docker exec -ti mysql /bin/bash Edit /run/mysql/my.cnf as needed supervisorctl restart mysql It is important to note that the changes to config files are not persistent across container restarts and server reboot. In general, we have not envisioned Cloudron as a development environment, but we do have many devs using it as such. So, if there is interest, maybe we need to improve things for such use cases.
  • MySQL server down

    Solved Support mysql
    6
    1 Votes
    6 Posts
    2k Views
    iamthefijI
    @iamthefij Ok. Just restored matomo from backup again and it's all good.
  • MySQL Unresponsive!

    Solved Support mysql
    8
    1
    0 Votes
    8 Posts
    3k Views
    girishG
    I put some docs on how to fix the mysql addon here - https://docs.cloudron.io/troubleshooting/#mysql-addon . It's not "complete" but it's very hard to write those docs since there's a lot of things that can go wrong with mysql....
  • MySQL real-time monitoring tool

    Support performance mysql monitoring
    2
    0 Votes
    2 Posts
    1k Views
    marcusquinnM
    @vladimir-d DBeaver Database Dashboard? Or you thinking longer timeframe and more detail?
  • 0 Votes
    5 Posts
    2k Views
    girishG
    @jordanurbs thanks! I will look into making this automatic. https://git.cloudron.io/cloudron/box/-/issues/800
  • How do you diagnose PHP-based SQL problems?

    Solved Support mysql
    13
    1
    0 Votes
    13 Posts
    5k Views
    girishG
    Ok, I will mark this as solved but let's investigate further if this comes up again. FWIW, if you do docker exec -ti mysql /bin/bash then the details mysql logs are located at /tmp/mysqld.err .
  • mysql logs

    Solved Support mysql
    5
    1
    0 Votes
    5 Posts
    2k Views
    girishG
    @vladimir-d This is already fixed in the coming release - https://git.cloudron.io/cloudron/box/-/commit/6d044bfbf384b8ae98f1beac0f9d1c50005e8d34 . For now, you can ignore the warning, it's harmless.
  • Ubuntu 20.04 "landscape" user account running mysqld

    Solved Support mysql landscape
    24
    0 Votes
    24 Posts
    6k Views
    d19dotcaD
    @girish I think that might be an improvement worth considering, no? Making the necessary changes would (I think)... Make it clear to monitoring tools and manual checks by users which processes being run are local to the host and which are from containers, particularly useful when multiple instances of a service are being run both on the host and container. Follow what appears to be "best practices" when running containers. Improve security in certain situations. Admittedly these may be minor and not worth the overhead, but now that I'm aware of the behaviour, I'm a bit irked by it as it currently prevents me from easily identifying which services are container-run and which are local to the host, as well as making it confusing to which user is actually running the process listed.
  • Adding a second db to php 7.4 app

    Solved LAMP mysql migration drupal civicrm
    2
    0 Votes
    2 Posts
    1k Views
    girishG
    @shai you have to build a custom app, please see this guide https://docs.cloudron.io/guides/multiple-databases-lamp/
  • 0 Votes
    6 Posts
    3k Views
    imc67I
    @girish I requested the developers to review the query. Meanwhile I changed the setting in mysql and indeed the plugin doe work now as expected!
  • 0 Votes
    6 Posts
    2k Views
    girishG
    @msbt the old LAMP app will be left as-is. So, no change to that in the foreseeable future.
  • mysql addon fails to start

    Solved Support update mysql
    6
    0 Votes
    6 Posts
    3k Views
    girishG
    Generally, I am wary of putting this information for general use (and even in docs) because many things can go wrong . So, please, if you care about the data, don't hesitate to contact us on support@ . We help regardless of the subscription plan.
  • Feedback: Cloudron Update 6.2.4

    Support mysql update
    9
    0 Votes
    9 Posts
    2k Views
    girishG
    @drpaneas Just give that redis more memory. The "e1ca318a" is the app id. If you put in the search in the apps view, you will know which app's redis needs a bit more memory. It was reported earlier that pixelfed's redis needs more memory after the update. I guess this is because of update to Redis 5.
  • What is causing mysql to run out of memory?

    Support mysql oom
    6
    0 Votes
    6 Posts
    2k Views
    jdaviescoatesJ
    @nebulon I thought it was perhaps the Broken Links Checker on one of my WordPress installs, as as @marcusquinn noted it's widely known to sometimes cause such issues, but I've disabled that and I'm still getting these /mysql was restarted (OOM) (although they don't seem to appear in the event log?). I note that the most recent one happened 5 minutes after my backups are due to start, and the other previous two times it's been 7-9mins before updates are due to run. I wonder if either of those (backup/ update) processes might have something to do with it? I guess I could just give mysql more memory and not worry, but be nice to know what's happening and why...
  • Able to clean up binlog.###### files in /var/lib/mysql directory?

    Solved Support mysql
    32
    1 Votes
    32 Posts
    15k Views
    P
    @d19dotca Ok, thank's to your attention!
  • Phabricator fails to start with MySQL Error

    Phabricator mysql
    2
    0 Votes
    2 Posts
    937 Views
    girishG
    @nj This happens when the initial db install task runs out of memory. I have seen this often in our tests as well. The fix is simply to reinstall.