Comments (7)
Are you able to reach the web interface via your browser? There is also the manual registration area. Could you try this please. Additionally we need the logs ./embark/logs/* during registration.
Can you also check your installation output regarding errors and post them in here please.
from embark.
Yes the web interface is working fine (well its visible and the login functions appear but the functionality looks to be missing). I have also tried manual user registration through the web interface and received
"Something went wrong when signing up the user." in a banner
Here are logs whilst logging in.
tail -f web.log
django.db.utils.ProgrammingError: (1146, "Table 'embark.users_user' doesn't exist")
2021-11-11 18:59:42 web DEBUG <QueryDict: {'username': ['[email protected]'], 'password': ['password'], 'confirm_password': ['password']}>
2021-11-11 18:59:42 web DEBUG {'username': '[email protected]', 'password': 'password', 'confirm_password': 'password'}
2021-11-11 18:59:42 web DEBUG Passwords match. Creating user
2021-11-11 18:59:42 web ERROR Wide exception in Signup: (1146, "Table 'embark.users_user' doesn't exist")
Traceback (most recent call last):
File "/root/.local/lib/python3.9/site-packages/django/db/backends/utils.py", line 84, in _execute
return self.cursor.execute(sql, params)
File "/root/.local/lib/python3.9/site-packages/django/db/backends/mysql/base.py", line 73, in execute
return self.cursor.execute(query, args)
File "/root/.local/lib/python3.9/site-packages/MySQLdb/cursors.py", line 206, in execute
res = self._query(query)
File "/root/.local/lib/python3.9/site-packages/MySQLdb/cursors.py", line 319, in _query
db.query(q)
File "/root/.local/lib/python3.9/site-packages/MySQLdb/connections.py", line 259, in query
_mysql.connection.query(self, query)
MySQLdb._exceptions.ProgrammingError: (1146, "Table 'embark.users_user' doesn't exist")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/app/embark/./users/views.py", line 69, in signup
user = User.objects.create(username=username)
File "/root/.local/lib/python3.9/site-packages/django/db/models/manager.py", line 85, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/root/.local/lib/python3.9/site-packages/django/db/models/query.py", line 453, in create
obj.save(force_insert=True, using=self.db)
File "/root/.local/lib/python3.9/site-packages/django/contrib/auth/base_user.py", line 67, in save
super().save(*args, **kwargs)
File "/root/.local/lib/python3.9/site-packages/django/db/models/base.py", line 726, in save
self.save_base(using=using, force_insert=force_insert,
File "/root/.local/lib/python3.9/site-packages/django/db/models/base.py", line 763, in save_base
updated = self._save_table(
File "/root/.local/lib/python3.9/site-packages/django/db/models/base.py", line 868, in _save_table
results = self._do_insert(cls._base_manager, using, fields, returning_fields, raw)
File "/root/.local/lib/python3.9/site-packages/django/db/models/base.py", line 906, in _do_insert
return manager._insert(
File "/root/.local/lib/python3.9/site-packages/django/db/models/manager.py", line 85, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/root/.local/lib/python3.9/site-packages/django/db/models/query.py", line 1270, in _insert
return query.get_compiler(using=using).execute_sql(returning_fields)
File "/root/.local/lib/python3.9/site-packages/django/db/models/sql/compiler.py", line 1416, in execute_sql
cursor.execute(sql, params)
File "/root/.local/lib/python3.9/site-packages/django/db/backends/utils.py", line 98, in execute
return super().execute(sql, params)
File "/root/.local/lib/python3.9/site-packages/django/db/backends/utils.py", line 66, in execute
return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
File "/root/.local/lib/python3.9/site-packages/django/db/backends/utils.py", line 75, in _execute_with_wrappers
return executor(sql, params, many, context)
File "/root/.local/lib/python3.9/site-packages/django/db/backends/utils.py", line 84, in _execute
return self.cursor.execute(sql, params)
File "/root/.local/lib/python3.9/site-packages/django/db/utils.py", line 90, in __exit__
raise dj_exc_value.with_traceback(traceback) from exc_value
File "/root/.local/lib/python3.9/site-packages/django/db/backends/utils.py", line 84, in _execute
return self.cursor.execute(sql, params)
File "/root/.local/lib/python3.9/site-packages/django/db/backends/mysql/base.py", line 73, in execute
return self.cursor.execute(query, args)
File "/root/.local/lib/python3.9/site-packages/MySQLdb/cursors.py", line 206, in execute
res = self._query(query)
File "/root/.local/lib/python3.9/site-packages/MySQLdb/cursors.py", line 319, in _query
db.query(q)
File "/root/.local/lib/python3.9/site-packages/MySQLdb/connections.py", line 259, in query
_mysql.connection.query(self, query)
django.db.utils.ProgrammingError: (1146, "Table 'embark.users_user' doesn't exist")
$sudo tail -f uwsgi.log
[pid: 38|app: 0|req: 92/168] 10.64.29.150 () {48 vars in 1075 bytes} [Thu Nov 11 19:04:45 2021] POST /signup => generated 4869 bytes in 10 msecs (HTTP/1.1 200) 5 headers in 167 bytes (1 switches on core 7)
All other logs in /opt/embark/embark/logs do not have any additional info when logging in.
I have checked all the containers are running ok with portainer. They are
Can you also check your installation output regarding errors and post them in here please.
I don't know where to find those. Apologies
from embark.
Something went wrong during installation and/or migration:
django.db.utils.ProgrammingError: (1146, "Table 'embark.users_user' doesn't exist")
You can try to restart EMBArk with: docker-compose restart embark
With this the migration process should also be executed and hopefully your database is generated.
Currently there are no installation logs in a file, only on the terminal. If restarting the docker environment does not help I suggest to do a full reinstall (./installer.sh -r) and check the output on your terminal for errors. Especially if there are issues with disk space during building of the environment. Currently we need a lot of disk space.
from embark.
docker-compose restart embark_embark_1
This worked ^
I can now register users and login to the application.
FYI I installed this on the latest KALI and the latest ParrotOS and it failed on both.
The version I have working now is on the latest Parrot.
I'm guessing the containers booted in the wrong order?
I do actually have the installation still running in a screen. ill output the terminal session to a txt
from embark.
Great that it is now working!
Today I had also some issues with the newest Kali Linux and some installations around EMBA. After finishing the work on EMBA I will do a full rebuild this weekend to get a better overview of this issue on EMBArk.
from embark.
With the latest updates from the EMBA installer it should install without issues.
Thanks for using EMBArk.
from embark.
I ran the installer with the latest changes and now it works perfectly.
from embark.
Related Issues (20)
- Can't connect to MySQL server HOT 3
- Question regarding disk space, startup shell, and server configuration HOT 3
- Installation does not work HOT 19
- WebSocket connection to 'ws://[my_ip]:8001/ws/progress/' failed HOT 5
- Missing dependency - file HOT 1
- Missing Dependency - iputils-ping
- Black Screen Issue When Scanning 300M Cabin Package in Docker
- File Format and Link Concatenation Issues in Embark Redirection Links HOT 3
- Time&Date and Order question HOT 22
- Not possible to install embark due to a dependency issue with unblob. HOT 7
- dashboard 302 HOT 9
- Package dependency HOT 1
- CVE-search won't start HOT 4
- upload function is abnormal HOT 36
- Automatically guessing the base address of a firmware image HOT 3
- NVD list is running on the screen HOT 4
- Installation failed HOT 20
- EMBARK Release Version 0.1 Installation Problem HOT 5
- installer.sh script currently only supports git repositories
- s109 drops 500 in report HOT 12
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 embark.