Category : caching

I’m using the official Docker-registry image to serve as a pull-through cache. I tried to start it as simple as possible, to minimize sources of error. $ docker run –rm -p 5000:5000 –env REGISTRY_PROXY_REMOTEURL="https://registry-1.docker.io" –env REGISTRY_LOG_LEVEL=debug registry Only the proxy option is set, to make the cache pull-through. However pulling through doesn’t seem to want ..

Read more

When running Symfony 5 on a read-only filesystem, with caches pre-generated, everything seems to work. But there are various log entries like these: 15:29:11 WARNING [cache] Failed to save key "%5BApp%5CEntity%5CAddress%5C%24GEDMO_TIMESTAMPABLE_CLASSMETADATA%5D%5B1%5D" of type array: fopen(/code/var/cache/prod/pools/VPOqRtOijV/82b6c3d711e9): failed to open stream: Permission denied ["key" => "%5BApp%5CEntity%5CAddress%5C%24GEDMO_TIMESTAMPABLE_CLASSMETADATA%5D%5B1%5D","exception" => ErrorException { …},"cache-adapter" => "SymfonyComponentCacheAdapterPhpFilesAdapter"] 15:29:11 WARNING [cache] Failed to ..

Read more

I receive this error on my ASP.NET Core docker: An assembly specified in the application dependencies manifest (ZoodExchange.UserApi.Api.deps.json) was not found: package: ‘Microsoft.AspNetCore.Authentication.JwtBearer’, version: ‘3.1.12’ path: ‘lib/netcoreapp3.1/Microsoft.AspNetCore.Authentication.JwtBearer.dll’ While I see that NuGet has cached this library in the following path: ~/.local/share/NuGet/v3-cache/1ca707a4d90792ce8e42453d4e350886a0fdaa4d$ps:_api.nuget.org_v3_index.json And I see these files in that path: list_microsoft.aspnetcore.authentication.jwtbearer.dat nupkg_microsoft.aspnetcore.authentication.jwtbearer.3.1.12.dat How should I fix ..

Read more