BookStack icon indicating copy to clipboard operation
BookStack copied to clipboard

Redirect after login to custom icon

Open Biepa opened this issue 7 years ago • 8 comments

Describe the bug Often (unfortunately not every time) when I login, instead of getting to the overview I get redirected to the link, where my custom icon (set in settings) is located. So the only thing i see, is the icon. (Example URL I get redirected to: https://domain.com/uploads/images/system/2018-01-Sep/scaled-200-43/image.png

Steps To Reproduce Don't know hot reproduce it in the moment. But get it like 50% of the times i login. (also on mobile)

Expected behavior Login should redirect to some kind of set overview page.

Your Configuration (please complete the following information):

  • Exact BookStack Version (Found in settings): v0.26.2
  • Hosting Method (Nginx/Apache/Docker): linuxserver.io docker image

Biepa avatar Jun 14 '19 09:06 Biepa

Thanks for reporting @Biepa, Am I right in thinking you're using the local_secure image storage option?

ssddanbrown avatar Jun 14 '19 13:06 ssddanbrown

That's right.

Biepa avatar Jun 14 '19 14:06 Biepa

I have the same Problem, this is what I see: looks like this

ghost avatar Aug 21 '19 04:08 ghost

@chrissly90 I think that may be a different issue. Can you check what git branch you're on? You should be on release. It looks like the styles have not loaded for you which are hosted on master. Otherwise, Check if you have set the APP_URL option in your .env file.

ssddanbrown avatar Aug 21 '19 14:08 ssddanbrown

@chrissly90 I think that may be a different issue. Can you check what git branch you're on? You should be on release. It looks like the styles have not loaded for you which are hosted on master. Otherwise, Check if you have set the APP_URL option in your .env file.

You were right, had nothing to do with this issue and editing the .env file got me further

ghost avatar Aug 22 '19 23:08 ghost

Just come across this while looking over issues. We've made some tweaks here and there since this was raised so hoping this should not really be a problem anymore. If still getting this then re-uploading the custom logo should help as it'll be added to the correct storage location (In a public space) to be accessible. Going to close but feel free to comment or open a new issue, referencing this one, if still problematic.

ssddanbrown avatar Jan 30 '22 17:01 ssddanbrown

We started to get the same issue after migrating to local_secure so this is still a thing. After trying to reupload I was met with "An error has occured" which was resolved by copying over the image from storage/uploads/images (since that's what we did when we migrated as instructed, so we technically had a backup). It doesn't seem to like deleting the images in the old public/uploads/images location when migrating. At least not the things that should be public like the app icon.

Sys-Monitor avatar Oct 19 '22 07:10 Sys-Monitor

Thanks for the hint. Had the same issue v23.10.2 I changed to local_secure image option. After re-uploading Application-Logo AND Application-Icon everything was fine.

stvogel avatar Nov 19 '23 15:11 stvogel