Skip to content

[Bug]: File increase issue in docker image Alpine version #18381

@dmitricrivoi

Description

@dmitricrivoi

Snipe-IT Version

v8.3.7-alpine

PHP Version

8.2.26

Composer Version

2.9.2

MySQL/MariaDB version

11.4.7

How did you install Snipe-IT?

Docker

Is this a fresh install or an upgrade?

Fresh install

What happened?

Where on server: docker image snipe/snipe-it:v8.3.7-alpine
Where on Snipe-IT: Main -> Components -> Edit Component

Alpine docker image is working fine except for file upload limit environment variables.

PHP_UPLOAD_LIMIT=100
PHP_POST_MAX_SIZE=150
PHP_UPLOAD_MAX_FILESIZE=100
PHP_MEMORY_LIMIT=256

I can upload a file less 2MB, but if I try to upload a file larger than 2MB, I get "Error code: 500 Internal Server Error. The site could be temporarily unavailable or too busy. Try again in a few moments." in a browser window (Firefox)

When docker image version was changed to v8.3.7 - increasing the file upload limit worked fine, which was verified by uploading a file larger than 2 MB

What browsers are you seeing the problem on?

No response

Can you reproduce this on the public demo?

No

Do you have full multiple company support enabled?

No

If you have full multiple company support enabled, do you have location scoping to company enabled?

I do not have full multiple company support enabled

Application log output

Empty logs

Browser console output

Empty request response

Common Issues

  • I have searched this repo for existing issues related to my issue (including closed issues)
  • My APP_URL is set correctly in my .env file (including http or https and no trailing slash)
  • I have searched the official Snipe-IT documentation and have checked the Common Issues documentation (where applicable)
  • I have run database migrations (where applicable).
  • I have attached screenshots and/or videos of the issue (where applicable)

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions