Back

[SOLVED] Deployment fails on "determinining projects to restore..."

  • 0
  • Self Hosted
  • Functions
ilikechicken77
26 Jun, 2023, 08:33

Unfortunately I have a docker error when deploying functions which I already have been able to deploy successfully before.

Without referencing external packages it works fine but as soon as I include a nuget package the deployment fails. When my proxy setup isnt working properly the logs say that the packages cant be reached which makes sense. But in this case the logs stop on "determining projects to restore" without further information which seems odd.

I recently upgraded to Version 1.3.7 since i had another error while deploying (https://discord.com/channels/564160730845151244/1121071164240961597) which was fixed by this upgrade. But after one successful deployment the docker error appeared, even when deploying the same function again.

thx in advance:)

TL;DR
Title: Deployment fails on "determinining projects to restore..." The user was experiencing a docker error when deploying functions that included a NuGet package. The logs stopped at "determining projects to restore" without providing further information. The issue was resolved by fixing the proxy setup, which was preventing the packages from being pulled. The user also mentioned a previous error that was fixed by upgrading to Version 1.3.7.
ilikechicken77
26 Jun, 2023, 13:07
ilikechicken77
26 Jun, 2023, 13:59

Deployment fails on "determinining projects to restore..."

Drake
26 Jun, 2023, 19:03

@Aditya Oberai, have you seen this error before?

@ilikechicken77, btw, our team has limited availability this week so please be patient for the response

Drake
28 Jun, 2023, 17:53

The function should be able to pull in dependencies find...Would you be able to share your function source? So we can try to reproduce?

ilikechicken77
29 Jun, 2023, 08:37

Thx for your time.. the error is resolved, it was very likely the proxy setup which kept it from pulling the packages. It was just confusing cause I had proxy issues before the output looked like that:

ilikechicken77
29 Jun, 2023, 08:37

Docker Error: MSBuild version 17.3.2+561848881 for .NET Determining projects to restore... /usr/local/src/DotNetRuntime.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. Failed to restore /usr/local/src/DotNetRuntime.csproj (in 8.18 min).

ilikechicken77
29 Jun, 2023, 08:40

and the described error was failing without information but now it works so <:appwriterocket:823996226894692403>

ilikechicken77
29 Jun, 2023, 08:40

[SOLVED] Deployment fails on "determinining projects to restore..."

Drake
29 Jun, 2023, 15:51
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more