Open Closed

Crash app after auditLog removed #6460


User avatar
0
lan.dang created
  • ABP Framework version: v8.0.0
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

I have removed all data in AuditLog and EntityChanged table (as I think there is no problem with them), but after remove our app in Azure crashed. What should I do in this case? Is there anyway to help me to solve this issue

Thank you


9 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    our app in Azure crashed.

    Can you share some crash logs?

  • User Avatar
    0
    lan.dang created

    Here is some last error After I remove audit log, and do deploy, it could not start app

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    These errors don't seem related to AuditLog.

    Are there any error logs on the backend API website?

  • User Avatar
    0
    lan.dang created

    The app did not start, so there is no application log since that time. I do not know why application could not start after I upgrade version 8.0.1 and remove all AuditLogs I just see these error during deployment, not sure if it is helpful

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    It seems your app is still using net 7.

     To install missing framework, download:
    2024-01-07T23:59:10.794699961Z https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=7.0.0&arch=x64&rid=linux-x64&os=debian.12
    
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    The problem is related to net 7 upgrade to net 8 instead of auditlogs.

  • User Avatar
    0
    torronea created

    What is the best way to purge logs? Can one just delete the data from the tables? As I understand, there is no periodic removal of audit logs in ABP.io Commercial yet. Are there plans for it?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    The best way to remove entities data is from your app code.

  • User Avatar
    0
    lan.dang created

    I solved the problem, I did not .NET 8 to my deployment slot in azure so it could not work

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11