Comments (8)
I know, I know, don't worry about it. I just tried to see what was going on.
Let's wait for the experts.
I hope so too.
from dradis-ce.
I received the exact same issue after hurdling a previous installation issue. When I received the error that you listed, I ran bundle install
, to which I received a message saying that everything was installed. I started up the server and connected to it with my browser, only to receive a lengthy page stating that a migration was in progress. I clicked the button that says "Run pending migrations", only to receive a message similar to the one that you listed here. Hence, I'm still stuck in the same place. I would love to know how to get this installed, as this is my first time attempting to do so and have already come across multiple issues during the installation process.
from dradis-ce.
I did what you said.
But after clicking "Running pending migrations" i got the same error but in a browser with some more details.
from dradis-ce.
My apologies. I was not giving instructions for you to solve your problem. I was chiming in on the conversation saying that I am having the same problem as you. I hope that we can both get this resolved soon.
from dradis-ce.
SOLUTION
After some research about ruby, i have never used this language, I saw the problem. Ruby is case-sensitive:
Change the class name from CleanOpenvasSettings to CleanOpenVASSettings in file
dradis-ce/db/migrate/20131002215400_clean_openvas_settings.rb
Execute the ./bin/setup again.
from dradis-ce.
That seems to have done it. I called myself running grep -r -i cleanopenvassettings
last night, but I suppose I glossed over that particular results in my no-sleep haze. lol. Thank you for the help.
from dradis-ce.
I had an issue with tzdata-info gem and the cleanopenvassettings class. I'll open a pull request for the Dockerfile and k8s yaml deployment, but here is what is building in my jenkins pipeline:
FROM ubuntu:focal
RUN apt update -y
RUN apt install git zlib1g zlib1g-dev gcc-10 gcc g++ libssl-dev patch libreadline-dev libyaml-dev libffi-dev make bzip2 autoconf automake libtool bison curl libsqlite3-dev mariadb-server libmariadb-dev -y
RUN apt install redis -y
RUN useradd -ms /bin/bash dradis
RUN mkdir /mnt/backup
USER dradis
WORKDIR "/home/dradis"
RUN git clone git://github.com/sstephenson/rbenv.git .rbenv
RUN echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
RUN echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
RUN git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
RUN echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bash_profile
RUN ~/.rbenv/bin/rbenv install -v 2.7.2
RUN ~/.rbenv/bin/rbenv global 2.7.2
RUN ~/.rbenv/shims/ruby -v
RUN ~/.rbenv/shims/gem install bundler
RUN git clone https://github.com/dradis/dradis-ce.git
WORKDIR "/home/dradis/dradis-ce/"
RUN sed -i 's#[email protected]:paper-trail-gem/paper_trail.git#https://github.com/paper-trail-gem/paper_trail.git#g' Gemfile
RUN sed -i "/^ruby '2.7.2'/a gem 'tzinfo-data', '~> 1.2021.1'" Gemfile
RUN sed -i 's/CleanOpenvasSettings/CleanOpenVASSettings/g' ~/dradis-ce/db/migrate/*_clean_openvas_settings.rb
RUN ~/.rbenv/shims/ruby ./bin/setup
USER root
RUN cp -a /home/dradis/dradis-ce/ /mnt/backup/
RUN chown -R dradis:dradis /mnt/backup/*
USER dradis
WORKDIR "/home/dradis/dradis-ce"
EXPOSE 3000
CMD ["/home/dradis/.rbenv/shims/bundle", "exec", "rails", "server", "-b", "0.0.0.0"]
docker build -t dradis-ce:latest -f dradis-ubuntu.docker .
docker run -it -p 3000:3000 dradis-ce:latest
from dradis-ce.
Sorry about the delay in getting back to y'all this was actually fixed in #937
from dradis-ce.
Related Issues (20)
- Attachment contents are not downloadable through the API HOT 3
- Cannot generate a non-breaking space in output for Word HOT 1
- Continue numbering not supported
- Docker build and push to github container registry HOT 3
- Deploy to Heroku config fails to deploy HOT 4
- У
- Драдис
- Link Team Name in Projects view to Team HOT 1
- [General Question] Tags are on issues not on evidence HOT 1
- Setup Fails HOT 3
- Unable to export to HTML HOT 4
- Openvas Import Plugin (Issues with No Tag) HOT 1
- Vagrant install: change the key server HOT 2
- Install failed in Kali Linux HOT 5
- Bug: inconsistent use of "Archived" status/state between Issue Library and Rules Engine HOT 1
- Add-on's template does not update HOT 1
- $ thor dradis:setup:kit --file=kit.zip appears to not be working in CE HOT 1
- problems wih the kali isntallation and "mini_racer" HOT 1
- The tag v4.2.0 is on an older commit than the tag v4.1.2 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 dradis-ce.