honeymoose
(HoneyMoose)
14 ืืืื ื,โ 2023,โ 2:57pm
1
Discourse attachment upload size requires modifying the configuration file and restarting.
The official post is on: Change the maximum attachment/upload size - sysadmin - Discourse Meta .
The default upload size is 10 MB.
You need to add the parameter above to the Discourse configuration file and recompile.
After making the changes, navigate to the directory: /var/discourse and run the command:
./launcher rebuild app
to recompile.
Admin Control Panel Modification
Modifying only the configuration file above is not enough; you also need to adjust it within the admin control panel.
After completing the modifications, your Discourse will support larger attachment uploads.
If you have any other questions or need assistance, please visit our website (Chinese): iSharkFly - ้ฃ้ฒจ
honeymoose
(HoneyMoose)
12 ืืกืคืืืืจ,โ 2023,โ 12:32am
2
Due to domain name adjustment, the above navigation link has been changed to: Discourse ไฟฎๆนไธไผ ้ไปถ็ๅคงๅฐ - Discourse - iSharkFly .
ืืืืง 1
go_ahead
(go ahead)
12 ืืกืคืืืืจ,โ 2023,โ 12:58am
3
It used to be all English, now thereโs finally Chinese, great, I support it
xin_wang
(xin wang)
16 ืืืคืจืื,โ 2025,โ 6:31am
4
We have to rebuild again, why does it take a rebuild every time we change something here, so troublesome
honeymoose
(HoneyMoose)
16 ืืืคืจืื,โ 2025,โ 11:07am
5
This is not entirely the case.
As long as the configuration is not modified, reconstruction is usually not necessary.
xin_wang
(xin wang)
17 ืืืคืจืื,โ 2025,โ 2:06am
6
Itโs just an Nginx configuration; I directly modified it inside the Docker container. In the future, if I need to change something else, Iโll rebuild it. For now, Iโll use it as is. Since itโs an internal network environment, rebuilding requires connecting to the external internet to pull updates, which is quite troublesome.