Question

Issues w/ Dokku Subdomains, pushes, and DB's

  • Posted May 5, 2014

Having some issues lately with the 1 click app Dokku on Ubuntu 14, seems to hang completely when attempting to either push or run a mysql/mariadb command.

Setup Dokku using virtual hosts naming (subdomain.domain.com). Can access the root domain, but all other subdomains cant be found. Have been fiddling with dns all day but no dice. Current setup is: default settings with an addition of - cname * @

As for git pushes, they initially worked, then started to error out, and now simply hang. Added them by: git remote add dokku dokku@ip_address:app_name, since dokku dokku@domain_name:app_name was giving errors.

Installed mysql plugin, and running any command hangs the console, deleted mysql and install mariadb - same issue.

Not sure if this makes a difference, but all the apps are php based (wordpress).

Any ideas?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Turns out it was a plugin, seems theres quite a few dokku plugins that cause hangups, usually a cat at the end of the commands file

Regarding the droplet resize, please open a support ticket: <br> <br>https://cloud.digitalocean.com/support

Turns out the git errors still show up if i let it hang for 30 minutes or so: <br> <br><pre> <br>Connection to domain.com closed by remote host. <br>fatal: Could not read from remote repository. <br> <br>Please make sure you have the correct access rights <br>and the repository exists. <br></pre>

Cant remember the error outputs but im no longer even receiving errors, tried adding a new project and pushing it up and it simply hangs - no response whatsoever. <br> <br>Relaunching the app returns this: <br><pre> <br>docker run dokku/schmidt:latest <br> PHP (classic) app detected <br>-----> Bundling NGINX 1.4.4 <br>-----> Bundling PHP 5.5.9 <br>-----> Bundling extensions <br> apcu <br> phpredis <br> mongo <br>-----> Setting up default configuration <br>-----> Vendoring binaries into slug <br>mv: cannot move /app/vendor/php' to vendor/php/php’: Directory not empty <br></pre> <br> <br>As for the droplet resize not being what its suppose to be?

When you say the git pushes “error out,” what are the error messages you’re actually seeing? <br> <br>If you need to dig around in the Docker container running the app, you can get a shell with: <br> <br><pre> <br>docker run -i -t dokku/your-apps-name:latest /bin/bash <br></pre> <br> <br>To relaunch the app without making a git push, you can run: <br> <br><pre> <br>docker run dokku/your-apps-name:latest <br></pre>

I’ve resized my drop to 4gb/2cpus, 60gb ssd. 4tb transfer - but the droplet admin is showing 4GB Ram 20GB SSD Disk… and even after the resize, the hanging still occurs…

Hey Andrew! <br> <br>Running “docker ps -a” looks normal to me, but then again im not too sure what to look for, as for “docker logs” - the containers im having trouble with are saying no such file or directory…

Is it possible you’re running out of memory? Is there anything interesting in “/var/log/syslog” ? To look at the logs of the apps being run by Dokku, find the app’s id using: <br> <br><pre> <br>docker ps -a <br></pre> <br> <br>and then run: <br> <br><pre> <br>docker logs <container ID> <br></pre>