pierobot / mangapie

This is a self-hosted server for archived manga.
BSD 3-Clause "New" or "Revised" License
65 stars 9 forks source link

Commit a27b298 issue #156

Closed donotos closed 4 years ago

donotos commented 4 years ago

Hi!

let's start with what i did:

  1. Remove the avatars, covers, images, and previews location blocks
  2. Add a new location block
  3. https://github.com/pierobot/mangapie/wiki/Updating
  4. systemctl reload nginx
  5. sudo chown -R www-data:www-data storage sudo chmod -R ug+w storage
  6. php artisan config:cache
  7. do 3 and 6 again
  8. wipe my browser cache

the issue is that some preview or covers does not load. thoses who were cached in the old folders seems to load without issue but it is not a the case all the time. let's say that i enter a serie open a chapter and open the preview of the chapter pages, they do not load, then i go to another serie and this time the preview load. i then go back to my first serie, same chapter and this time the preview images load.

a more clear issue is that i get a 404 error when i try to "admin > statistics > images > wipe"

kurim commented 4 years ago

You mean like this:

image

after reload page it is fine: image

But what I did is remove the whole git clone w/o .env and redownload it this works fine for me and also re-init mangapie by php artisan mangapie:init

donotos commented 4 years ago

yes, that's exactly what i mean!

did you try "admin > statistics > images > wipe" ?

kurim commented 4 years ago

i got an 500 | Server Error not 404

donotos commented 4 years ago

i reverted my snapshot and the "wipe" works fine, so there is still an issue with that commit. i'll try to force get the entire git after it's solved.

pierobot commented 4 years ago

https://github.com/pierobot/mangapie/commit/da4d647116faf7ca7f6fadbdbca5359a35041bb0 should fix both of these problems.

donotos commented 4 years ago

everything's ok now thanks!