-
Notifications
You must be signed in to change notification settings - Fork 107
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
error when trying to build bit better - net framework #61
Comments
shall i delete the directory ie /usr/share/dotnet and try a re-install using the how to guide again? |
as you can see i have the sdk and runtime, i just dont get why this is happening root@lon-c-bw:/bitwarden/bwdata/BitBetter# dotnet --list-sdks |
When you say commit, do you mean the latest version of bitbetter |
@robina80 If you're unsure about what a commit is, your safest bet is to just remove the copy of bitbetter you have and download the latest version: https://github.com/jakeswenson/BitBetter/archive/master.zip If you do know what a commit is and have git installed on your computer, simply run |
mmm... i deleted the dir BitBetter and when running the build again i get the same errors EDIT, just saw its a master zip, hang on il give this a try |
no the master copy didnt work, when i build it, im getting the same error |
Try deleting the docker images/containers before you rebuild them. |
yeah thats wht i did deleted the microsfot sdk 2.1 as when i did a docker images i saw 3.1 and 2.1, so i deleted 2.1 |
Can you just confirm the output of each of these commands:
|
I'm having the same troubles. We're farther than robina80, but not back up yet. Listed the BitBetter Docker images Deleted the BitBetter Docker images Rerun ./BitBetter/src/build.sh |
What I did was install a brand new server Ubuntu 1804, once did that I installed sdk core via this https://docs.microsoft.com/en-us/dotnet/core/install/linux-package-manager-ubuntu-1804 Mkdir /bitwarden/bwdata Cd /bitwarden/bwdata git clone https://github.com/jakeswenson/BitBetter.git /bitwarden/bwdata/BitBetter/build.sh and I got no errors Once I built it I then copied my old bitwarden files in my /bitwarden/bwdata folder Then ran this to get it going docker-compose -f ./docker/docker-compose.yml up -d I obviously changed the path to my docker compose yml file You obviously need to install docker and docker compose on the server and then run this script i made to install all the bitwarden styuff #!/bin/bash mkdir /dockers cd /dockers docker pull bitwarden/web |
@robina80 You don't need the SDK on your host machine at all. The license generator is built entirely inside a container. It's hard to tell exactly what was going wrong, but my best guess is that you still had an outdated docker container or image that wasn't being rebuilt and when running the build process for the license generator the out-of-date image was being used. Sounds like you've gotten this solved now, though? |
thanks Jeff, i then realised when i did a docker images bitbetter api license gen and identity was running so maybe if i removed them it would had worked |
hi all,
so ive installed the net framework 3.1 using this how to guide
https://docs.microsoft.com/en-us/dotnet/core/install/linux-package-manager-ubuntu-1804
but when i build bitbetter i get this error message
It was not possible to find any compatible framework version
The specified framework 'Microsoft.NETCore.App', version '3.1.0' was not found.
/usr/share/dotnet/
https://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409
https://aka.ms/dotnet-download
2.2.6 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]
but when i check my version i have 3.1
root@lon-c-bw:/bitwarden/bwdata/BitBetter# dotnet --version
3.1.201
am i missing something here?
thanks,
rob
The text was updated successfully, but these errors were encountered: