X
NMS Prime
Stay informed. No spam. Just content. This is our promise.
I agree to the privacy terms. I can unsubscribe at any time.
X
Thank You!
X
NMS PRIME - Konferenz
Anzahl der Teilnehmer:
Datenschutz gelesen und akzeptiert
X
Vielen Dank!
X Sign up to comment and create new topics

After fresh install and login in the page redirects to whoopos something went wrong.  2.5.4-1 is version installed

I was able to get debugging turned on by following another users post and the error that is sown is the following: 

InvalidArgumentException

Route[Dashboard.index] not defined. 

Https://localhost:8080/nmsprime/admin/login

 ------


Inside the stack trace it shows this   "vendor/laravel/framework/src/Illuminate/Routing/UrlGenerator.php:305"



Any idea what i did wrong to cause this?  


Thanks


Most Popular Post
There are no posts marked as being answered (liked) on this topic yet!!

11 Comments

  1. Do you have nmsprime-dashboard package installed?

    In version 2.5.4 there are still some dependency issues. We therefore recommend to install all modules.

  2. Vic

    I was able to get this installed and now there is another error. that states


    symfony\component\debug\exception\fatalthrowableError

    Call to a member fucntion where () on null . 


    Should i be installing option 2 that was outlined? 

  3. I don't exactly know what option you mean. I meant

    yum install nmsprime-*

    Or even better just follow the instructions of Installation with RPM to install new version 3.0.0 if you are fine with provisioning functionality. But monitoring is not open source anymore from 3.0.0 - news - open core.

  4. Vic

    I was able to get is up and running by having all the basic modules installed. 

  5. Vic

    I will take a look at 3.0.0. Thank you guys

  6. Vic

    After I activated all the modules we are now seeing a new error. 

    InvalidArgumentException

    Action Facade\Ignition\HTTP\Controllers\ExecuteSolutionsController not defined. 

    in UrlGenerator.php line 338



  7. I've actually never seen this error before. I recommend starting from scratch.

    What does

    Show modules
    cd /var/www/nmsprime
    php artisan module:list

    show?

    You can also try to execute the following commands

    After install scripts
    rm -rf /var/www/nmsprime/bootstrap/cache/*
    /opt/rh/rh-php73/root/usr/bin/php artisan module:v6:migrate
    /opt/rh/rh-php73/root/usr/bin/php artisan config:cache
    /opt/rh/rh-php73/root/usr/bin/php artisan module:publish
    /opt/rh/rh-php73/root/usr/bin/php artisan module:migrate
    pkill -f "artisan queue:work"
    /opt/rh/rh-php73/root/usr/bin/php artisan bouncer:clean
    /opt/rh/rh-php73/root/usr/bin/php artisan auth:nms
    /opt/rh/rh-php73/root/usr/bin/php artisan route:cache
    /opt/rh/rh-php73/root/usr/bin/php artisan view:clear
    
    

    but i doubt that it will fix it.

  8. I have make a fresh install on centos7 with gnome

    after install old 2.5.4  the mysql database would not be ok becaus whe i login and i would be change the passwort i got an error 


    can you send me a empty backupfile from the mysql 2.5.4 that ican use and compare what is the differnt

  9. Here is an empty mysql 2.5.4 dump: nmsprime-empty.sql

  10. hi,
    thanks for the empte database i have tried but after this i was not able to login - if the nmsprime database nmsprime and nmsprime_ccc is this correct ? the php module migrite give no erreros back now

    i have senn in log maybe this errror problem can help

    [2021\-04\-13 00:19:21] local.ERROR: There are no commands defined in the "/var/www/nmsprime/config" namespace. {"exception":"[object] (Symfony\\Component\\Console\\Exception
    CommandNotFoundException(code: 0): There are no commands defined in the \"/var/www/nmsprime/config\" namespace. at /var/www/nmsprime/vendor/symfony/console/Application.php:574)
    [stacktrace]
    #0 /var/www/nmsprime/vendor/symfony/console/Application.php(627): Symfony\\Component\\Console
    Application->findNamespace('/var/www/nmspri...')
    #1 /var/www/nmsprime/vendor/symfony/console/Application.php(236): Symfony\\Component\\Console
    Application->find('/var/www/nmspri...')
    #2 /var/www/nmsprime/vendor/symfony/console/Application.php(148): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input
    ArgvInput), Object(Symfony\\Component\\Console\\Output
    ConsoleOutput))
    #3 /var/www/nmsprime/vendor/laravel/framework/src/Illuminate/Console/Application.php(88): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input
    ArgvInput), Object(Symfony\\Component\\Console\\Output
    ConsoleOutput))
    #4 /var/www/nmsprime/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(121): Illuminate\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input
    ArgvInput), Object(Symfony\\Component\\Console\\Output
    ConsoleOutput))
    #5 /var/www/nmsprime/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input
    ArgvInput), Object(Symfony\\Component\\Console\\Output
    ConsoleOutput))
    #6

    Unknown macro: {main}

    "}
    [2021\-04\-13 00:20:05] local.ERROR: Trying to get property 'headline1' of non-object {"exception":"[object] (ErrorException(code: 0): Trying to get property 'headline1' of non-object at /var/www/nmsprime/app/Http/Controllers/Auth/LoginController.php:70)
    [stacktrace]
    #0 /var/www/nmsprime/app/Http/Controllers/Auth/LoginController.php(70): Illuminate\\Foundation\\Bootstrap
    HandleExceptions->handleError(8, 'Trying to get p...', '/var/www/nmspri...', 70, Array)
    #1 [internal function]: App\\Http\\Controllers\\Auth
    LoginController->showLoginForm()

  11. Ok. This was actually too empty. You need to add 1 entry to the global configuration tables

    • global_config
    • provbase
    • billingbase
    • hfcbase
    • provmon
    • provvoip
    • overduedebts
    INSERT into <tablename> (updated_at) values (now());

    should be enough.

    But if you still have the database from the install you could just use that again and show us the initial error. This could be easier.

    Or just drop and create the nmsprime DB again and call these commands to create the DB structure again:

    cd /var/www/nmsprime
    php artisan migrate
    php artisan module:migrate