Problem, suggestion, and a question
|Posted: Sat, 2006-09-09 06:10|
One problem I had with the Appliance and a suggestion:
I followed these instructions http://codex.gallery2.org/index.php/Gallery:Appliance (almost...) but didn't touch /etc/gallery-pre-configured, because I didn't have any intention of running any reconfigure command. I used the applicance for a day or 2, uploaded around a thousand pictures, and then decided I wanted to up the memory allocation in the VM, did so, and rebooted to make it take effect. And BAM, my database got nuked. Bleh. So, my suggestion is to take the auto reconfigure out of the init script. If there's some reasonable reason to have it in there, then I think the file that's touched should be one that _makes_ the reconfigure happen, rather than causes it to not happen. The 'setup' should do a setup and delete the file.
Now, to my question. I've started over, and uploaded couple thousand pictures, and all of a sudden I'm getting upload failed errors. I was a little confused at first, but it turns out that the virtual hard drive is full, according to 'df'. Is there a way to resize the hd? (Please tell me there is!). I'm using VMware Player on WinXP. If there's no way to resize the disk, then the limit of about a 1gig of pictures should definitely be mentioned prominently on the docs for the Applicance, since it means that it's not really too useful for actual usage (though obviously ok for demo purposes).