Part-DB / Part-DB-server

Part-DB is an Open source inventory management system for your electronic components
https://docs.part-db.de/
GNU Affero General Public License v3.0
891 stars 96 forks source link

Label QR Code only contains IP address #721

Open Bubu5485 opened 1 day ago

Bubu5485 commented 1 day ago

Dear all,

I have a problem when generating a Label in the database.

No matter what I choose and what I put in for data I only get the IP address after reading the QR Code.

I tried in Twig mode and Placeholders mode no change.

Is there a setting which I need to turn on or the system works like that?

Thank you very much for the help.

anthology commented 7 hours ago

Hi You generate QR code on the menu tools/label profiles or on a component? When i test a label profiles, i have juste the IP or my domaine but the complete URL on component label generation

Bubu5485 commented 7 hours ago

Hi,

I tried on both and I get the same results. Is there a work around to get something else on the label?

anthology commented 6 hours ago

Yes, you Can add component id, storage and many more Le 4 oct. 2024 19:58, Bubu5485 @.***> a écrit : Hi, I tried on both and I get the same results. Is there a work around to get something else on the label?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Bubu5485 commented 6 hours ago

I only get in the result is the server IP when I read the QR Code. :(

jbtronics commented 5 hours ago

Do you access Part-DB via an IP address? Or via a reverse proxy? If so have you checked, that the reverse proxy is correctly configured (especially on the part-db side with TRUSTED_PROXIES?)

The QR codes should contain a URL, where the host part is based on the one which you use to access the Part-DB website. When the QR code URL is odd, then there is most likely an issue with the webserver or reverse proxy configuration, which makes it impossible to resolve the correct URL.

anthology commented 5 hours ago

Can you post a qrcode for test?Your qrcode reader is good ?Le 4 oct. 2024 20:57, Bubu5485 @.***> a écrit : I only get in the result is the server IP when I read the QR Code. :(

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>