Common Issues - internetarchive/openlibrary GitHub Wiki
Question: Why do I hit a 404-page on local when the page shows up on openlibrary.org site?
Answer: Check out the answer for this here: https://github.com/internetarchive/openlibrary/issues/1864
Question: What should I do to find the endpoints/files relating to the components I want to contribute to?
Answer: https://dev.openlibrary.org/developers/routes - can be found here
Issue link: For a full description see: https://github.com/internetarchive/openlibrary/issues/1865
Question: What should I do when book covers won't load locally?
Answer: This can be resolved by going to conf/openlibrary.yml and changing coverstore_url
to https://covers.openlibrary.org
Issue link: For a full description see: https://github.com/internetarchive/openlibrary/issues/1897
By default, uploading book covers will work in the local development environment, but some of the existing books might 404 for their covers. This is expected, since now actual images are included in the test database.
If you use copydocs (see below) to import books, these imported books will also 404 on their covers. For these, you can change coverstore_public_url
in conf/openlibrary.yml
to https://covers.openlibrary.org/ . This will change the web page to fetch covers from production instead of your local environment.
Be sure to restart your dev instance after any configuration changes.