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


Skip to content
  • 0 Votes
    2 Posts
    253 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
    1k 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
    451 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
    6
    0 Votes
    6 Posts
    532 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.

  • 0 Votes
    9 Posts
    423 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.

  • 0 Votes
    6 Posts
    412 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...

  • 1 Votes
    32 Posts
    5k Views
    P

    @d19dotca Ok, thank's to your attention! πŸ™‚

  • 0 Votes
    2 Posts
    216 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.

  • 0 Votes
    3 Posts
    247 Views
    T

    @subven Thank you! I had not seen those docs 😯

    It turned out that the Docker image of Mattermost used PostgreSQL, whereas on Cloudron if I'm not mistaken MySQL is used.

    I tried converting migrating the PostgreSQL database to MySQL but it was a bit of a headache, so I have gone down the conventional route of using Mattermost's bulk export/import.

  • 0 Votes
    3 Posts
    455 Views
    A

    @girish said in Connect to lamp app mysql db from outside with db client like tableplus/navicat over ssh tunnel:

    @andirahmat Try this - https://forum.cloudron.io/topic/3237/remote-sql-support-on-a-per-app-basis/2 . I haven't used tableplus/navcat but if you can post a screenshot maybe it helps debugging further. I think instead of mysql you just need to put in the IP of the mysql container using docker inspect mysql | grep IPAddress

    ah this is it : docker inspect mysql | grep IPAddress

    Thank you @girish !

  • 0 Votes
    12 Posts
    501 Views
    girishG

    I will mark this as solved for now but I suspect this will come back some day.

  • 1 Votes
    11 Posts
    670 Views
    LonkleL

    @fbartels said in MySQL tuning with my.cnf settings optimisation:

    @lonk said in MySQL tuning with my.cnf settings optimisation:

    when do we run / apply it?

    Mysql tuning is best applied after a few days of database usage. Applications usually have different load patterns.

    Gotcha, thanks for the tip! ☺️

  • 1 Votes
    15 Posts
    1k Views
    marcusquinnM

    @girish I think the issue with MySQL Workbench is I can't use the latest version as they don't support macOS 10.14 past a certain version, and a colleague on a later macOS can get it working on a later MySQL Workbench version but I can't update my OS at the moment until some other software I use is updated to work with the later OS. Classic catch-22 on that one.

    I think the solution to this should just be to use DBeaver, it's free on all platforms, and seems to work on all OS versions. too.

    Maybe better to save your time for the odd additional /phpmyadmin/ that might be useful on certain apps.

    Certainly appreciate the help and looking, but I don't want to distract you too much given it's a software version compatibility issue and not a Cloudron issue really. Thank you all the same though!!

  • Backups: protocol connection lost

    Solved Support
    3
    0 Votes
    3 Posts
    177 Views
    luckowL

    ok. I gave mysql more RAM. Since then the backups have been running smoothly.

  • Redmine database?

    Solved Redmine
    8
    0 Votes
    8 Posts
    520 Views
    girishG

    I have added a clear section in the guide - https://cloudron.io/documentation/guides/import-mysql/#import

  • 0 Votes
    7 Posts
    477 Views
    girishG

    @woke If you don't mind, I would like to debug further if possible and fix up the docs as needed. Can you enable SSH support and send a mail to support@cloudron.io with the IP address? Thanks

  • 1 Votes
    3 Posts
    544 Views
    R

    @girish Thanks for the answer, but I didn't mean the internal server. I would like to install MySQL or another standalone server. I would like to try some things. Try and Error πŸ™‚ I have three instances of Cloudron and I would like to install my own applications and if I can understand all things and requirements ... I do not know what can happen ....

    First I have successfull ended a course on udemy.com for Docker.

  • 1 Votes
    2 Posts
    253 Views
    girishG

    This is possible but will increase complexity in deploys and maintenance. I have also noticed that MySQL changes things between patch releases a lot. Maybe because their release numbers don't follow semver .

  • 0 Votes
    10 Posts
    776 Views
    girishG

    @Trankery Yup, I will mark this as a feature request for a future release.

  • mysql password ?

    Support
    3
    0 Votes
    3 Posts
    297 Views
    JOduMonTJ

    @girish said in mysql password ?:

    The server only listens on localhost

    I tried as root on the ubuntu (not inside a container)
    this time it work, it must be the fault of cornavirus πŸ¦‡