Default php config with max upload 100 MB

This commit is contained in:
2019-10-07 15:49:57 +02:00
parent 844e5040d2
commit f126f9e1df
3 changed files with 11 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
toolName="Mayan EDMS" toolName="Mayan EDMS"
toolVersion="3.2.6" toolVersion="3.2.8"
toolRoot="/opt/mayan-edms" toolRoot="/opt/mayan-edms"
toolMediaFolder="/opt/mayan-edms/media" toolMediaFolder="/opt/mayan-edms/media"
@@ -96,6 +96,7 @@ step_10() {
endReturn endReturn
toolScript performupgrade toolScript performupgrade
toolScript preparestatic --noinput toolScript preparestatic --noinput
exe systemctl restart supervisor
} }
uninstallRemovalsLoc="/tmp/removals.txt" uninstallRemovalsLoc="/tmp/removals.txt"
@@ -106,6 +107,13 @@ step_13() {
toolScript "$command" toolScript "$command"
} }
step_15_info() { echo "Upgrade python pip"; }
step_15_alias() { ALIAS="upgradepip"; }
step_15()
{
exe ${toolRoot}/bin/pip install --upgrade pip
}
step_20_info() { echo "Backup postgres database to media folder"; } step_20_info() { echo "Backup postgres database to media folder"; }
step_20_alias() { ALIAS="backupdb"; } step_20_alias() { ALIAS="backupdb"; }
step_20() { step_20() {

View File

@@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
toolName="pixelfed" toolName="pixelfed"
toolTag="v0.10.4" toolTag="v0.10.6"
toolDeps="composer jpegoptim php7.3-bcmath" toolDeps="composer jpegoptim php7.3-bcmath"
toolPath="/var/www/pixelfed" toolPath="/var/www/pixelfed"

View File

@@ -89,6 +89,7 @@ step_5() {
phpFpmConfigLocation="/etc/php/${phpVersion}/fpm/conf.d/90-custom_pi.ini" phpFpmConfigLocation="/etc/php/${phpVersion}/fpm/conf.d/90-custom_pi.ini"
phpFpmConfig="\ phpFpmConfig="\
post_max_size=64M post_max_size=64M
upload_max_filesize=100M
max_execution_time=600 max_execution_time=600
apc.enable_cli=1 apc.enable_cli=1