Closed coach1988 closed 10 months ago
π Thanks for opening your first issue here! If you're reporting a π bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
Debug mode
Describe the bug
The 1D barcode is not shown for the label template "Tapes\Dymo\LabelWriter_30252" in our setup, even though it does work with e.g. the "DefaultLabel" (old engine) and "Tapes\Brother\TZe_12mm_A".
I did try to clear the label cache, the "php artisan config clear" (probably unrelated) and different combinations of settings regarding this (different defaults, different code types, shorter/different content for the field, etc.), all with the same result; The "laravel.log" does not indicate any issues.
I don't want to rule out that this might be a permission issue (I've chown'd the docker volumes, just in case), but as other codes are working as expected as far as I can tell, I don't think it is.
It does feel like this one https://github.com/snipe/snipe-it/issues/13768 , especially as I had different outcomes with the labels depending on whether company logos were set/accessible or not.
PS: There were also references to a missing "/var/lib/snipeit/data/uploads/companies/company-image-test.png", which I've overcome by copying the existing company picture next to it with that target name, stacktrace for this behavior is attached, as it got logged. company-image-test.txt
Reproduction steps
Docker stack info:
` version: "3"
services: app: container_name: snipe-it-app
image: snipe/snipe-it:v6-latest environment:
8082:80
db: container_name: snipe-it-db image: mysql/mysql-server:5.6 environment:
networks: app: db:
`
The container is running behind a haProxy for SSL termination.
Expected behavior
The barcode is shown on the bottom of the label.
Screenshots
EDIT: For some reason the upload of the pictures doesn't want to work:-/ But the area where the barcode should be is just blank
EDIT2: Okay, worked around it, just remove the suffix, those are PNG's label ok.png.txt label not ok.png.txt
Snipe-IT Version
v6.2.1 build 11625 (gc45ede2d1)
Operating System
Official docker image
Web Server
-
PHP Version
8.1.2-1ubuntu2.14
Operating System
Windows
Browser
Firefox + Edge
Version
121.0a1
Device
Untested
Operating System
-
Browser
-
Version
-
Error messages
Additional context
-