tkz.one es uno de los varios servidores independientes de Mastodon que puedes usar para participar en el fediverso.
La comunidad Mastodon más grande en Español para gamers, otakus y geeks. Libre de toxicidad. Contenido de anime, manga, videojuegos, tecnología, cómics, literatura, cine... ¡Únete a la familia!

Administrado por:

Estadísticas del servidor:

791
usuarios activos

#paperless

2 publicaciones2 participantes0 publicaciones hoy

Paperless-ngx:

Mal ein deutlich besser gemachtes Video zu Paperless-ngx. Die Installation finde ich zwar zu umständlich, aber es werden recht praxisnah und ausführlich die Grundlagen erklärt. Ein bisschen Storytelling mit kleinen Videos ist auch dabei. (Hat sogar über 50.000 Aufrufe.)

#paperless #paperlessngx #selfhosted

youtube.com/watch?v=WRyBPMH9zf

In theory, I have almost everything I wanted to have self-hosted on my small server:
- #nextcloud for files, calendar, storing notes from #joplin
- #immich for photos
- #vikunja for my ToDo
- #pihole
- #paperless for digital copies of important documents
And these are my must-have.

I have few more things that are nice (like Jellyfin and few more) but it's for future.

However, I'm too scared to ditch cloud solutions, that I will lose my data because of my stupidity 😕

Fixing PaperlessNGX Email Processing Issues After Restart

When running PaperlessNGX in Docker, I encountered an issue where certain emails were not processed after restarting the Paperless container in the middle of a batch processing operation. Paperless saw the emails in the inbox but incorrect

ly marked them as already processed.

Identifying the Issue

The first step to diagnose the issue was to check the mail.log file within Paperless. The log provided information on which emails were skipped from processing, including their unique IDs. For example:

[2025-02-17 09:50:03,084] [DEBUG] [paperless_mail] Skipping mail '321' subject 'Email from Epson WF-4830 Series' from 'scanner@example.com', already processed.

Logging into the Database

To access the Paperless database running inside a Docker container, I used the following command:

docker compose exec db /bin/bash

This command opens a bash shell inside the db service container, allowing further interaction with PostgreSQL.

Resolving the Issue

To resolve the issue, I connected to the Paperless database, which was running on PostgreSQL. Using the provided email UID from the mail.log, I deleted the corresponding entries from the paperless_mail_processedmail table to allow Paperless to process the email again.

psql -U paperless_db_user

Here’s the SQL command I used:

DELETE FROM paperless_mail_processedmail WHERE uid = '322';

After running this command for every of the reported mails that are skipped, Paperless successfully reprocessed the emails during the next processing cycle.

Conclusion

If you encounter similar issues with PaperlessNGX not processing certain emails after a restart, checking the mail.log and manually deleting the processed mail entries from the database can be an effective solution.

docs.paperless-ngx.comPaperless-ngx