question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Open Library button is broken

See original GitHub issue

On self hosted instance “open library” button is broken: Screenshot_20221029_214042

In my case it opens:

https://draw.anufrij.de/undefined?target=_excalidraw&referrer=https://draw.anufrij.de/&useHash=true&token=9eRN-j6bIIO8p-aRZrLVr&theme=light&version=2

Screenshot_20221029_214310

if i change the url to:

https://libraries.excalidraw.com/?target=_excalidraw&referrer=https://draw.anufrij.de/&useHash=true&token=9eRN-j6bIIO8p-aRZrLVr&theme=light&version=2

then it works as expected.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
artemanufrijcommented, Nov 7, 2022

Thank you for the fix!

0reactions
PritamSanganicommented, Nov 1, 2022

PS: this line in docker-compose didn’t fix it:

    environment:
      - REACT_APP_LIBRARY_URL=https://libraries.excalidraw.com

@artemanufrij That won’t work because the docker-compose.yaml uses Dockerfile to build the app and you have to pass the env variables through build args and then reference them in the Dockerfile.

Also you won’t be able to set env variables on the image you pull from Dockerfile as excalidraw uses create-react-app which builds a static build with env variables baked in, which you can’t update.

I think this will need to be changed in this repo. Let me create a PR and hopefully it will get merged quickly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting | Open Library
Usually this happens because we made a link between an Internet Archive item and an Open Library record and that linkage was incorrect....
Read more >
I can't open Library, it prompted message "Oops ... - Eagle
Click the "Import Library" button on the right; Select the library path, click the open button ; After the library is successfully loaded,...
Read more >
Book page edit button float broken · Issue #7188 - GitHub
Sponsor internetarchive/openlibrary ... Have a question about this project? Sign up for a free GitHub account to open an issue and contact its...
Read more >
Can't Open iMovie, Files or Libraries not Launching, How to Fix
Open a new library · In Finder, go to your Applications folder. · Press and hold the Option key and click the iMovie...
Read more >
is Open Library not working / having issues for you?
Try Hard reboot in your Android mobile. Press and hold down the "Home" and "Power" buttons at the same time for upto 10...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found