Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile Issue on Ubuntu 22.04 #491

Open
collab-smart opened this issue Dec 14, 2023 · 5 comments
Open

Compile Issue on Ubuntu 22.04 #491

collab-smart opened this issue Dec 14, 2023 · 5 comments

Comments

@collab-smart
Copy link

collab-smart commented Dec 14, 2023

Hi @alexeybannov

Hope you are doing well. I am looking forward to hearing your opinion to fix the below outlined issue to execute CreateInstall.sh on ubuntu22.04. I have already installed mono to use msbuild.

When I try to make a deb package of community server using createinstall.sh on ubuntu22.04, I got an following error.
/opt/CommunityServer/common/ASC.Data.Storage/GoogleCloud/GoogleCloudStorage.cs(181,36): error CS1705: Assembly 'Google.Cloud.Storage.V1' with identity 'Google.Cloud.Storage.V1, Version=3.5.0.0, Culture=neutral, PublicKeyToken=185c282632e132a0' uses 'System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' which has a higher version than referenced assembly 'System.Net.Http' with identity 'System.Net.Http, Version=4.1.0.2, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' [/opt/CommunityServer/common/ASC.Data.Storage/ASC.Data.Storage.csproj] /opt/CommunityServer/common/ASC.Data.Storage/GoogleCloud/GoogleCloudStorage.cs(741,36): error CS1705: Assembly 'Google.Cloud.Storage.V1' with identity 'Google.Cloud.Storage.V1, Version=3.5.0.0, Culture=neutral, PublicKeyToken=185c282632e132a0' uses 'System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' which has a higher version than referenced assembly 'System.Net.Http' with identity 'System.Net.Http, Version=4.1.0.2, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' [/opt/CommunityServer/common/ASC.Data.Storage/ASC.Data.Storage.csproj]

How to fix it? Please help me.

@Carazyda
Copy link
Member

Hello @collab-smart Yes, we have a problem with compilation under Linux. This issue is related to required third party components and we are unable to fix it right now. At the moment, there is only the option to compile for Windows, and then create a deb package from these sources.

@collab-smart
Copy link
Author

Hi @Carazyda

Thanks for your information.

My goal was to compile this project and build a docker file.

I saw docker-communityserver . Following up the Dockerfile in this repository, I was trying to compile the project and make a debian package. But as you said, I got lots of errors.

And I also tried to use the CreateAndInstall.sh under build directory to make a debian package. But I faced several issues.

Could you please give me detailed the process below outlined?

  1. Compilation process on Windows (the documentation seems to be a little old. That would be great if you can give me the latest document.

  2. How to make a Debian package from compilation result of Windows.

  3. How to build a Dockerfile after that.

I appreciate your kind help again.

Looking forward to hearing from you soon.

@collab-smart
Copy link
Author

I faced the below issue after execution ManageServices.bat --install-all on windows server 2019. There is nothing errors during Build and Deploy using BuildAndDeploy.bat.

image
Could you please help me to fix this?

@Carazyda
Copy link
Member

I faced the below issue after execution ManageServices.bat --install-all on windows server 2019. There is nothing errors during Build and Deploy using BuildAndDeploy.bat.

image Could you please help me to fix this?

This issue will be fixed in version 12.6.0. Release soon.

@collab-smart
Copy link
Author

Good to hear.

Hi @Carazyda

Thanks for your information.

My goal was to compile this project and build a docker file.

I saw docker-communityserver . Following up the Dockerfile in this repository, I was trying to compile the project and make a debian package. But as you said, I got lots of errors.

And I also tried to use the CreateAndInstall.sh under build directory to make a debian package. But I faced several issues.

Could you please give me detailed the process below outlined?

  1. Compilation process on Windows (the documentation seems to be a little old. That would be great if you can give me the latest document.
  2. How to make a Debian package from compilation result of Windows.
  3. How to build a Dockerfile after that.

I appreciate your kind help again.

Looking forward to hearing from you soon.

If you can clarify me about these processes, I would be happy.

Merry Christmas!

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants