You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Nelson Chamberlain <nc...@ceradyne.com> on 2011/01/07 17:46:47 UTC

Just Lost All My Graphics

Wow!  I just lost all of the graphics in my Roller 4.0.1 blog site. We have about 15 blogs on our site and all of them suddenly have zero graphics. When I go to File Uploads in any of the blogs, the images are gone, as well as any directories that held additional graphics.

Any guesses what happened? Any easy actions, like rebuild indexes, that will bring the graphics back? Or do I have to add the images back one by one?

Thanks for any advice on this issue

Nelson Chamberlain

RE: Just Lost All My Graphics

Posted by Nelson Chamberlain <nc...@ceradyne.com>.
This is great. Thanks so much for all this help. I have added uploads.dir and search.index.dir to my roller-custom.properties and restarted and everything seems to be going great.

I'm looking forward to the upgrade to Roller 5 

Thanks again

Nelson

-----Original Message-----
From: Dave [mailto:snoopdave@gmail.com] 
Sent: Monday, January 10, 2011 2:10 PM
To: user@roller.apache.org
Subject: Re: Just Lost All My Graphics

On Mon, Jan 10, 2011 at 3:55 PM, Christopher Dodunski <Ch...@christopher.net.nz> wrote:
> Hi Nelson,
>
> I'm running Roller 5, and to set an absolute storage location I added 
> the following line to roller-custom.properties:
>
> mediafiles.storage.dir=/home/roller/data/mediafiles
>
> However, I noticed that Dave's suggested directive has a different name:
> 'uploads.dir'.  Perhaps Roller 4 uses slightly different naming.
> Irrespective, add your directive to the Roller properties file.

Thanks, Chris.

Just to clarify:
- mediafiles.storage.dir is correct for Roller 5
- uploads.dir is correct for Roller 4

When you upgrade from Roller 4 to 5, Roller will migrate/copy your images from your old "uploads.dir direcortory" to "mediafiles.storage.dir"

- Dave

Re: Just Lost All My Graphics

Posted by Dave <sn...@gmail.com>.
On Mon, Jan 10, 2011 at 3:55 PM, Christopher Dodunski
<Ch...@christopher.net.nz> wrote:
> Hi Nelson,
>
> I'm running Roller 5, and to set an absolute storage location I added the
> following line to roller-custom.properties:
>
> mediafiles.storage.dir=/home/roller/data/mediafiles
>
> However, I noticed that Dave's suggested directive has a different name:
> 'uploads.dir'.  Perhaps Roller 4 uses slightly different naming.
> Irrespective, add your directive to the Roller properties file.

Thanks, Chris.

Just to clarify:
- mediafiles.storage.dir is correct for Roller 5
- uploads.dir is correct for Roller 4

When you upgrade from Roller 4 to 5, Roller will migrate/copy your
images from your old "uploads.dir direcortory" to
"mediafiles.storage.dir"

- Dave

RE: Just Lost All My Graphics

Posted by Nelson Chamberlain <nc...@ceradyne.com>.
Bravo! I took your suggestion and added uploads.dir=/documents and settings/.... to my roller-custom.properties and restarted Roller and all of my graphics were back! Hopefully we won't have any more graphics go missing in the future.

Thanks for your help!

Nelson

-----Original Message-----
From: Christopher Dodunski [mailto:ChrisFromSquirrel@christopher.net.nz] 
Sent: Monday, January 10, 2011 12:55 PM
To: user@roller.apache.org
Subject: RE: Just Lost All My Graphics

Hi Nelson,

I'm running Roller 5, and to set an absolute storage location I added the following line to roller-custom.properties:

mediafiles.storage.dir=/home/roller/data/mediafiles

However, I noticed that Dave's suggested directive has a different name:
'uploads.dir'.  Perhaps Roller 4 uses slightly different naming. 
Irrespective, add your directive to the Roller properties file.

Regards,

Chris.


