paperless icon indicating copy to clipboard operation
paperless copied to clipboard

File name in DB

Open Sblop opened this issue 4 years ago • 1 comments

Hi All,

My paperless instance failed to run correctly with the lastest docker image update. As per the error message, it was unable to find the filename column in the DB. That meant it could neither show documents nor consume new ones. The log did not show any errors, but the CPU usage was very high, as the consumption kept failing.

I was able to fix this issue with the "./manage.py migrate" command.

It is my understanding that the migrate command ran automatically earlier? Is this correct? If this is the case, I wonder if some code have broke, or it is simple just an error in my setup that has caused this mistake.

  • Additionally to this, do any of you know if it is possible to use an external database? I have an instance of MariaDB running already, that is being backed up 2 times a day. It would be convenient for me to use is, instead of the sqlite3.

Sblop avatar May 07 '20 08:05 Sblop

@BastianPoe might this be related to https://github.com/the-paperless-project/paperless/pull/593?

Tooa avatar May 16 '20 11:05 Tooa