Oluf Lorenzen
Oluf Lorenzen
Tried with request-logging: ```log GET / {'HTTP_HOST': 'archivebox.local:8080', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:124.0) Gecko/20100101 Firefox/124.0', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'csrftoken=x; sessionid=y;...
```log [ol@archivebox data]$ echo $LANG $LC_ALL $LC_CTYPE en_US.UTF-8 [ol@archivebox data]$ DEBUG=True DEBUG_TOOLBAR=True archivebox manage shell [i] [2024-03-26 20:59:05] ArchiveBox v0.7.3: archivebox manage shell > /home/ol/data Python 3.11.8 (main, Feb 12...
FYI the debug toolbar: ```log [ol@archivebox data]$ DJANGO_SETTINGS_MODULE=archivebox.core.settings DEBUG=True DEBUG_TOOLBAR=True archivebox server --nothreading '[::]:8080' [i] [2024-03-26 21:00:54] ArchiveBox v0.7.3: archivebox server --nothreading [::]:8080 > /home/ol/data Traceback (most recent call last):...
`$ LC_ALL=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 archivebox server --nothreading '[::]:8080'` leads to the same issue as before
I pulled the whole debug block in the settings.py to the bottom of the file and added `ERROR_LOG="/tmp/err.log"` now the server starts and throws the same 500 error as before...
Anything else i could try? If i´d try something like move a directory in data/ away, test and retry after moving the next: ``` toch still_broken for dir in data/*...
I'm now running this after moving all directories from `archive` to `broken`: ```shell set -euo pipefail for dir in ../broken/* ; do echo $dir mv "$dir" . #../_kaputt_/ pushd .....
Perhaps this should also be added to `src/background/migration.ts`?
a debug-flag would be really nice...