> Thank you so much!  This is a huge help and a great relief to have 
> found my graphics files. I actually found them in the home folder of 
> several different users, apparently once each time a different admin 
> logged on the server.
>
> If you don't mind answering another newbie question, where can I find 
> the uploads.dir setting? I'd like to set it to my home folder since I 
> expect to be the Roller admin for the forseeable future.
>
> Thanks again for your help
>
> Nelson
>
> -----Original Message-----
> From: Dave [mailto:snoopdave@gmail.com]
> Sent: Saturday, January 08, 2011 8:21 AM
> To: user@roller.apache.org
> Subject: Re: Just Lost All My Graphics
>
> On Fri, Jan 7, 2011 at 11:46 AM, Nelson Chamberlain 
> <nc...@ceradyne.com> wrote:
>> Wow!  I just lost all of the graphics in my Roller 4.0.1 blog site. 
>> We have about 15 blogs on our site and all of them suddenly have zero 
>> graphics. When I go to File Uploads in any of the blogs, the images 
>> are gone, as well as any directories that held additional graphics.
>>
>> Any guesses what happened? Any easy actions, like rebuild indexes, 
>> that will bring the graphics back? Or do I have to add the images 
>> back one by one?
>
> Roller 4 uses only the file-system for upload storage and does not 
> store any information in the database. So, if the files are gone in 
> Roller then either 1) Roller has the wrong directory set as the 
> uploads directory or
> 2) somebody deleted the files from disk.
>
> If you explain more about your Roller setup maybe we can figure out 
> what went wrong. What app server are you using? What directory were 
> you using to store file uploads? If you did not set the 'uploads.dir'
> propoerty, then Roller will use the default value below:
>
>     uploads.dir=${user.home}/roller_data/uploads
>
> That means that the files are stored in the home directory of the user 
> who runs the Roller process. Perhaps somebody deleted that directory?
>
> - Dave
>
>
>
>
>>
>> Thanks for any advice on this issue
>>
>> Nelson Chamberlain
>



RE: Just Lost All My Graphics

Posted by Christopher Dodunski <Ch...@christopher.net.nz>.
Hi Nelson,

I'm running Roller 5, and to set an absolute storage location I added the
following line to roller-custom.properties:

mediafiles.storage.dir=/home/roller/data/mediafiles

However, I noticed that Dave's suggested directive has a different name:
'uploads.dir'.  Perhaps Roller 4 uses slightly different naming. 
Irrespective, add your directive to the Roller properties file.

Regards,

Chris.


> Thank you so much!  This is a huge help and a great relief to have found
> my graphics files. I actually found them in the home folder of several
> different users, apparently once each time a different admin logged on the
> server.
>
> If you don't mind answering another newbie question, where can I find the
> uploads.dir setting? I'd like to set it to my home folder since I expect
> to be the Roller admin for the forseeable future.
>
> Thanks again for your help
>
> Nelson
>
> -----Original Message-----
> From: Dave [mailto:snoopdave@gmail.com]
> Sent: Saturday, January 08, 2011 8:21 AM
> To: user@roller.apache.org
> Subject: Re: Just Lost All My Graphics
>
> On Fri, Jan 7, 2011 at 11:46 AM, Nelson Chamberlain
> <nc...@ceradyne.com> wrote:
>> Wow!  I just lost all of the graphics in my Roller 4.0.1 blog site. We
>> have about 15 blogs on our site and all of them suddenly have zero
>> graphics. When I go to File Uploads in any of the blogs, the images are
>> gone, as well as any directories that held additional graphics.
>>
>> Any guesses what happened? Any easy actions, like rebuild indexes, that
>> will bring the graphics back? Or do I have to add the images back one by
>> one?
>
> Roller 4 uses only the file-system for upload storage and does not store
> any information in the database. So, if the files are gone in Roller then
> either 1) Roller has the wrong directory set as the uploads directory or
> 2) somebody deleted the files from disk.
>
> If you explain more about your Roller setup maybe we can figure out what
> went wrong. What app server are you using? What directory were you using
> to store file uploads? If you did not set the 'uploads.dir'
> propoerty, then Roller will use the default value below:
>
>     uploads.dir=${user.home}/roller_data/uploads
>
> That means that the files are stored in the home directory of the user who
> runs the Roller process. Perhaps somebody deleted that directory?
>
> - Dave
>
>
>
>
>>
>> Thanks for any advice on this issue
>>
>> Nelson Chamberlain
>



Re: Just Lost All My Graphics

Posted by Dave <sn...@gmail.com>.
On Mon, Jan 10, 2011 at 12:18 PM, Nelson Chamberlain
<nc...@ceradyne.com> wrote:
> Thank you so much!  This is a huge help and a great relief to have found my graphics files. I actually found them in the home folder of several different users, apparently once each time a different admin logged on the server.
>
> If you don't mind answering another newbie question, where can I find the uploads.dir setting? I'd like to set it to my home folder since I expect to be the Roller admin for the forseeable future.

When you installed Roller, you probably created a file called
roller-custom.properties and put it somewhere in your Tomcat
classpath, perhaps in the Tomcat install directory in a subdirectory
named 'lib' or 'shared/classes'

In that file you should set the 'uploads.dir. property to the
full-path of the directory where you want Roller to store file
uploads. In the uploads directory, Roller will create a subdirectory
for each blog (named with the blog handle). You should be able to
merge the various upload directories in each admin user's directory
you now have in to one.

