Partage
  • Partager sur Facebook
  • Partager sur Twitter

Could not launch gophish when using mysql database

    19 avril 2021 à 10:01:07

    I installed gophish version 0.7.1 on Ubuntu 20.04 . When using mysqlite3, the application ran well.

    I changed to mysql database. But I had the following error

    ime="2021-04-16T05:42:25-07:00" level=warning msg="No contact address has been configured." time="2021-04-16T05:42:25-07:00" level=warning msg="Please consider adding a contact_address entry in your config.json" time="2021-04-16T05:42:25-07:00" level=error msg="no valid version found" time="2021-04-16T05:42:25-07:00" level=fatal msg="no valid version found"


    The config.json file that I used is the following

    { "admin_server": { "listen_url": "@IP:3333", "use_tls": true, "cert_path": "gophish_admin.crt", "key_path": "gophish_admin.key" }, "phish_server": { "listen_url": "@IP:80", "use_tls": false, "cert_path": "example.crt", "key_path": "example.key" }, "db_name": "gophish", "db_path": "****:****@(0.0.0.0:3306)/gophish?charset=utf8&parseTime=True&loc=UTC", "migrations_prefix": "db/db_", "contact_address": "" }

    Are there any data or configuration that i should migrate from old database?

    Thanks for your help

    -
    Edité par MohamedKhalilHannachi 19 avril 2021 à 10:12:17

    • Partager sur Facebook
    • Partager sur Twitter
      19 avril 2021 à 10:29:49

      Bonjour,

      This is a french speaking community. I move your topic to the english speaking section of the forum.

      Déplacement vers un forum plus approprié

      Le sujet est déplacé de la section Base de données vers la section Let's talk!

      • Partager sur Facebook
      • Partager sur Twitter
      Seul on va plus vite, ensemble on va plus loin ... A maîtriser : Conception BDD, MySQL, PHP/MySQL

      Could not launch gophish when using mysql database

      × Après avoir cliqué sur "Répondre" vous serez invité à vous connecter pour que votre message soit publié.
      × Attention, ce sujet est très ancien. Le déterrer n'est pas forcément approprié. Nous te conseillons de créer un nouveau sujet pour poser ta question.
      • Editeur
      • Markdown