snipe-it nginx does not allow import backup due to size limit #1551

Closed
opened 2026-02-05 01:32:13 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @macrec-danielvanderwal on GitHub (Aug 29, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

snipe-it

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/snipeit.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

No response

📈 Which Proxmox version are you on?

PVE9

📝 Provide a clear and concise description of the issue.

  • Importing a Backup into Snipe-IT is not possible due to limit problem
  • Can you please add " client_max_body_size 100M;" to /etc/nginx/conf.d/snipeit.conf ?

Example:
cat </etc/nginx/conf.d/snipeit.conf
server {
listen 80;
root /opt/snipe-it/public;
server_name $IPADDRESS;
client_max_body_size 100M;
index index.php;

    location / {
            try_files \$uri \$uri/ /index.php?\$query_string;
    }

    location ~ \.php\$ {
            include fastcgi.conf;
            include snippets/fastcgi-php.conf;
            fastcgi_pass unix:/run/php/php8.3-fpm.sock;
            fastcgi_split_path_info ^(.+\.php)(/.+)\$;
            fastcgi_param SCRIPT_FILENAME \$document_root\$fastcgi_script_name;
            include fastcgi_params;
    }

}
EOF

🔄 Steps to reproduce the issue.

Paste the full error output (if available).

🖼️ Additional context (optional).

No response

Originally created by @macrec-danielvanderwal on GitHub (Aug 29, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? snipe-it ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/snipeit.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? _No response_ ### 📈 Which Proxmox version are you on? PVE9 ### 📝 Provide a clear and concise description of the issue. - Importing a Backup into Snipe-IT is not possible due to limit problem - Can you please add " client_max_body_size 100M;" to /etc/nginx/conf.d/snipeit.conf ? Example: cat <<EOF >/etc/nginx/conf.d/snipeit.conf server { listen 80; root /opt/snipe-it/public; server_name $IPADDRESS; client_max_body_size 100M; index index.php; location / { try_files \$uri \$uri/ /index.php?\$query_string; } location ~ \.php\$ { include fastcgi.conf; include snippets/fastcgi-php.conf; fastcgi_pass unix:/run/php/php8.3-fpm.sock; fastcgi_split_path_info ^(.+\.php)(/.+)\$; fastcgi_param SCRIPT_FILENAME \$document_root\$fastcgi_script_name; include fastcgi_params; } } EOF ### 🔄 Steps to reproduce the issue. - ### ❌ Paste the full error output (if available). - ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bug label 2026-02-05 01:32:13 +03:00
Author
Owner

@MickLesk commented on GitHub (Aug 29, 2025):

create it as request, its not an issue

@MickLesk commented on GitHub (Aug 29, 2025): create it as request, its not an issue
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1551