You should also change set the search.index.dir, so that you don't
have the same problem with the Roller search index.

- Dave



> -----Original Message-----
> From: Dave [mailto:snoopdave@gmail.com]
> Sent: Saturday, January 08, 2011 8:21 AM
> To: user@roller.apache.org
> Subject: Re: Just Lost All My Graphics
>
> On Fri, Jan 7, 2011 at 11:46 AM, Nelson Chamberlain <nc...@ceradyne.com> wrote:
>> Wow!  I just lost all of the graphics in my Roller 4.0.1 blog site. We have about 15 blogs on our site and all of them suddenly have zero graphics. When I go to File Uploads in any of the blogs, the images are gone, as well as any directories that held additional graphics.
>>
>> Any guesses what happened? Any easy actions, like rebuild indexes, that will bring the graphics back? Or do I have to add the images back one by one?
>
> Roller 4 uses only the file-system for upload storage and does not store any information in the database. So, if the files are gone in Roller then either 1) Roller has the wrong directory set as the uploads directory or 2) somebody deleted the files from disk.
>
> If you explain more about your Roller setup maybe we can figure out what went wrong. What app server are you using? What directory were you using to store file uploads? If you did not set the 'uploads.dir'
> propoerty, then Roller will use the default value below:
>
>    uploads.dir=${user.home}/roller_data/uploads
>
> That means that the files are stored in the home directory of the user who runs the Roller process. Perhaps somebody deleted that directory?
>
> - Dave
>
>
>
>
>>
>> Thanks for any advice on this issue
>>
>> Nelson Chamberlain
>

RE: Just Lost All My Graphics

Posted by Nelson Chamberlain <nc...@ceradyne.com>.
Thank you so much!  This is a huge help and a great relief to have found my graphics files. I actually found them in the home folder of several different users, apparently once each time a different admin logged on the server.

If you don't mind answering another newbie question, where can I find the uploads.dir setting? I'd like to set it to my home folder since I expect to be the Roller admin for the forseeable future.

Thanks again for your help

Nelson

-----Original Message-----
From: Dave [mailto:snoopdave@gmail.com] 
Sent: Saturday, January 08, 2011 8:21 AM
To: user@roller.apache.org
Subject: Re: Just Lost All My Graphics

On Fri, Jan 7, 2011 at 11:46 AM, Nelson Chamberlain <nc...@ceradyne.com> wrote:
> Wow!  I just lost all of the graphics in my Roller 4.0.1 blog site. We have about 15 blogs on our site and all of them suddenly have zero graphics. When I go to File Uploads in any of the blogs, the images are gone, as well as any directories that held additional graphics.
>
> Any guesses what happened? Any easy actions, like rebuild indexes, that will bring the graphics back? Or do I have to add the images back one by one?

Roller 4 uses only the file-system for upload storage and does not store any information in the database. So, if the files are gone in Roller then either 1) Roller has the wrong directory set as the uploads directory or 2) somebody deleted the files from disk.

If you explain more about your Roller setup maybe we can figure out what went wrong. What app server are you using? What directory were you using to store file uploads? If you did not set the 'uploads.dir'
propoerty, then Roller will use the default value below:

    uploads.dir=${user.home}/roller_data/uploads

That means that the files are stored in the home directory of the user who runs the Roller process. Perhaps somebody deleted that directory?

- Dave




>
> Thanks for any advice on this issue
>
> Nelson Chamberlain

Re: Just Lost All My Graphics

Posted by Dave <sn...@gmail.com>.
On Fri, Jan 7, 2011 at 11:46 AM, Nelson Chamberlain
<nc...@ceradyne.com> wrote:
> Wow!  I just lost all of the graphics in my Roller 4.0.1 blog site. We have about 15 blogs on our site and all of them suddenly have zero graphics. When I go to File Uploads in any of the blogs, the images are gone, as well as any directories that held additional graphics.
>
> Any guesses what happened? Any easy actions, like rebuild indexes, that will bring the graphics back? Or do I have to add the images back one by one?

Roller 4 uses only the file-system for upload storage and does not
store any information in the database. So, if the files are gone in
Roller then either 1) Roller has the wrong directory set as the
uploads directory or 2) somebody deleted the files from disk.

If you explain more about your Roller setup maybe we can figure out
what went wrong. What app server are you using? What directory were
you using to store file uploads? If you did not set the 'uploads.dir'
propoerty, then Roller will use the default value below:

    uploads.dir=${user.home}/roller_data/uploads

That means that the files are stored in the home directory of the user
who runs the Roller process. Perhaps somebody deleted that directory?

- Dave




>
> Thanks for any advice on this issue
>
> Nelson Chamberlain