Open zhh0000zhh opened 1 month ago
this operation results in an error
What does the error message say? There is not much information for us to go on.
this operation results in an error
What does the error message say? There is not much information for us to go on.
General error (the server should provide an error description). Error code: 4 Error message returned by the server: Failure
Is the process still running when you execute the scp command? If so, can you stop the process and then run the scp to see if it succeeds? If both answers are yes, then it could be about the flock advisory being effective with either -o mand
(mandatory) filesystem mount or chmod g-x
(turn off group execution) and g+s
(turn on group ID).
Is the process still running when you execute the scp command? If so, can you stop the process and then run the scp to see if it succeeds? If both answers are yes, then it could be about the flock advisory being effective with either
-o mand
(mandatory) filesystem mount orchmod g-x
(turn off group execution) andg+s
(turn on group ID).
The current issue is that I was able to update the executable file of a running process (using .NET 6) using the same method, but after upgrading to .NET 8, I am unable to do so even though nothing else has changed. I usually restart the program after replacing the file to minimize downtime.
Perhaps something for @dotnet/appmodel to look at?
Could you provide more details on exactly how you're deploying the application? Is this a framework-dependent app? Are you deploying it with an apphost (the native executable)? Are you copying each assembly over individually?
Could you provide more details on exactly how you're deploying the application? Is this a framework-dependent app? Are you deploying it with an apphost (the native executable)? Are you copying each assembly over individually? Deployment is standalone, target environment linux-x64 This is the directory tree on the server, the server is almalinux 8.10
I'm using AlmaLinux 8 as my production environment and pm2 as my process manager. With .NET 6, I could directly overwrite the executable file using WinSCP. However, when using .NET 8, this operation results in an error. I suspect that the way .NET 6 and .NET 8 handle executable files on Linux is different. Are there any ways to confirm this behavior and reduce the cost of program updates? thanks