dyson / dokku-persistent-storage

Basic persistent storage for dokku (https://github.com/progrium/dokku)
MIT License
53 stars 12 forks source link

No disk mounted #3

Closed edorgeville closed 10 years ago

edorgeville commented 10 years ago

Hi, I'm having an issue when trying to mount a volume. Here is my PERSISTANT_STORAGE (/home/dokku/test/PERSISTANT_STORAGE) file:

/home/dokku/test/uploads:/uploads:rw

The cat -E command returns :

/home/dokku/test/uploads:/uploads:rw$

When I execute docker inspecton my container, i get no volume mounted

"Volumes": {},

Any idea ?

dyson commented 10 years ago

Hi @th3m4ri0, have you had an success with this? I've been away from programming of late so apologies for the delayed reply.

What version of dokku are running? The current version doesn't have the plugin hook necessary for dokku-persistent-storage to run and would show now volumes like you hase mentioned. Did you install the development version?

edorgeville commented 10 years ago

I'm running dokku v0.2.1. I'm going to try switching to development version !

dyson commented 10 years ago

I have just done a fresh install of the dokku development version for a project and everything is working fine with persistent storage.

Let me know if you have issues when you try it out.

edorgeville commented 10 years ago

Yes, starting with a new install of the development version worked ! (had so much trouble trying to upgrade i just started fresh). I changed my PERSISTANT_STORAGE file to

/home/dokku/test/uploads:/app/uploads:rw

so my PHP files could see it. Now I'm gonna try having Wordpress running and keeping uploaded files in that shared folder. Thanks !

dyson commented 10 years ago

Great to here you have it working!