Module: Store Files on Disk
Posted by Maurice Makaay
Re: Module: Store Files on Disk January 28, 2012 11:48AM |
Registered: 12 years ago Posts: 2 |
Re: Module: Store Files on Disk January 28, 2012 05:40PM |
Admin Registered: 21 years ago Posts: 9,240 |
Quote
Maurice Makaay
This module contains an on-the-fly conversion mechanism, which will convert files that are stored in the database to disk storage, right at the moment that they are requested. This mechanism will gradually convert the available files to the disk storage.
If you want to forcibly convert all available files to file storage, then you can use the conversion script console_convert.php that you can find in the module directory. This script's intended use it to run it from the system command prompt, using the PHP interpreter. See the module's README file for more info.
Thomas Seifert
Re: Module: Store Files on Disk January 28, 2012 05:43PM |
Registered: 12 years ago Posts: 2 |
Converting files that are already stored in the database without console September 09, 2015 11:58AM |
Registered: 20 years ago Posts: 43 |
Hi,
I install store_files_on_disk module and it works fine for new uploads. I have lot of files (massage attachments) stored in DB for years. I need to change a store mode because my provider setup limit for my DB size. I would like to convert all file from DB to dedicated directory within my web but I have not got console access to use the conversion script console_convert.php. I have got only ftp, PMA or standard possibilities from browser.
Is there some easy way how force movement files from DB to dedicated directory which is already used for store_files_on_disk?
Thanks for your help.
Pavel
I install store_files_on_disk module and it works fine for new uploads. I have lot of files (massage attachments) stored in DB for years. I need to change a store mode because my provider setup limit for my DB size. I would like to convert all file from DB to dedicated directory within my web but I have not got console access to use the conversion script console_convert.php. I have got only ftp, PMA or standard possibilities from browser.
Is there some easy way how force movement files from DB to dedicated directory which is already used for store_files_on_disk?
Thanks for your help.
Pavel
Re: Converting files that are already stored in the database without console September 09, 2015 08:28PM |
Admin Registered: 18 years ago Posts: 566 |
Re: Converting files that are already stored in the database without console September 10, 2015 04:51AM |
Admin Registered: 18 years ago Posts: 744 |
Hi Pavel,
I didn't look at the conversion script, but perhaps you can change it in a way that you can use it from your browser.
The main problem is, that the script surely needs too much execution time. So try to rewrite the script so that it is working in small portions.
Or check the script if it is possible to restart it over and over till all files a moved out of the database.
Regards
Oliver
Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
I didn't look at the conversion script, but perhaps you can change it in a way that you can use it from your browser.
The main problem is, that the script surely needs too much execution time. So try to rewrite the script so that it is working in small portions.
Or check the script if it is possible to restart it over and over till all files a moved out of the database.
Regards
Oliver
Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
Re: Module: Store Files on Disk November 28, 2019 12:18AM |
Registered: 13 years ago Posts: 26 |
Re: Module: Store Files on Disk November 28, 2019 08:49AM |
Registered: 13 years ago Posts: 26 |
Re: Module: Store Files on Disk June 10, 2020 10:58PM |
Registered: 18 years ago Posts: 131 |
Hi,
I just read the complete discussion looking for an answer to a question I have, and there's a message from Maurice that says no, this is not the goal of this module. It is a one way only.
Cactus : [www.cactuspro.com]
Quote
BryanB
How do we undo this module and revert back to having all the files stored in the database? Is there a script to force this back?
I just read the complete discussion looking for an answer to a question I have, and there's a message from Maurice that says no, this is not the goal of this module. It is a one way only.
Cactus : [www.cactuspro.com]
Re: Module: Store Files on Disk June 10, 2020 11:01PM |
Registered: 18 years ago Posts: 131 |
Hi,
I am trying this module on my dev environment, and I have this problem: uploaded photos are smaller than original, and do not load. Max file size for attachments in Phorum settings is 250KB, much lower than in PHP settings (2M and 8M for post_max_size and upload_max_filesize).
I tried to upload various JPG files, with size between 90KB and 240KB, the files written on disk have a size of 34KB to 47KB and they do not load.
Any idea how to investigate? Thanks!
Cactus : [www.cactuspro.com]
I am trying this module on my dev environment, and I have this problem: uploaded photos are smaller than original, and do not load. Max file size for attachments in Phorum settings is 250KB, much lower than in PHP settings (2M and 8M for post_max_size and upload_max_filesize).
I tried to upload various JPG files, with size between 90KB and 240KB, the files written on disk have a size of 34KB to 47KB and they do not load.
Any idea how to investigate? Thanks!
Cactus : [www.cactuspro.com]
Sorry, only registered users may post in this forum.