snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

Regenerate new label after server migration

Open Allenvh opened this issue 10 years ago • 7 comments

Could you indicate me, if possible, how to regenerate the QR barcodes after a server migration?

I have update it the .env but QRs are still pointing to the test server.

Thanks

Allenvh avatar Oct 17 '16 19:10 Allenvh

You'll need to print new ones, or set up an htaccess redirect from the old server to the new,

snipe avatar Oct 17 '16 20:10 snipe

I am trying to print new ones but they (the image) are still pointing to the old server. What am I missing ?

Allenvh avatar Oct 17 '16 20:10 Allenvh

If you've updated the APP_URL in your .env and cleared your config cache, the URLs will update. https://snipe-it.readme.io/docs/common-issues#changes-to-my-env-file-dont-seem-to-be-updating

snipe avatar Oct 17 '16 20:10 snipe

Thanks, trying now

Allenvh avatar Oct 17 '16 20:10 Allenvh

Some of the QRs updated but the other ones are some how different, any idea what could be happening? I am sorry for the pic, I am doing this from an IPad. It's a long story. image

Allenvh avatar Oct 17 '16 20:10 Allenvh

I tried deleting the public/uploads/barcodes folder

Also when generating the labels, only generates about 4 or. 5 and the other ones fail, check image lower corner, If I try to go back the system logs me out

Allenvh avatar Oct 19 '16 14:10 Allenvh

I think I fixed the issue.

I executed php artisan route:clean And php artisan cache:clear

Restarted WAMP and the stubborn QRs got updated.

Allenvh avatar Oct 19 '16 15:10 Allenvh