Today I've faced with strange issue: after update of Azure function app which was made from Visual Studio Azure functions stopped working. The following error was shown in the logs:
Repository has more than 10 non-decryptable secrets backups (host)
In order to fix this error perform the following steps:
1. In Azure portal go to Azure function app > Deployment center > FTPS credentials and copy credentials for connecting to function app by FTP:
2. Then connect to Azure function app by FTP e.g. using WinSCP client.
3. Go to /data/functions/secrets folder and remove all files which have name in the following form:
*.snapshot.{timestamp}.json
4. After that go to Azure portal > Function app and restart it. It should be started now.
No comments:
Post a Comment