snipe / snipe-it

A free open source IT asset/license management system
https://snipeitapp.com
GNU Affero General Public License v3.0
11.21k stars 3.2k forks source link

Changing the Domain #11775

Closed SecureCPU closed 2 years ago

SecureCPU commented 2 years ago

Debug mode

Describe the bug

I wanted to change the domain for my SnipeIT. I'm running on linux. I changed the profile in nginx. I changed the .env file.

Once that was done, I updated the permission, and ran sudo php artisan cache:clear

However, Once I logged into the AMS, not of my assets where there. and when I force SSL in Nginx Proxy Manager. the browser shows too many redirects.

Reproduction steps

changed the profile in nginx. changed the .env file.

Expected behavior

to load the website correctly.

Screenshots

No response

Snipe-IT Version

v6.0.9 build 8587 (gcca531f8c)

Operating System

Ubuntu

Web Server

Nginx

PHP Version

8.1.9

Operating System

Windows

Browser

Chrome

Version

No response

Device

No response

Operating System

No response

Browser

No response

Version

No response

Error messages

No response

Additional context

No response

welcome[bot] commented 2 years 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.

n3s0 commented 2 years ago

Might be useful to provide more data about the issue you're having.

Logs and screenshots would be useful, steps you took to perform the URL change, etc.