Coder Social home page Coder Social logo

Comments (9)

ayufan avatar ayufan commented on June 2, 2024

Does this happen only for delete or also create and link?

from dokku-alt.

diegoponciano avatar diegoponciano commented on June 2, 2024

@ayufan Also happens for create and link. Is there a way to rebuild the mariadb container?

from dokku-alt.

ayufan avatar ayufan commented on June 2, 2024

Yes it is. Login as root and type:

docker rm -f mariadb_single_container
rm -rf /home/dokku/.mariadb

Then simply execute: mariadb:create and link it to the application.

WARNING. It will completely wipe MySQL databases.

from dokku-alt.

romaninsh avatar romaninsh commented on June 2, 2024

I"d recommend dokku mariadb:dump first.

from dokku-alt.

ayufan avatar ayufan commented on June 2, 2024

Gven current errors mariadb:dump will most likely not work.

I'm thinking about rebuilding a little how dokku-alt use mariadb, because it sometimes gives errors as such.

from dokku-alt.

diegoponciano avatar diegoponciano commented on June 2, 2024

@ayufan I deleted it using the commands you pointed out, and tried a create. but I'm getting new errors haha:

root@diegoponciano:~# dokku mariadb:create myapp                                                         
Waiting for mariadb to boot (1)...                                                                            
Waiting for mariadb to boot (2)...
...
Waiting for mariadb to boot (30)...
cat: /home/dokku/.mariadb/mysql_password: Is a directory
2014/09/04 08:46:10 Error response from daemon: Cannot start container 59f96776694151155207dcd7ee408bb1f898111399c58d56fbb3bd1476e01ffa: Cannot link to a non running container: /mariadb_single_container AS /condescending_brattain/mariadb

from dokku-alt.

ayufan avatar ayufan commented on June 2, 2024

Yes, it's definitely bug. Database admin password were not generated on mariadb:create, but on plugins-install. Install dokku-alt-beta and after retyping commands below check if it fixes it for you:

docker rm -f mariadb_single_container
rm -rf /home/dokku/.mariadb

from dokku-alt.

ayufan avatar ayufan commented on June 2, 2024

Did it help it in your case?

from dokku-alt.

diegoponciano avatar diegoponciano commented on June 2, 2024

@ayufan Yes, I installed dokku-alt-beta, followed the steps above, and could succesfully create a mariadb database.
Thank you!

from dokku-alt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.