spender-sandbox / cuckoo-modified

Modified edition of cuckoo
394 stars 178 forks source link

"ERROR :-( Error adding task to Cuckoo's database." #36

Closed hemzaz closed 8 years ago

hemzaz commented 8 years ago

Hi! I am using latest cuckoo-modified from spender-sandbox. I have here A new cuckoo installation with vbox and all the dependencies. For some reason i get the following error when i try to submit samples on the web dashboard via /submit/ page. the issue occurs when trying to submit sample for analysis quarantine file or trying to analyse some URLs. i added some screenshots to demonstrate the issue. --elad

cuckoo1 cuckoo2

spender-sandbox commented 8 years ago

There should be some error printed in the console you started cuckoo.py from. Probably you need to upgrade the database schema.

-Brad

KillerInstinct commented 8 years ago

The error may also be a traceback in manage.py, depending on how you setup your web interface.

hemzaz commented 8 years ago

Hi all! and lots of thanks!

@spender-sandbox as far as i can see there are no errors on the cuckoo.py console, i also started cuckoo with -d flag to activate debug mode. and how do i upgrade the db schema?

@KillerInstinct can you elaborate on it? as i started to dig into views.py without any success

so much thanks for the help! --elad

KillerInstinct commented 8 years ago

Run django using ./manage.py runserver 0.0.0.0:8080 and submit it to that webserver. It should pop up with an error on the console that the wevserver is running on.

hemzaz commented 8 years ago

Hi @KillerInstinct currently i run cuckoo.py on port 8080 and manage.py on port 8000 --elad

KillerInstinct commented 8 years ago

Port doesn't really matter in this case, just have your manage.py console open and submit a task. Then see what the error is from manage.py -- thats where it should pop up.

hemzaz commented 8 years ago

Hi All! The issue solved, as it seems the culprit was sqlite3 i switched to mysql and whoaa it works. great thanks for the help with this issue you helped me allot with narrowing down the reasons for the symptom. --elad