diff --git a/scripts/install b/scripts/install index 109d3ac..ebf14ee 100644 --- a/scripts/install +++ b/scripts/install @@ -108,6 +108,10 @@ else fi sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/"$app".conf +# Create uploads folder and permissions +sudo mkdir /opt/gogs/data +sudo chown -R /opt/gogs/data + # Unprotect root from SSO if public if [ "$is_public" = "Yes" ] then