Skip to content
Snippets Groups Projects
  1. Feb 11, 2022
  2. Feb 10, 2022
  3. Jan 09, 2022
  4. Jan 07, 2022
  5. Dec 23, 2021
  6. Dec 22, 2021
  7. Nov 08, 2021
  8. Nov 06, 2021
  9. Oct 20, 2021
    • Gavin Mogan's avatar
      Handle file not existing when trying to delete it · d1990304
      Gavin Mogan authored
      When trying to clean up database after a faulty config deleted the
      existing files, I called /_matrix/media/r0/admin/purge/old but that was
      failing due to the file not existing.
      
      Code jsut swallows the error as deleting a non existing file shouldn't
      be fatal
      
      Logs-ish:
      
      Deleting thumbnail with hash: e8ba5faa6bae71647a3a8e7e6328bf3d93343e96666eda14e5487b5e60760d80" before_ts=1632086268000 contentLength=2 contentType=application/json include_local=true isRepoAdmin=true method=POST queryString="before_ts=1632086268000&include_local=true&keep_profiles=false" resource=/_matrix/media/r0/admin/purge/old usingForwardedHost=true
      Error purging media: remove /var/matrix/media/c3/43/82a1828f3222468497ac8ccc0f490b252c6a: no such file or directory"
      Replying with result: *api.ErrorResponse &{Code:M_UNKNOWN Message:error purging media InternalCode:M_UNKNOWN}" contentLength=2 contentType=application/json method=POST queryString="before_ts=1632086268000&include_local=true&keep_profiles=false"  resource=/_matrix/media/r0/admin/purge/old usingForwardedHost=true
      d1990304
  10. Oct 19, 2021
  11. Oct 12, 2021
  12. Sep 28, 2021
  13. Aug 29, 2021
  14. Aug 07, 2021
  15. Aug 05, 2021
  16. May 23, 2021
  17. May 22, 2021
  18. May 21, 2021
  19. May 09, 2021
  20. May 04, 2021
Loading