ltw-gcr-csoc / csoc-installation-scripts Goto Github PK
View Code? Open in Web Editor NEWGCR - Cybersecurity Operations Center Project
License: GNU General Public License v3.0
GCR - Cybersecurity Operations Center Project
License: GNU General Public License v3.0
running:
./dionaeainstall.sh
Error Produced
Processing triggers for libc-bin (2.23-0ubuntu5) ...
sudo: git: command not found
./dionaeainstall.sh: 49: cd: can't cd to /opt/dionaea
autoreconf: 'configure.ac' or 'configure.in' is required
sudo: ./configure: command not found
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.
chown: cannot access '/opt/dionaea/': No such file or directory
./dionaeainstall.sh: 69: ./dionaeainstall.sh: cannot create /home/gcrtech/csoc-installation-scripts-master//SETUP-RUN.TXT: Directory nonexistent
./dionaeainstall.sh: 73: ./dionaeainstall.sh: /opt/dionaea/bin/dionaea: not found
cat: /opt/dionaea/var/dionaea.pid: No such file or directory
./dionaeainstall.sh: 100: ./dionaeainstall.sh: cannot create /home/gcrtech/csoc-installation-scripts-master//SETUP-RUN.TXT: Directory nonexistent
./dionaeainstall.sh: 101: ./dionaeainstall.sh: cannot create /home/gcrtech/csoc-installation-scripts-master//SETUP-RUN.TXT: Directory nonexistent
./dionaeainstall.sh: 103: ./dionaeainstall.sh: cannot create /home/gcrtech/csoc-installation-scripts-master//SETUP-RUN.TXT: Directory nonexistent
./dionaeainstall.sh: 111: ./dionaeainstall.sh: cannot create /home/gcrtech/csoc-installation-scripts-master//SETUP-RUN.TXT: Directory nonexistent
mv: cannot stat '/home/gcrtech/csoc-installation-scripts-master//dionaea': No such file or directory
chmod: cannot access '/etc/init.d/dionaea': No such file or directory
chown: cannot access '/etc/init.d/dionaea': No such file or directory
update-rc.d: error: initscript does not exist: /etc/init.d/dionaea
sudo: /etc/init.d/dionaea: command not found
./dionaeainstall.sh: 117: ./dionaeainstall.sh: cannot create /home/gcrtech/csoc-installation-scripts-master//SETUP-RUN.TXT: Directory nonexistent
script to verify all components are installed and correct version
The following errors were throw.
However, Dionaea was able to install and run.
Ign:15 http://ppa.launchpad.net/adiscon/v7-stable/ubuntu xenial/main Translation-en_GB
Err:11 http://ppa.launchpad.net/adiscon/v7-stable/ubuntu xenial/main armhf Packages
404 Not Found
Ign:12 http://ppa.launchpad.net/adiscon/v7-stable/ubuntu xenial/main all Packages
Ign:13 http://ppa.launchpad.net/adiscon/v7-stable/ubuntu xenial/main Translation-en_CA
Ign:14 http://ppa.launchpad.net/adiscon/v7-stable/ubuntu xenial/main Translation-en
.
.
W: The repository 'http://ppa.launchpad.net/adiscon/v7-stable/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/adiscon/v7-stable/ubuntu/dists/xenial/main/binary-armhf/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
apt-clone archdetect-deb dpkg-repack gir1.2-json-1.0 gir1.2-timezonemap-1.0
gir1.2-xkl-1.0 grub-common libdebian-installer4 libparted-fs-resize0
libtimezonemap-data libtimezonemap1 os-prober python3-icu python3-pam rdate
snap-confine
Use 'sudo apt autoremove' to remove them.
.
.
.
.
W: The repository 'http://ppa.launchpad.net/adiscon/v7-stable/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/adiscon/v7-stable/ubuntu/dists/xenial/main/binary-armhf/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
honeypots.sh: line 42: echo/SETUP-RUN.TXT: No such file or directory
.
.
Full Name []: confide...
Other []:
.
.
.
usermod: user 'corwie' does not exist
sudo: echo/cowrieinstall.sh: command not found
honeypots.sh: line 52: echo/SETUP-RUN.TXT: No such file or directory
honeypots.sh: line 59: echo/SETUP-RUN.TXT: No such file or directory
sudo: echo/cowrielogviewerinstall.sh: command not found
honeypots.sh: line 61: echo/SETUP-RUN.TXT: No such file or directory
After forked, update script to pull from GCR fork
Integrate in cowrie setup code to github
ensure UFW is setup in script is appropriately to match services supported
running custom honeypots.sh
SCRIPTSDIR=$HOME/csoc-installation-scripts-master/
INSTALL_REFRESH="yes"
INSTALL_CLEANUP="no"
INSTALL_DIONAEA="yes" # yes or no.
INSTALL_DIONAEALOGVIEWER="no"
#INSTALL_COWRIE="s"
INSTALL_COWRIE="no"
#INSTALL_COWRIELOGVIEWER="yes"
INSTALL_COWRIELOGVIEWER="no"
INSTALL_OSSEC="no"
INSTALL_OPENVAS="no"
INSTALL_AWSIOT="no"
INSTALL_MENDER="no"
INSTALL_RP="no"
ERROR THROWN
Setting up desktop-file-utils (0.22-1ubuntu5.1) ...
Configuration file '/etc/gnome/defaults.list'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
update these instructions and add as project doc - http://www.makeuseof.com/tag/emulate-raspberry-pi-pc/
create img file with large space (32G) for testing
Check with Ahmed -
cd /etc/logrotate.d/
$ cat > dionaea << EOF
/opt/dionaea/var/log/dionaea*.log {
notifempty
missingok
rotate 28
daily
delaycompress
compress
create 660 root root
dateext
postrotate
kill -HUP `cat /opt/dionaea/var/run/dionaea.pid`
endscript
}
EOF
//etc/logrotate.d/dionaea/
TERMS.md
included?CHANGELOG.md
present and does it contain structured, consistently formatted recent history?CONTRIBUTING.md
)?README
and tested on a clean machine?README
, requirements.txt
, and/or buildout.cfg
?README
, if applicable?Have device send a heartbeat to show it's working.
INSTALL_REFRESH="yes"
INSTALL_CLEANUP="no"
INSTALL_DIONAEA="yes" # yes or no.
INSTALL_DIONAEALOGVIEWER="no"
INSTALL_COWRIE="no"
INSTALL_COWRIELOGVIEWER="no"
suggestion for startup procedure:
sudo python3 /opt/dionaea/GCRdionaeaAlerts.py > /dev/null &
sudo /opt/dionaea/bin/dionaea > /dev/null &
Also suggesting adding the above for bootup procedure.
atm the rsyslog conf files are not added to the honeypot.
See the files in this path:
https://github.com/LTW-GCR-CSOC/csoc-installation-scripts/tree/master/SampleLogFiles/configForHP-notEnc
allow command line for targeting or auto detection
Fork Dionaea and Change script to pull from GCR fork
CLI to specify which version is to be configured, e.g.
canary-N-testing (add VNC cowrie log viewer, dionaea log viewer, etc)
canary-N-deploy (turn off all services that are not part of the production deployment, lockdown ports, remove all testing accounts/defaults, assign hostname according to operations process)
where "N" is a number which specifies what services and configuration is to be used - details on configuration to come after Ahmed and I talk
After running on Ubuntu Mate instance:
https://github.com/LTW-GCR-CSOC/canary-installation-scripts/blob/master/honeypots.sh
I get this error when I run dionaea:
brian@brian-mate:~$ /opt/dionaea/bin/dionaea
Dionaea Version 0.6.0
Compiled on Linux/x86_64 at Sep 12 2017 10:30:46 with gcc 6.3.0 20170406
Started on brian-mate running Linux/x86_64 release 4.10.0-19-generic
[12092017 10:47:24] log log.c:256: Could not open logfile /opt/dionaea/var/dionaea/dionaea.log (Permission denied)
[12092017 10:47:24] log log.c:256: Could not open logfile /opt/dionaea/var/dionaea/dionaea-errors.log (Permission denied)
[12092017 10:47:24] nfq nfq.c:116: error during nfq_unbind_pf() family 2
[12092017 10:47:24] pcap pcap.c:237: Could not open raw listener on device any 'any: You don't have permission to capture on that device (socket: Operation not permitted)'
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:218: Could not bind 127.0.0.1:21 (Permission denied)
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:218: Could not bind 127.0.0.1:445 (Permission denied)
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:218: Could not bind 127.0.0.1:23 (Permission denied)
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:238: Could not bind 127.0.0.1:53 (Permission denied)
[12092017 10:47:24] connection connection.c:304: Could not bind 127.0.0.1:53 (Permission denied)
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:218: Could not bind 127.0.0.1:53 (Permission denied)
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:238: Could not bind 127.0.0.1:123 (Permission denied)
[12092017 10:47:24] connection connection.c:304: Could not bind 127.0.0.1:123 (Permission denied)
[12092017 10:47:24] services dionaea/services.py:68: Unable to start service
Traceback (most recent call last):
File "/opt/dionaea/lib/dionaea/python/dionaea/services.py", line 66, in start
daemons = service.start(addr, iface=iface, config=srv.get("config", {}))
File "/opt/dionaea/lib/dionaea/python/dionaea/sip/init.py", line 89, in start
daemon = SipSession(proto=proto, config=config)
File "/opt/dionaea/lib/dionaea/python/dionaea/sip/init.py", line 574, in init
self.config = SipConfig(config=config)
File "/opt/dionaea/lib/dionaea/python/dionaea/sip/extras.py", line 82, in init
self._conn = sqlite3.connect(self.users)
sqlite3.OperationalError: unable to open database file
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:218: Could not bind 127.0.0.1:135 (Permission denied)
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:218: Could not bind 127.0.0.1:80 (Permission denied)
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:218: Could not bind 127.0.0.1:443 (Permission denied)
[12092017 10:47:24] pptp dionaea/pptp/pptp.py:73: No config provided. Using default values
[12092017 10:47:24] mongo dionaea/mongo/mongo.py:48: Unable to load 'bson' module. Some functions might be very limited.
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:218: Could not bind 127.0.0.1:42 (Permission denied)
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:238: Could not bind 127.0.0.1:69 (Permission denied)
[12092017 10:47:24] connection connection.c:304: Could not bind 127.0.0.1:69 (Permission denied)
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:218: Could not bind ::1:21 (Permission denied)
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:218: Could not bind ::1:445 (Permission denied)
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:218: Could not bind ::1:23 (Permission denied)
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:238: Could not bind ::1:53 (Permission denied)
[12092017 10:47:24] connection connection.c:304: Could not bind ::1:53 (Permission denied)
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:218: Could not bind ::1:53 (Permission denied)
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:238: Could not bind ::1:123 (Permission denied)
[12092017 10:47:24] connection connection.c:304: Could not bind ::1:123 (Permission denied)
[12092017 10:47:24] services dionaea/services.py:68: Unable to start service
Traceback (most recent call last):
File "/opt/dionaea/lib/dionaea/python/dionaea/services.py", line 66, in start
daemons = service.start(addr, iface=iface, config=srv.get("config", {}))
File "/opt/dionaea/lib/dionaea/python/dionaea/sip/init.py", line 89, in start
daemon = SipSession(proto=proto, config=config)
File "/opt/dionaea/lib/dionaea/python/dionaea/sip/init.py", line 574, in init
self.config = SipConfig(config=config)
File "/opt/dionaea/lib/dionaea/python/dionaea/sip/extras.py", line 82, in init
self._conn = sqlite3.connect(self.users)
sqlite3.OperationalError: unable to open database file
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:218: Could not bind ::1:135 (Permission denied)
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:218: Could not bind ::1:80 (Permission denied)
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:218: Could not bind ::1:443 (Permission denied)
[12092017 10:47:24] pptp dionaea/pptp/pptp.py:73: No config provided. Using default values
[12092017 10:47:24] mongo dionaea/mongo/mongo.py:48: Unable to load 'bson' module. Some functions might be very limited.
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:218: Could not bind ::1:42 (Permission denied)
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:238: Could not bind ::1:69 (Permission denied)
[12092017 10:47:24] connection connection.c:304: Could not bind ::1:69 (Permission denied)
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:218: Could not bind 172.16.185.189:21 (Permission denied)
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:218: Could not bind 172.16.185.189:445 (Permission denied)
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:218: Could not bind 172.16.185.189:23 (Permission denied)
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:238: Could not bind 172.16.185.189:53 (Permission denied)
[12092017 10:47:24] connection connection.c:304: Could not bind 172.16.185.189:53 (Permission denied)
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:218: Could not bind 172.16.185.189:53 (Permission denied)
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:238: Could not bind 172.16.185.189:123 (Permission denied)
[12092017 10:47:24] connection connection.c:304: Could not bind 172.16.185.189:123 (Permission denied)
[12092017 10:47:24] services dionaea/services.py:68: Unable to start service
Traceback (most recent call last):
File "/opt/dionaea/lib/dionaea/python/dionaea/services.py", line 66, in start
daemons = service.start(addr, iface=iface, config=srv.get("config", {}))
File "/opt/dionaea/lib/dionaea/python/dionaea/sip/init.py", line 89, in start
daemon = SipSession(proto=proto, config=config)
File "/opt/dionaea/lib/dionaea/python/dionaea/sip/init.py", line 574, in init
self.config = SipConfig(config=config)
File "/opt/dionaea/lib/dionaea/python/dionaea/sip/extras.py", line 82, in init
self._conn = sqlite3.connect(self.users)
sqlite3.OperationalError: unable to open database file
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:218: Could not bind 172.16.185.189:135 (Permission denied)
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:218: Could not bind 172.16.185.189:80 (Permission denied)
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:218: Could not bind 172.16.185.189:443 (Permission denied)
[12092017 10:47:24] pptp dionaea/pptp/pptp.py:73: No config provided. Using default values
[12092017 10:47:24] mongo dionaea/mongo/mongo.py:48: Unable to load 'bson' module. Some functions might be very limited.
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:218: Could not bind 172.16.185.189:42 (Permission denied)
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:238: Could not bind 172.16.185.189:69 (Permission denied)
[12092017 10:47:24] connection connection.c:304: Could not bind 172.16.185.189:69 (Permission denied)
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:218: Could not bind fe80::35e0:1bf8:ed09:43a5:21 (Permission denied)
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:218: Could not bind fe80::35e0:1bf8:ed09:43a5:445 (Permission denied)
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:218: Could not bind fe80::35e0:1bf8:ed09:43a5:23 (Permission denied)
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:238: Could not bind fe80::35e0:1bf8:ed09:43a5:53 (Permission denied)
[12092017 10:47:24] connection connection.c:304: Could not bind fe80::35e0:1bf8:ed09:43a5:53 (Permission denied)
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:218: Could not bind fe80::35e0:1bf8:ed09:43a5:53 (Permission denied)
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:238: Could not bind fe80::35e0:1bf8:ed09:43a5:123 (Permission denied)
[12092017 10:47:24] connection connection.c:304: Could not bind fe80::35e0:1bf8:ed09:43a5:123 (Permission denied)
[12092017 10:47:24] services dionaea/services.py:68: Unable to start service
Traceback (most recent call last):
File "/opt/dionaea/lib/dionaea/python/dionaea/services.py", line 66, in start
daemons = service.start(addr, iface=iface, config=srv.get("config", {}))
File "/opt/dionaea/lib/dionaea/python/dionaea/sip/init.py", line 89, in start
daemon = SipSession(proto=proto, config=config)
File "/opt/dionaea/lib/dionaea/python/dionaea/sip/init.py", line 574, in init
self.config = SipConfig(config=config)
File "/opt/dionaea/lib/dionaea/python/dionaea/sip/extras.py", line 82, in init
self._conn = sqlite3.connect(self.users)
sqlite3.OperationalError: unable to open database file
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:218: Could not bind fe80::35e0:1bf8:ed09:43a5:135 (Permission denied)
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:218: Could not bind fe80::35e0:1bf8:ed09:43a5:80 (Permission denied)
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:218: Could not bind fe80::35e0:1bf8:ed09:43a5:443 (Permission denied)
[12092017 10:47:24] pptp dionaea/pptp/pptp.py:73: No config provided. Using default values
[12092017 10:47:24] mongo dionaea/mongo/mongo.py:48: Unable to load 'bson' module. Some functions might be very limited.
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:218: Could not bind fe80::35e0:1bf8:ed09:43a5:42 (Permission denied)
[12092017 10:47:24] pchild pchild.c:213: bind failed (Permission denied)
[12092017 10:47:24] connection connection.c:238: Could not bind fe80::35e0:1bf8:ed09:43a5:69 (Permission denied)
[12092017 10:47:24] connection connection.c:304: Could not bind fe80::35e0:1bf8:ed09:43a5:69 (Permission denied)
[12092017 10:47:24] store dionaea/store.py:48: Not allowed to create files in the '/opt/dionaea/var/dionaea/binaries/' directory
[12092017 10:47:24] python module.c:1035: OperationalError at unable to open database file
[12092017 10:47:24] python module.c:1060: /opt/dionaea/lib/dionaea/python/dionaea/logsql.py:62 in None
[12092017 10:47:24] python module.c:1061: start
[12092017 10:47:24] python module.c:1060: /opt/dionaea/lib/dionaea/python/dionaea/ihandlers.py:77 in None
[12092017 10:47:24] python module.c:1061: start
I run
https://github.com/LTW-GCR-CSOC/canary-installation-scripts/blob/master/dionaeaFR
and get this error:
Unhandled exception in thread started by <function wrapper at 0x7f1217f85848>
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/django/utils/autoreload.py", line 223, in wrapper
fn(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/commands/runserver.py", line 112, in inner_run
self.check_migrations()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/commands/runserver.py", line 164, in check_migrations
executor = MigrationExecutor(connections[DEFAULT_DB_ALIAS])
File "/usr/local/lib/python2.7/dist-packages/django/db/migrations/executor.py", line 19, in init
self.loader = MigrationLoader(self.connection)
File "/usr/local/lib/python2.7/dist-packages/django/db/migrations/loader.py", line 47, in init
self.build_graph()
File "/usr/local/lib/python2.7/dist-packages/django/db/migrations/loader.py", line 180, in build_graph
self.applied_migrations = recorder.applied_migrations()
File "/usr/local/lib/python2.7/dist-packages/django/db/migrations/recorder.py", line 59, in applied_migrations
self.ensure_schema()
File "/usr/local/lib/python2.7/dist-packages/django/db/migrations/recorder.py", line 49, in ensure_schema
if self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor()):
File "/usr/local/lib/python2.7/dist-packages/django/db/backends/base/base.py", line 162, in cursor
cursor = self.make_debug_cursor(self._cursor())
File "/usr/local/lib/python2.7/dist-packages/django/db/backends/base/base.py", line 135, in _cursor
self.ensure_connection()
File "/usr/local/lib/python2.7/dist-packages/django/db/backends/base/base.py", line 130, in ensure_connection
self.connect()
File "/usr/local/lib/python2.7/dist-packages/django/db/utils.py", line 97, in exit
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/usr/local/lib/python2.7/dist-packages/django/db/backends/base/base.py", line 130, in ensure_connection
self.connect()
File "/usr/local/lib/python2.7/dist-packages/django/db/backends/base/base.py", line 119, in connect
self.connection = self.get_new_connection(conn_params)
File "/usr/local/lib/python2.7/dist-packages/django/db/backends/sqlite3/base.py", line 204, in get_new_connection
conn = Database.connect(**conn_params)
django.db.utils.OperationalError: unable to open database file
Fork and have install scripts refer to our copy
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.