User Manual

06.20.2025

MANUAL

In An Environment Where There Are Multiple Servers With Pleasanter Installed On The Backend Of A Load Balancer, Attachments Cannot Be Uploaded Or Registered Properly

## Answer Please specify "Rds" for TemporaryBinaryStorageProvider in "[BinaryStorage.json](/en/manual/binary-storage-json)" --- ## Overview ### If The Default Value (null) is Specified for TemporaryBinaryStorageProvider in BinaryStorage.json As shown below, in an environment where there are multiple servers (WEB#1, WEB#2) with Pleasanter installed on the backend of the load balancer (LB), if you try to upload a file to the "「Attachment Column」", the request will be distributed by the load balancer, so in some cases the upload or registration will not be successful. ![image](https://pleasanter.org/binaries/ed501215fb8b464fb222f3f34100c9a1) If TemporaryBinaryStorageProvider is set to null, the uploaded file will be saved in the temporary folder (App_Data/Temp) of the web server, and when subsequent processing (creation or updating) is performed, the target file in the temporary folder will be read and the binary data will be registered in the Binaries table of the database (Implem.Pleasanter). Therefore, if the web server that receives the upload request and the web server that receives the request for subsequent processing are different due to the load balancer, or if one of the web servers cannot receive all of the data sent in parts (large files will be split), uploading and registration will not be successful. ### When "Rds" is Specified for TemporaryBinaryStorageProvider in BinaryStorage.json As stated in the answer above, by specifying "Rds" for emporaryBinaryStorageProvider, you can directly register data to the database (Implem.Pleasanter) as shown in the red line in the figure below. ![image](https://pleasanter.org/binaries/09840d0f824f43969f0c2439b4477b7b) The BinaryType column of the record to be registered in the Binaries table is "Temporary" at the time of uploading, and becomes "Attachments" when subsequent processing is performed. ## Setup Procedure The following procedure assumes that there are two servers (WEB#1,2) on which Pleasanter is installed, as shown in the figure above. 1. Log in to WEB#1. 2. Open App_Data/Parameters/BinaryStorage.json. 3. Set each parameter in the file as follows and save it. For details on the parameters, please refer to [Parameter Settings: BinaryStorage.json](/manual/binary-storage-json). - ・Provider: "Rds" - ・UseStorageSelect: false - ・TemporaryBinaryStorageProvider: "Rds" 4. Restart Pleasanter. 5. Repeat steps 1 to 4 for WEB#2. ## Related Information <div id="ManualList"><ul><li><a href="/en/manual/binary-storage-json">Set Parameter: BinaryStorage.json</a><span>08.13.2024 up</span></li></ul></article></div><input id="SearchTextHidden" type="hidden" value="" />
TOP
このページをシェアする
記載された商品名、各製品名は各社の登録商標または商標です。 © Implem Inc.