Comments (14)
shall i delete the directory ie
/usr/share/dotnet
and try a re-install using the how to guide again?
from bitbetter.
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
3.1.201 [/root/dotnet/sdk]
root@lon-c-bw:/bitwarden/bwdata/BitBetter# dotnet --list-runtimes
Microsoft.AspNetCore.App 3.1.3 [/root/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.3 [/root/dotnet/shared/Microsoft.NETCore.App]
root@lon-c-bw:/bitwarden/bwdata/BitBetter#
from bitbetter.
Hi @robina80 The dotnet build happens inside a container. You don't need to install dotnet stuff on your host machine.
The error you seem to be having was in issue we have recently patched. Can you confirm that you're using the latest commit faf7833?
from bitbetter.
When you say commit, do you mean the latest version of bitbetter
from 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 git log
to see the latest commits in your local copy of the repo and confirm it's faf7833.
from bitbetter.
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
from bitbetter.
no the master copy didnt work, when i build it, im getting the same error
from bitbetter.
Try deleting the docker images/containers before you rebuild them.
from bitbetter.
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
from bitbetter.
Can you just confirm the output of each of these commands:
docker ps
docker image ls
docker container ls
from bitbetter.
I'm having the same troubles. We're farther than robina80, but not back up yet.
Listed the BitBetter Docker images
# docker image ls
Deleted the BitBetter Docker images
# docker image rm <for each BitBetter image and for the Microsoft dotnet SDK images>
Rerun ./BitBetter/src/build.sh
from bitbetter.
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
docker save bitwarden/web:latest > bitwarden.web:latest.tar
docker load < bitwarden.web:latest.tar
docker pull bitwarden/mssql
docker save bitwarden/mssql:latest > bitwarden.mssql:latest.tar
docker load < bitwarden.mssql:latest.tar
docker pull bitwarden/nginx
docker save bitwarden/nginx:latest > bitwarden.nginx:latest.tar
docker load < bitwarden.nginx:latest.tar
docker pull bitwarden/admin
docker save bitwarden/admin:latest > bitwarden.admin:latest.tar
docker load < bitwarden.admin:latest.tar
docker pull bitwarden/events
docker save bitwarden/events:latest > bitwarden.events:latest.tar
docker load < bitwarden.events:latest.tar
docker pull bitwarden/notifications
docker save bitwarden/notifications:latest > bitwarden.notifications:latest.tar
docker load < bitwarden.notifications:latest.tar
docker pull bitwarden/icons
docker save bitwarden/icons:latest > bitwarden.icons:latest.tar
docker load < bitwarden.icons:latest.tar
docker pull bitwarden/attachments
docker save bitwarden/attachments:latest > bitwarden.attachments:latest.tar
docker load < bitwarden.attachments:latest.tar
docker pull bitwarden/identity
docker save bitwarden/identity:latest > bitwarden.identity:latest.tar
docker load < bitwarden.identity:latest.tar
docker pull bitwarden/api
docker save bitwarden/api:latest > bitwarden.api:latest.tar
docker load < bitwarden.api:latest.tar
docker pull bitwarden/setup
docker save bitwarden/setup:latest > bitwarden.setup:latest.tar
docker load < bitwarden.setup:latest.tar
docker pull bitwarden/server
docker save bitwarden/server:latest > bitwarden.server:latest.tar
docker load < bitwarden.server:latest.tar
from bitbetter.
@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?
from bitbetter.
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
from bitbetter.
Related Issues (20)
- how to know if works with bitwarden x version HOT 4
- Use in production environment HOT 3
- can bitwarden disable bitbetter HOT 1
- INFO: Supported Bitwarden Versions
- build.sh failing with 2022.8.3 - outdated dotnet 5.0 - requires upgrade to 6.0 HOT 14
- How do people handle "license has expired"? HOT 1
- Server version 8.4 - Web version 8.1 HOT 1
- Server Version 2022.10.0 has problems with push notifications HOT 5
- The steps can be more detailed
- It works fine with Bitwarden unified. HOT 2
- Invalid username or password HOT 1
- Unhandled Server Error when editing or adding anything in my Organization HOT 1
- Issue when running ./build.sh request denied HOT 2
- Upgrade problem
- mv: cannot move '/app/Core.dll' to a subdirectory of itself, '/app/Core.orig.dll' HOT 2
- Organization suspended after upgrade to 2023.2.1 HOT 1
- BitWarden Unified Guide HOT 1
- I can't get version 2023.3 to work HOT 1
- Member role "custom" is greyed out HOT 1
- Unable to update to 2023.8.0 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitbetter.