patrowl / patrowldocs Goto Github PK
View Code? Open in Web Editor NEWPatrOwl - Open Source, Free and Scalable Security Operations Orchestration Platform
Home Page: https://www.patrowl.io
License: GNU Affero General Public License v3.0
PatrOwl - Open Source, Free and Scalable Security Operations Orchestration Platform
Home Page: https://www.patrowl.io
License: GNU Affero General Public License v3.0
ERROR: Could not find a version that satisfies the requirement python-magic-bin==0.4.14 (from versions: none)
ERROR: No matching distribution found for python-magic-bin==0.4.14
The command '/bin/sh -c pip3 install -r requirements.txt' returned a non-zero code: 1
This is my requirements.txt file
fastapi==0.92.0
uvicorn==0.15.0
sqlalchemy==1.4.23
pymysql==1.0.2
mysqlclient==2.0.3
urllib3==1.26.14
boto3==1.26.86
loguru==0.6.0
python-multipart==0.0.6
python-magic-bin==0.4.14
pip install -r requirements.txt
...
Could not find a version that satisfies the requirement python-magic-bin==0.4.14 (from -r requirements.txt (line 26)) (from versions: )
No matching distribution found for python-magic-bin==0.4.14 (from -r requirements.txt (line 26))
Python 2.7.15rc1
pip 18.0 from /home/user/PatrowlManager/env/local/lib/python2.7/site-packages/pip (python 2.7)
Ubuntu 18.04 LTS (Linux patrowl 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux)
Hello,
The installation of Patrowl is done and I can run the production server.
But when I want to access at http://x.x.x.x:8000/, the CSS files doesn't load.
On the server, I have error message below :
x.x.x.x - - [02/Jul/2019 18:18:07] "GET /static/css/cal-heatmap.css HTTP/1.1" 404 -
x.x.x.x - - [02/Jul/2019 18:18:07] "GET /static/css/jquery.dataTables.min.css HTTP/1.1" 404 -
x.x.x.x - - [02/Jul/2019 18:18:07] "GET /static/js/jquery.min.js HTTP/1.1" 404 -
x.x.x.x - - [04/Jul/2019 11:42:30] "GET /static/js/fontawesome-all.min.js HTTP/1.1" 404 -
x.x.x.x - - [04/Jul/2019 11:42:30] "GET /static/admin/js/core.js HTTP/1.1" 404 -
.......
These is my configuration on settings.py about staticfiles (default configuration):
STATIC_URL = '/static/' STATIC_ROOT = os.path.join(BASE_DIR,
'staticfiles') STATICFILES_DIRS = [ os.path.join(BASE_DIR, "static"),
I tried this but it does'nt work :
STATICFILES_FINDERS = [ 'django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder', ] STATIC_URL = '/static/' STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles') #STATIC_ROOT= '/root/PatrowlManager/static/' STATICFILES_DIRS = [ os.path.join(BASE_DIR, "static"), '/root/PatrowlManager/static', ]
Can you help me ?
Thank you !
Bonjour,
J'essaye d'installer Patrowl mais j'ai quelque soucis. Je n'utilise pas docker pour l'installation.
J'en suis ici : cd PatrowlManager
python2.7 -m virtualenv env
source env/bin/activate
pip install -r requirements.txt
J'ai fais un git, je suis aller dans PatrowlManager mais lorsque je lance python2.7 -m virtualenv env j'ai un message d'erreur : No module name virtualenv et je ne le vois pas dans le dossier PatrowlManager, j'ai vérifié virutalenv est bien installé que dois-je faire s'il vous plait ? Merci
Hello,
when I issue command: docker-compose build --force-rm in git directory I cloned.
I get the following Error messages:
E: Release file for http://security.debian.org/debian-security/dists/buster/updates/InRelease is not valid yet (invalid for another 3h 25min 18s). Updates for this repository will not be applied.
E: Release file for http://deb.debian.org/debian/dists/buster-updates/InRelease is not valid yet (invalid for another 15h 12min 54s). Updates for this repository will not be applied.
Removing intermediate container a9036a99ab10
ERROR: Service 'web' failed to build: The command '/bin/sh -c apt-get update -yq && apt-get install -yq --no-install-recommends apt-utils python3 python3-pip libmagic-dev python3-dev gcc && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*' returned a non-zero code: 100
How am I supposed to solve this issue?
Thanks in Advance
I am on Ubuntu 20.04
When I try to deploy Patrowl with pre-configured engines I get an error deploying:
pieter@supersecretstation:~/PatrowlManager$ docker-compose -f docker-compose.with-engines.yml up
patrowl-nmap is up-to-date
Starting patrowl-owl_dns ...
patrowl-postgres is up-to-date
Starting patrowl-owl_dns ... error
Starting patrowl-rabbitmq ... done
Starting patrowl-django ...
ERROR: for patrowl-owl_dns Cannot start service engine-owl_dns: OCI runtime create failed: container_linux.go:367: star
Starting patrowl-django ... done
Starting patrowl-nginx ... done
ERROR: for engine-owl_dns Cannot start service engine-owl_dns: OCI runtime create failed: container_linux.go:367: starting container process caused: exec: "gunicorn": executable file not found in $PATH: unknown
ERROR: Encountered errors while bringing up the project.
Any ideas on how to fix this?
Hi,
I like this project, but something is missing :)
Is there any plan to speed up of API documentation? Maybe swagger would be good idea to to start?
There is lot's of plans in roadmap, and I believe that community would like to contribute.
Dubravko
Request Method: | POST |
---|---|
http://web:8003/assets/bulkadd | |
2.2.3 | |
AttributeError | |
'_csv.reader' object has no attribute 'next' | |
/opt/patrowl-manager/assets/views.py in bulkadd_asset_view, line 260 | |
/opt/patrowl-manager/env3/bin/python3 | |
3.7.4 | |
['/opt/patrowl-manager', '/opt/patrowl-manager', '/opt/patrowl-manager/env3/bin', '/opt/patrowl-manager/env3/lib/python37.zip', '/opt/patrowl-manager/env3/lib/python3.7', '/opt/patrowl-manager/env3/lib/python3.7/lib-dynload', '/usr/local/lib/python3.7', '/opt/patrowl-manager/env3/lib/python3.7/site-packages'] | |
Wed, 14 Aug 2019 20:03:17 +0200 |
Installation on Debian 9.
After installing Docker & Docker-Compose, and cloning the git, the following command failed : docker-compose build --force-rm
It seems that following line might be missing from the Dockerfile:
RUN /bin/bash/ -c "python3 -m virtualenv env3"
(just before : source env3/bin/activate)
It solved my install but I don't know if it was legitimately missing.
If not, I hope this will help :)
greetings
can i request more development documentation, I like the idea of what patrowl is but am struggling in getting it working as intended and it seems that the application hangs randomly waiting for processes.
( engines are talking to manager but scans are not working )
Could I request documentation for development, for anyone wanting to understand everything and wanting to contribute?
Hi , Is there any plans to add support to import scan results from scanners such as burp or qualys.
Hi,
I've got an error when execute : python manage.py migrate
django.db.utils.ProgrammingError: ERREUR: le type jsonb n'existe pas
LINE 1: ...L, "criticity" varchar(10) NOT NULL, "risk_level" jsonb NOT ...
Operations to perform: Apply all migrations: admin, assets, auth, authtoken, contenttypes, django_celery_beat, django_celery_results, engines, events, findings, rules, scans, sessions, settings, users Running migrations: Applying assets.0001_initial...Traceback (most recent call last): File "manage.py", line 22, in <module> execute_from_command_line(sys.argv) File "/data/PatrowlManager/env/lib/python2.7/site-packages/django/core/management/__init__.py", line 364, in execute_from_command_line utility.execute() File "/data/PatrowlManager/env/lib/python2.7/site-packages/django/core/management/__init__.py", line 356, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/data/PatrowlManager/env/lib/python2.7/site-packages/django/core/management/base.py", line 283, in run_from_argv self.execute(*args, **cmd_options) File "/data/PatrowlManager/env/lib/python2.7/site-packages/django/core/management/base.py", line 330, in execute output = self.handle(*args, **options) File "/data/PatrowlManager/env/lib/python2.7/site-packages/django/core/management/commands/migrate.py", line 204, in handle fake_initial=fake_initial, File "/data/PatrowlManager/env/lib/python2.7/site-packages/django/db/migrations/executor.py", line 115, in migrate state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial) File "/data/PatrowlManager/env/lib/python2.7/site-packages/django/db/migrations/executor.py", line 145, in _migrate_all_forwards state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial) File "/data/PatrowlManager/env/lib/python2.7/site-packages/django/db/migrations/executor.py", line 244, in apply_migration state = migration.apply(state, schema_editor) File "/data/PatrowlManager/env/lib/python2.7/site-packages/django/db/migrations/migration.py", line 129, in apply operation.database_forwards(self.app_label, schema_editor, old_state, project_state) File "/data/PatrowlManager/env/lib/python2.7/site-packages/django/db/migrations/operations/models.py", line 97, in database_forwards schema_editor.create_model(model) File "/data/PatrowlManager/env/lib/python2.7/site-packages/django/db/backends/base/schema.py", line 319, in create_model self.execute(sql, params or None) File "/data/PatrowlManager/env/lib/python2.7/site-packages/django/db/backends/base/schema.py", line 136, in execute cursor.execute(sql, params) File "/data/PatrowlManager/env/lib/python2.7/site-packages/django/db/backends/utils.py", line 64, in execute return self.cursor.execute(sql, params) File "/data/PatrowlManager/env/lib/python2.7/site-packages/django/db/utils.py", line 94, in __exit__ six.reraise(dj_exc_type, dj_exc_value, traceback) File "/data/PatrowlManager/env/lib/python2.7/site-packages/django/db/backends/utils.py", line 62, in execute return self.cursor.execute(sql) django.db.utils.ProgrammingError: ERREUR: le type « jsonb » n'existe pas LINE 1: ...L, "criticity" varchar(10) NOT NULL, "risk_level" jsonb NOT ... ^
Hello
In the first image, it's when I barely arrive at the Login page of the OpenVAS administration without having entered any information in the inputs:
The second image is when I entered my ID and password, so I can't reach the OpenVAS admin interface :
Could you help me solve this problem please?
Thank you.
Hi,
Each time I'm trying to import findings from a nessus scan, I have the following error:
413 Request Entity Too Large
Please note that I'm using the dev branch as I was not able to make it work yet with the master one.
Any idea why ? or guidance for the troubleshooting ?
Thank you
Running nmap scan
Seeing the results
An error from amqp/connection.py
We use the user Admin as our admin user in settings.py and but in connection.py we see the user as guest which is our Linux user, is there a connection ? Do we need to change one of these ?
Hi,
I just did a fresh installation and the default password for admin is not working. i re-deployed it multiple time with no luck
is there a way i can reset the password?
python manage.py makemigrations
Traceback (most recent call last):
File "manage.py", line 22, in <module>
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.8/dist-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.8/dist-packages/django/core/management/__init__.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python3.8/dist-packages/django/core/management/base.py", line 323, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/local/lib/python3.8/dist-packages/django/core/management/base.py", line 364, in execute
output = self.handle(*args, **options)
File "/usr/local/lib/python3.8/dist-packages/django/core/management/base.py", line 83, in wrapped
res = handle_func(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/django/core/management/commands/makemigrations.py", line 87, in handle
loader = MigrationLoader(None, ignore_no_migrations=True)
File "/usr/local/lib/python3.8/dist-packages/django/db/migrations/loader.py", line 49, in __init__
self.build_graph()
File "/usr/local/lib/python3.8/dist-packages/django/db/migrations/loader.py", line 274, in build_graph
raise exc
File "/usr/local/lib/python3.8/dist-packages/django/db/migrations/loader.py", line 248, in build_graph
self.graph.validate_consistency()
File "/usr/local/lib/python3.8/dist-packages/django/db/migrations/graph.py", line 195, in validate_consistency
[n.raise_error() for n in self.node_map.values() if isinstance(n, DummyNode)]
File "/usr/local/lib/python3.8/dist-packages/django/db/migrations/graph.py", line 195, in <listcomp>
[n.raise_error() for n in self.node_map.values() if isinstance(n, DummyNode)]
File "/usr/local/lib/python3.8/dist-packages/django/db/migrations/graph.py", line 58, in raise_error
raise NodeNotFoundError(self.error_message, self.key, origin=self.origin)
django.db.migrations.exceptions.NodeNotFoundError: Migration organizations.0005_alter_organization_users_and_more dependencies reference nonexistent parent node ('auth', '0012_alter_user_first_name_max_length')
This is the error when i try to execute the makemigrations command. I have tried to fix it by deleting all the resulting migration and pyc files, even changing the postgres version.
Originally posted by @ainich in #3 (comment)
Hi!
I installed a Patrowl server some time ago, and I wanted to make sure it was up to date. Both in terms of functionality and security.
How do I update the instance?
Thanks
hi,
first congrat for this great tool that seems very promising :) i would like to use it to manage our 300 server s vuln situation, sure it can be the right tool.
i ev installed this on my laptop running kali, no issues, all went ok, but when i want to add a fiding, i get this error
Request Method: | POST |
---|---|
http://web:8003/findings/add | |
2.2.4 | |
AttributeError | |
'dict' object has no attribute 'risk_info' | |
/opt/patrowl-manager/findings/views.py in add_finding_view, line 208 | |
/opt/patrowl-manager/env3/bin/python3 | |
3.7.4 | |
['/opt/patrowl-manager', '/opt/patrowl-manager', '/opt/patrowl-manager/env3/bin', '/opt/patrowl-manager/env3/lib/python37.zip', '/opt/patrowl-manager/env3/lib/python3.7', '/opt/patrowl-manager/env3/lib/python3.7/lib-dynload', '/usr/local/lib/python3.7', '/opt/patrowl-manager/env3/lib/python3.7/site-packages'] | |
Fri, 6 Sep 2019 08:11:07 +0200 |
also for some text box i get a message sayin it has to be a valid json format, so i enter the text this way "text" "hfizehfzoeifhzeio" "jpejfpejfp"
what am i doing wrong?
thxx for your time
Hi Guys.
I saw the presentation of the software at bsides, and wanted to try it, however I'm being struggling with it.
After following the docs, and using docker-compose to get the images up, i'm not able to login with the default creds (admin/Bonjour1!)
I have the 4 images up (nginx, django, rabbit, and postgres) so I dont know whats the issue. Any ideas?
Hi guys,
After installing everything, I'm getting the above errors when accessing via browser:
27.0.0.1 - - [06/Dec/2018:00:28:45 +0100] "GET /static/css/cal-heatmap.css HTTP/1.1" 404 100 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:45 +0100] "GET /static/css/jquery-ui.css HTTP/1.1" 404 98 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:45 +0100] "GET /static/js/jquery.min.js HTTP/1.1" 404 97 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:45 +0100] "GET /static/js/jquery-ui.min.js HTTP/1.1" 404 100 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:45 +0100] "GET /static/js/bootstrap.min.js HTTP/1.1" 404 100 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:46 +0100] "GET /static/css/jquery.dataTables.min.css HTTP/1.1" 404 110 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:46 +0100] "GET /static/css/datetimepicker.css HTTP/1.1" 404 103 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:46 +0100] "GET /static/css/bootstrap-tagsinput.css HTTP/1.1" 404 108 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:46 +0100] "GET /static/css/bootstrap.min.css HTTP/1.1" 404 102 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:46 +0100] "GET /static/js/tether.min.js HTTP/1.1" 404 97 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:46 +0100] "GET /static/js/d3.min.js HTTP/1.1" 404 93 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:46 +0100] "GET /static/js/cal-heatmap.min.js HTTP/1.1" 404 102 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:46 +0100] "GET /static/js/Chart.bundle.min.js HTTP/1.1" 404 103 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:47 +0100] "GET /static/js/jquery.dataTables.min.js HTTP/1.1" 404 108 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:47 +0100] "GET /static/js/bootstrap-datetimepicker.js HTTP/1.1" 404 111 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:47 +0100] "GET /static/js/typeahead/typeahead.bundle.min.js HTTP/1.1" 404 117 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:47 +0100] "GET /static/js/fontawesome-all.min.js HTTP/1.1" 404 106 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:47 +0100] "GET /static/js/bootstrap-tagsinput.min.js HTTP/1.1" 404 110 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:47 +0100] "GET /admin/jsi18n/ HTTP/1.1" 302 0 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:47 +0100] "GET /static/admin/js/core.js HTTP/1.1" 404 97 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:47 +0100] "GET /static/admin/js/vendor/jquery/jquery.js HTTP/1.1" 404 113 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:48 +0100] "GET /static/admin/js/jquery.init.js HTTP/1.1" 404 104 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:48 +0100] "GET /static/admin/js/admin/RelatedObjectLookups.js HTTP/1.1" 404 119 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:48 +0100] "GET /static/admin/js/actions.js HTTP/1.1" 404 100 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:48 +0100] "GET /static/admin/js/urlify.js HTTP/1.1" 404 99 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:48 +0100] "GET /static/admin/js/prepopulate.js HTTP/1.1" 404 104 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:48 +0100] "GET /static/admin/js/vendor/xregexp/xregexp.js HTTP/1.1" 404 115 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:49 +0100] "GET /static/admin/js/calendar.js HTTP/1.1" 404 101 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:49 +0100] "GET /static/admin/js/admin/DateTimeShortcuts.js HTTP/1.1" 404 116 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:49 +0100] "GET /static/js/jquery-ui.min.js HTTP/1.1" 404 100 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:49 +0100] "GET /login?next=/admin/jsi18n/ HTTP/1.1" 200 9124 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:49 +0100] "GET /static/js/bootstrap.min.js HTTP/1.1" 404 100 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:49 +0100] "GET /static/js/tether.min.js HTTP/1.1" 404 97 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:49 +0100] "GET /static/js/d3.min.js HTTP/1.1" 404 93 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:50 +0100] "GET /static/js/cal-heatmap.min.js HTTP/1.1" 404 102 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:50 +0100] "GET /static/js/Chart.bundle.min.js HTTP/1.1" 404 103 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:50 +0100] "GET /static/js/jquery.dataTables.min.js HTTP/1.1" 404 108 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:50 +0100] "GET /static/css/jquery.dataTables.min.css HTTP/1.1" 404 110 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:50 +0100] "GET /static/css/datetimepicker.css HTTP/1.1" 404 103 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:50 +0100] "GET /static/js/bootstrap-datetimepicker.js HTTP/1.1" 404 111 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:50 +0100] "GET /static/js/typeahead/typeahead.bundle.min.js HTTP/1.1" 404 117 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:51 +0100] "GET /static/js/fontawesome-all.min.js HTTP/1.1" 404 106 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:51 +0100] "GET /static/js/bootstrap-tagsinput.min.js HTTP/1.1" 404 110 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:51 +0100] "GET /static/css/bootstrap-tagsinput.css HTTP/1.1" 404 108 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:51 +0100] "GET /static/admin/js/core.js HTTP/1.1" 404 97 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:51 +0100] "GET /static/admin/js/vendor/jquery/jquery.js HTTP/1.1" 404 113 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:51 +0100] "GET /static/admin/js/jquery.init.js HTTP/1.1" 404 104 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:51 +0100] "GET /static/admin/js/admin/RelatedObjectLookups.js HTTP/1.1" 404 119 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:51 +0100] "GET /static/admin/js/actions.js HTTP/1.1" 404 100 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:52 +0100] "GET /static/admin/js/urlify.js HTTP/1.1" 404 99 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:52 +0100] "GET /static/admin/js/prepopulate.js HTTP/1.1" 404 104 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:52 +0100] "GET /static/admin/js/vendor/xregexp/xregexp.js HTTP/1.1" 404 115 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:52 +0100] "GET /static/admin/js/calendar.js HTTP/1.1" 404 101 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:52 +0100] "GET /static/admin/js/admin/DateTimeShortcuts.js HTTP/1.1" 404 116 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
127.0.0.1 - - [06/Dec/2018:00:28:53 +0100] "GET /static/favicon.ico HTTP/1.1" 404 92 "http://127.0.0.1:8000/login?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36"
So almost all giving 404 and I have done the static files collecting correctly.
Please can you help?
Thank you very much.
Im getting error when i run docker-compose build --force-rm
command.
root@patrowl:/bb# git clone https://github.com/Patrowl/PatrowlManager.git/bb# cd PatrowlManager
Cloning into 'PatrowlManager'...
remote: Enumerating objects: 294, done.
remote: Counting objects: 100% (294/294), done.
remote: Compressing objects: 100% (177/177), done.
remote: Total 692 (delta 169), reused 203 (delta 116), pack-reused 398
Receiving objects: 100% (692/692), 1.20 MiB | 1.96 MiB/s, done.
Resolving deltas: 100% (349/349), done.
root@patrowl:
root@patrowl:/bb/PatrowlManager#/bb/PatrowlManager# docker-compose build --force-rm
root@patrowl:
ERROR: Version in "./docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the services
key, or omit the version
key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/
root@patrowl:~/bb/PatrowlManager#
Hi, cool project you have made, it looks really useful!
I am trying to follow the docs on how to add a new scan-engine, but it always fails. Any pointers on what might be wrong?
Details:
This is one of the many configurations I have tried:
When I visit http://localhost:5101/engines/nmap/
I get a simple json object {page: "index"}
. So the URL in the config must be correct?
Hello,
I'm install PatrOwl on Ubuntu:
| Ubuntu Version | 20.04 |
| Python Version | 3.8 |
I'm getting an error on installing the requirements:
Requirement already satisfied: setuptools>=3.0 in ./env3/lib/python3.8/site-packages (from gunicorn==20.0.4->-r requirements.txt (line 24)) (56.0.0)
Building wheels for collected packages: psycopg2-binary
Building wheel for psycopg2-binary (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/krehan/PatrowlManager/env3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0xfgj_zy/psycopg2-binary_a90dbb947c954168bb4ca70555a95c68/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0xfgj_zy/psycopg2-binary_a90dbb947c954168bb4ca70555a95c68/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-cdw9bs_j
cwd: /tmp/pip-install-0xfgj_zy/psycopg2-binary_a90dbb947c954168bb4ca70555a95c68/
Complete output (72 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/psycopg2
copying lib/tz.py -> build/lib.linux-x86_64-3.8/psycopg2
copying lib/_json.py -> build/lib.linux-x86_64-3.8/psycopg2
copying lib/errorcodes.py -> build/lib.linux-x86_64-3.8/psycopg2
copying lib/__init__.py -> build/lib.linux-x86_64-3.8/psycopg2
copying lib/psycopg1.py -> build/lib.linux-x86_64-3.8/psycopg2
copying lib/extensions.py -> build/lib.linux-x86_64-3.8/psycopg2
copying lib/_ipaddress.py -> build/lib.linux-x86_64-3.8/psycopg2
copying lib/sql.py -> build/lib.linux-x86_64-3.8/psycopg2
copying lib/extras.py -> build/lib.linux-x86_64-3.8/psycopg2
copying lib/_range.py -> build/lib.linux-x86_64-3.8/psycopg2
copying lib/pool.py -> build/lib.linux-x86_64-3.8/psycopg2
creating build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_async_keyword.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_transaction.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_types_basic.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_ipaddress.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_types_extras.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/dbapi20_tpc.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_lobject.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_psycopg2_dbapi20.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/__init__.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_errcodes.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_bugX000.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_sql.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_replication.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_async.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_with.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_dates.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_extras_dictcursor.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_copy.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/dbapi20.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_bug_gc.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_cursor.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/testconfig.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_connection.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/testutils.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_quote.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_cancel.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_module.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_green.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_notify.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_fast_executemany.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
Skipping optional fixer: buffer
Skipping optional fixer: idioms
Skipping optional fixer: set_literal
Skipping optional fixer: ws_comma
running build_ext
building 'psycopg2._psycopg' extension
creating build/temp.linux-x86_64-3.8
creating build/temp.linux-x86_64-3.8/psycopg
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION=2.7.5 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=130002 -DHAVE_LO64=1 -I/home/krehan/PatrowlManager/env3/include -I/usr/include/python3.8 -I. -I/usr/include/postgresql -I/usr/include/postgresql/13/server -c psycopg/psycopgmodule.c -o build/temp.linux-x86_64-3.8/psycopg/psycopgmodule.o -Wdeclaration-after-statement
psycopg/psycopgmodule.c: In function ‘psyco_is_main_interp’:
psycopg/psycopgmodule.c:689:18: error: dereferencing pointer to incomplete type ‘PyInterpreterState’ {aka ‘struct _is’}
689 | while (interp->next)
| ^~
It appears you are missing some prerequisite to build the package from source.
You may install a binary package by installing 'psycopg2-binary' from PyPI.
If you want to install psycopg2 from source, please install the packages
required for the build and try again.
For further information please check the 'doc/src/install.rst' file (also at
<http://initd.org/psycopg/docs/install.html>).
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for psycopg2-binary
Running setup.py clean for psycopg2-binary
Failed to build psycopg2-binary
Installing collected packages: psycopg2-binary, psutil, netaddr, meld3, libmagic, jsonfield, gunicorn, futures, flower, djangorestframework-simplejwt, django-rest-swagger, django-reset-migrations, django-organizations, django-health-check, django-filter, django-extensions, django-debug-toolbar, django-dbconn-retry, django-datetime-widget, django-cursor-pagination, django-cors-headers, django-celery-results, django-celery-beat, django-annoying, backports-abc
Running setup.py install for psycopg2-binary ... error
ERROR: Command errored out with exit status 1:
command: /home/krehan/PatrowlManager/env3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0xfgj_zy/psycopg2-binary_a90dbb947c954168bb4ca70555a95c68/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0xfgj_zy/psycopg2-binary_a90dbb947c954168bb4ca70555a95c68/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-8bu3vpl3/install-record.txt --single-version-externally-managed --compile --install-headers /home/krehan/PatrowlManager/env3/include/site/python3.8/psycopg2-binary
cwd: /tmp/pip-install-0xfgj_zy/psycopg2-binary_a90dbb947c954168bb4ca70555a95c68/
Complete output (72 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/psycopg2
copying lib/tz.py -> build/lib.linux-x86_64-3.8/psycopg2
copying lib/_json.py -> build/lib.linux-x86_64-3.8/psycopg2
copying lib/errorcodes.py -> build/lib.linux-x86_64-3.8/psycopg2
copying lib/__init__.py -> build/lib.linux-x86_64-3.8/psycopg2
copying lib/psycopg1.py -> build/lib.linux-x86_64-3.8/psycopg2
copying lib/extensions.py -> build/lib.linux-x86_64-3.8/psycopg2
copying lib/_ipaddress.py -> build/lib.linux-x86_64-3.8/psycopg2
copying lib/sql.py -> build/lib.linux-x86_64-3.8/psycopg2
copying lib/extras.py -> build/lib.linux-x86_64-3.8/psycopg2
copying lib/_range.py -> build/lib.linux-x86_64-3.8/psycopg2
copying lib/pool.py -> build/lib.linux-x86_64-3.8/psycopg2
creating build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_async_keyword.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_transaction.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_types_basic.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_ipaddress.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_types_extras.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/dbapi20_tpc.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_lobject.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_psycopg2_dbapi20.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/__init__.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_errcodes.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_bugX000.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_sql.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_replication.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_async.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_with.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_dates.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_extras_dictcursor.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_copy.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/dbapi20.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_bug_gc.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_cursor.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/testconfig.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_connection.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/testutils.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_quote.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_cancel.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_module.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_green.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_notify.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
copying tests/test_fast_executemany.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
Skipping optional fixer: buffer
Skipping optional fixer: idioms
Skipping optional fixer: set_literal
Skipping optional fixer: ws_comma
running build_ext
building 'psycopg2._psycopg' extension
creating build/temp.linux-x86_64-3.8
creating build/temp.linux-x86_64-3.8/psycopg
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION=2.7.5 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=130002 -DHAVE_LO64=1 -I/home/krehan/PatrowlManager/env3/include -I/usr/include/python3.8 -I. -I/usr/include/postgresql -I/usr/include/postgresql/13/server -c psycopg/psycopgmodule.c -o build/temp.linux-x86_64-3.8/psycopg/psycopgmodule.o -Wdeclaration-after-statement
psycopg/psycopgmodule.c: In function ‘psyco_is_main_interp’:
psycopg/psycopgmodule.c:689:18: error: dereferencing pointer to incomplete type ‘PyInterpreterState’ {aka ‘struct _is’}
689 | while (interp->next)
| ^~
It appears you are missing some prerequisite to build the package from source.
You may install a binary package by installing 'psycopg2-binary' from PyPI.
If you want to install psycopg2 from source, please install the packages
required for the build and try again.
For further information please check the 'doc/src/install.rst' file (also at
<http://initd.org/psycopg/docs/install.html>).
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /home/krehan/PatrowlManager/env3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0xfgj_zy/psycopg2-binary_a90dbb947c954168bb4ca70555a95c68/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0xfgj_zy/psycopg2-binary_a90dbb947c954168bb4ca70555a95c68/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-8bu3vpl3/install-record.txt --single-version-externally-managed --compile --install-headers /home/krehan/PatrowlManager/env3/include/site/python3.8/psycopg2-binary Check the logs for full command output.
@MaKyOtOx , Where to look?
Regrds,
Khalid
Hello, some errors:
replace docker-compose -f docker-compose.with-engines.sh up
by
docker-compose -f docker-compose.with-engines.yml up
Add in nginx configurations files (in the case of use of proxy, if not you cannot import file above 5mo)
client_max_body_size 0;
Thank!
Hello,
When trying to run the docker published on docker hub I keep getting this error several times during the boot
File "/opt/patrowl-manager/env/lib/python2.7/site-packages/psycopg2/__init__.py", line 130, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
django.db.utils.OperationalError: could not connect to server: Connection refused
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?
but in the end I got
[+] Start Supervisord (Celery workers) [+] Starting server [2018-12-11 14:42:45 +0000] [54] [INFO] Starting gunicorn 19.9.0 [2018-12-11 14:42:45 +0000] [54] [INFO] Listening at: http://0.0.0.0:8003 (54) [2018-12-11 14:42:45 +0000] [54] [INFO] Using worker: sync [2018-12-11 14:42:45 +0000] [58] [INFO] Booting worker with pid: 58
when trying to log to @ip:8003 I got a 500 error
As I understood the docker is still under developpement ? SO is this problem known or am I doign something wrong ?
Thx
i run server and Css files didn't work correctly
Hello,
you have an issue with the Django init (python manage.py createsuperuser) and the same bug in the Docker part.
The init if the profil user is HS and you cannot logon...
last version.
Hi there,
I can't find the REST endpoint for creating an asset via API.
The closest I could find is this definition
/assets/api/v1/delete:
post:
tags:
- assets
responses:
'201':
description: Created
operationId: assets_api_v1_delete_create
I am not sure about how to interpret it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.