Comments (9)
Does this happen only for delete or also create and link?
from dokku-alt.
@ayufan Also happens for create and link. Is there a way to rebuild the mariadb container?
from dokku-alt.
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.
I"d recommend dokku mariadb:dump
first.
from dokku-alt.
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.
@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.
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.
Did it help it in your case?
from dokku-alt.
@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)
- Issue with environment variables with # in them
- new docker repository breaks dokku-alt
- Mariadb URL is wrong when linked
- mariadb hostname "mariadb" unable to be resolved in linked app HOT 1
- Dokku deployment of node.js app fails - npm registry HOT 3
- How to connect to postgres externally? HOT 2
- Wrong spelling
- socket application HOT 3
- Make NGINX port configurable HOT 2
- Dokku sees php app as node.js app because of package.json HOT 2
- Port 2000 not bound to the installer? HOT 1
- Upgrade docker version HOT 3
- buildpack-python: pip command not found
- create app from image ?
- How can I run dokku-alt at system start? HOT 1
- Buildpack not installing gem. HOT 3
- Can't install dokku manager HOT 2
- How to uninstall dokku-alt? HOT 1
- Apache2 instead?
- Please upgrade gh-pages to reflect that project is unmantained
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dokku-alt.