Comments (5)
It is build that way - https://github.com/StamusNetworks/SELKS/blob/master/staging/config/hooks/chroot-inside-Debian-Live.chroot#L19
It was due to a conflict (if I remember correctly).
Would be thankful if you could please try and let us know if any potential issues arise actually.
from scirius.
Thanks Pevma, thats a very useful link! especialyl for someone like me who likes to look under the hood :)
So, I have upgraded to the latest version of Django using the following command:
pip install django==1.8.3 django-tables2 South GitPython pyinotify flup
Rebooted my VM (probably didnt have to)
Went to the SELKS dashboard and... yup there is a conflict indeed!
But that's super easy to fix, the error is
"Creating a ModelForm without either the 'fields' attribute or the 'exclude' attribute is deprecated"
Googling the error pointed me to this article:
So basically it seems an argument (Field or Exclude) is needed since version 1.8
Looking at the trace error in the browser you can identify the file that triggered that error:
/opt/selks/scirius/rules/form.py
You can see there is a line with no "field" or "exclude"
class SystemSettingsForm(forms.ModelForm):
class Meta:
model = SystemSettings
So if you add the following line under "model = SystemSettings":
class SystemSettingsForm(forms.ModelForm):
class Meta:
model = SystemSettings
fields = 'all'
save the file, reload the dashboard...
Everything seems to work fine!
Not sure what else I need to do for being sure there is no other conflict but it seems OK to me now.
Will let you know in a few days, if anything else needs fixing (because it seems a bit too easy to be honest! :)
from scirius.
If you can tell me what you use Django for, I can try to stress test it by the way. I.e.: to do certain actions or load certain pages.
from scirius.
Hi,
OK good. This bug is already fixed in git. Really need to make a release once deactivate is fixed.
Le 22 juil. 2015 6:35 PM, Bugs [email protected] a écrit :Thanks Pevma, thats a very useful link! especialyl for someone like me who likes to look under the hood :)
So, I have upgraded to the latest version of Django using the following command:
pip install django==1.8.3 django-tables2 South GitPython pyinotify flup
Rebooted my VM (probably didnt have to)
Went to the SELKS dashboard and... yup there is a conflict indeed!
But that's super easy to fix, the error is
"Creating a ModelForm without either the 'fields' attribute or the 'exclude' attribute is deprecated"
Googling the error pointed me to this article:
So basically it seems an argument (Field or Exclude) is needed since version 1.8
Looking at the trace error in the browser you can identify the file that triggered that error:
/opt/selks/scirius/rules/form.py
You can see there is a line with no "field" or "exclude"
class SystemSettingsForm(forms.ModelForm):
class Meta:
model = SystemSettings
So if you add the following line under "model = SystemSettings":
class SystemSettingsForm(forms.ModelForm):
class Meta:
model = SystemSettings
fields = 'all'
save the file, reload the dashboard...
Everything seems to work fine!
Not sure what else I need to do for being sure there is no other conflict but it seems OK to me now.
Will let you know in a few days, if anything else needs fixing (because it seems a bit too easy to be honest! :)
—Reply to this email directly or view it on GitHub.
from scirius.
Closing that issue as latest git has a fixed version.
from scirius.
Related Issues (20)
- Error add public source HOT 7
- KeyError on Hunt whith latest django-webpack-loader (v1.0.0)
- First start issue HOT 5
- Python 2.7???? HOT 5
- does scirius fetch dashboard from kibana? HOT 1
- Scirius CE v3.7.0 GUI problem in safari 15 HOT 2
- docker: Get cyberchef pre-installed in the docker image HOT 2
- Failed to minify the code from this file: ./node_modules/patternfly-react/dist/esm/common/helpers.js:14 HOT 1
- Logging with python requests library error: Forbidden(403) CSRF verification failed HOT 1
- USE_KIBANA/ELASTICSEARCH=0 ignored, still tries to connect HOT 2
- Set python_requires and clarify Python support
- Number of rules on the source page never increments during updates in Scirius
- How to show more than 20 last rules activity in scirius?
- Batch activate commented rules
- Unable to Build Docker Image
- Fails on sources updating HOT 3
- Suricata won't restart after build & push ruleset HOT 3
- Install issues
- Error reading webpack-stats.prod.json
- where is hunt
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 scirius.