[GH-ISSUE #7290] snipe-it nginx does not allow import backup due to size limit #1550

Closed
opened 2026-02-26 12:49:24 +03:00 by kerem · 1 comment
Owner

Originally created by @macrec-danielvanderwal on GitHub (Aug 29, 2025).
Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/7290

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). Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/7290 ### ✅ 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_
kerem 2026-02-26 12:49:24 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

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

create it as request, its not an issue

<!-- gh-comment-id:3237081784 --> @MickLesk commented on GitHub (Aug 29, 2025): create it as request, its not an issue
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ProxmoxVE#1550
No description provided.