AbuseIO / AbuseIO

AbuseIO is a toolkit to receive, process, correlate and notify about abuse reports received by network operators, typically hosting and access providers.
212 stars 66 forks source link

AbuseIO 4.3 install #362

Open pettai opened 3 years ago

pettai commented 3 years ago

Hi,

I just tried installing AbuseIO v4.3.0 on Ubuntu 20.04. It bails out during the installation/initiation process with the following message:

> php artisan queue:restart
Broadcasting queue restart signal.
> php -r "copy('.env.example', '.env');"
> php artisan key:generate
Application key set successfully.
> php artisan app:id

   ReflectionException  : Method AbuseIO\Console\Commands\App\InstallationID::handle() does not exist

  at /home/abuseio/abuseio/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:142
    138|             $callback = explode('::', $callback);
    139|         }
    140|
    141|         return is_array($callback)
  > 142|                         ? new ReflectionMethod($callback[0], $callback[1])
    143|                         : new ReflectionFunction($callback);
    144|     }
    145|
    146|     /**

  Exception trace:

  1   ReflectionMethod::__construct()
      /home/abuseio/abuseio/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:142

  2   Illuminate\Container\BoundMethod::getCallReflector()
      /home/abuseio/abuseio/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:120

  Please use the argument -v to see more details.
Script php artisan app:id handling the post-create-project-cmd event returned with error code 1
crockk commented 3 years ago

I fixed this error by editing this file and changing the function definition from dispatch to handle. Not sure what else to contribute, don't know much about PHP or the source code, but this got me past the error.