[Support] Sander0542 - Network Manager


Recommended Posts

2 hours ago, Exes said:

What's the default login?

There is no default login or setup process yet. However you can go to the /register page to create an account

 

Edit:

Since version 0.1.1 the user will be redirected to the register page if there are no account in the database.

Edited by Sander0542
Link to comment
1 minute ago, Jason Harris said:

Creating a new user account generated a blue "419 | Page Expired" message. Can't proceed.

 

Nothing in the logs on either the MySQL server or Network Manager containers.

This usually happens when you wait too long before submitting a form or restart the server after you have loaded a page.

 

Could you try restarting the container and then refreshing the register page? After that, you should be able to create an account.

Link to comment
11 minutes ago, Sander0542 said:

This usually happens when you wait too long before submitting a form or restart the server after you have loaded a page.

 

Could you try restarting the container and then refreshing the register page? After that, you should be able to create an account.

Restarted, launched webgui, filled out the form (~10 seconds) after the page came - same issue.

 

I also changed the db account being used for the database to the db root instead of mine - still didn't help. The table is populated, but no users are being generated in the database.

 

Here are the logs, if they help any. I didn't see anything jump out:

Quote

Nothing to migrate.
Cached events cleared!
Compiled views cleared!
Application cache cleared!
Route cache cleared!
Configuration cache cleared!
Compiled services and packages files removed!
Caches cleared successfully!
Discovered Package: [32mfruitcake/laravel-cors[39m
Discovered Package: [32minertiajs/inertia-laravel[39m
Discovered Package: [32mjenssegers/agent[39m
Discovered Package: [32mlaravel/fortify[39m
Discovered Package: [32mlaravel/jetstream[39m
Discovered Package: [32mlaravel/octane[39m
Discovered Package: [32mlaravel/sanctum[39m
Discovered Package: [32mlaravel/tinker[39m
Discovered Package: [32mnesbot/carbon[39m
Discovered Package: [32mtightenco/ziggy[39m
[32mPackage manifest generated successfully.[39m
Cached events cleared!
Events cached successfully!
Configuration cache cleared!
Configuration cached successfully!
Route cache cleared!
Routes cached successfully!
2021-12-24 15:43:49,788 INFO Set uid to user 0 succeeded
2021-12-24 15:43:49,789 INFO supervisord started with pid 1
2021-12-24 15:43:50,791 INFO spawned: 'laravel_octane_00' with pid 51

INFO Server running…

Local: http://0.0.0.0:9000

Press Ctrl+C to stop the server

2021-12-24 15:43:52,215 INFO success: laravel_octane_00 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

 

Edited by Jason Harris
logs
Link to comment
1 minute ago, Jason Harris said:

Restarted, launched webgui, filled out the form (~10 seconds) after the page came - same issue.

 

I also changed the db account being used to the root instead of mine - still didn't help. The table is populated, but no users are being generated in the database.

Have you set the Application Key to a string with a length of 32? For example `DFzqBaqwAqgz4PCdpwqx48Cxr8Rsk3ku` (dont use this one)

Link to comment
Just now, Sander0542 said:

Have you set the Application Key to a string with a length of 32? For example `DFzqBaqwAqgz4PCdpwqx48Cxr8Rsk3ku` (dont use this one)

Yep. I was about to post a message here because initially it was complaining about an invalid cipher. Then I realized I only input 31. Changed to 32, got the Network Manager container to start, got to the register page automatically, and now I'm stuck here.

Link to comment

Darn. Nope. Wiped the db, recreated from scratch, still same blue screen "419 page expired" message.

 

Quote

Migration table created successfully.
Migrating: 2014_10_12_000000_create_users_table
Migrated: 2014_10_12_000000_create_users_table (99.87ms)
Migrating: 2014_10_12_100000_create_password_resets_table
Migrated: 2014_10_12_100000_create_password_resets_table (109.61ms)
Migrating: 2014_10_12_200000_add_two_factor_columns_to_users_table
Migrated: 2014_10_12_200000_add_two_factor_columns_to_users_table (131.13ms)
Migrating: 2019_08_19_000000_create_failed_jobs_table
Migrated: 2019_08_19_000000_create_failed_jobs_table (95.47ms)
Migrating: 2019_12_14_000001_create_personal_access_tokens_table
Migrated: 2019_12_14_000001_create_personal_access_tokens_table (315.44ms)
Migrating: 2021_12_21_190333_create_sessions_table
Migrated: 2021_12_21_190333_create_sessions_table (343.72ms)
Migrating: 2021_12_21_195348_create_networks_table
Migrated: 2021_12_21_195348_create_networks_table (226.44ms)
Migrating: 2021_12_21_221131_create_network_ips_table
Migrated: 2021_12_21_221131_create_network_ips_table (211.85ms)
Cached events cleared!
Compiled views cleared!
Application cache cleared!
Route cache cleared!
Configuration cache cleared!
Compiled services and packages files removed!
Caches cleared successfully!
Discovered Package: [32mfruitcake/laravel-cors[39m
Discovered Package: [32minertiajs/inertia-laravel[39m
Discovered Package: [32mjenssegers/agent[39m
Discovered Package: [32mlaravel/fortify[39m
Discovered Package: [32mlaravel/jetstream[39m
Discovered Package: [32mlaravel/octane[39m
Discovered Package: [32mlaravel/sanctum[39m
Discovered Package: [32mlaravel/tinker[39m
Discovered Package: [32mnesbot/carbon[39m
Discovered Package: [32mtightenco/ziggy[39m
[32mPackage manifest generated successfully.[39m
Discovered Package: [32mfruitcake/laravel-cors[39m
Discovered Package: [32minertiajs/inertia-laravel[39m
Discovered Package: [32mjenssegers/agent[39m
Discovered Package: [32mlaravel/fortify[39m
Discovered Package: [32mlaravel/jetstream[39m
Discovered Package: [32mlaravel/octane[39m
Discovered Package: [32mlaravel/sanctum[39m
Discovered Package: [32mlaravel/tinker[39m
Discovered Package: [32mnesbot/carbon[39m
Discovered Package: [32mtightenco/ziggy[39m
[32mPackage manifest generated successfully.[39m
Cached events cleared!
Events cached successfully!
Configuration cache cleared!
Configuration cached successfully!
Route cache cleared!
Routes cached successfully!
2021-12-24 15:52:01,544 INFO Set uid to user 0 succeeded
2021-12-24 15:52:01,545 INFO supervisord started with pid 1
2021-12-24 15:52:02,546 INFO spawned: 'laravel_octane_00' with pid 51

INFO Server running…

Local: http://0.0.0.0:9000

Press Ctrl+C to stop the server

2021-12-24 15:52:04,014 INFO success: laravel_octane_00 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-12-24 15:52:04,014 INFO success: laravel_octane_00 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

 

Link to comment
5 minutes ago, Sander0542 said:

Could you open the docker terminal for the container (Icon -> Console) and execute this command `cp /var/www/html/storage/logs/swoole_http.log /var/www/html/public/err.log`. Then open the website and navigate to the `/err.log` location. It should download a file. Can you share that with me please?

It's an empty file :-\

 

image.png.614f003ff351e26af07805127737af0e.png

 

Now, I did just try it in Edge/Chromium. It worked that time! So maybe it's a Firefox thing /shrug

Link to comment
6 minutes ago, Jason Harris said:

Now, I did just try it in Edge/Chromium. It worked that time! So maybe it's a Firefox thing /shrug

I haven't tested the application in Firefox yet. I have a potential fix which could fix your problem. I'll make a release which should be available in about 15 minutes. I'll send you a message when it is available.

Edited by Sander0542
Link to comment
Just now, Jason Harris said:

It's fine, just wanted to provide some feedback! I'll keep an eye on this project, certainly. Looks interesting.  I can explore it with Edge for now.

Thanks for the feedback! It helps a lot!

 

You can check the status of the release on this page. When everything is green its release and you can update the docker container on unraid.

https://github.com/Sander0542/Network-Manager/runs/4629198832?check_suite_focus=true

Link to comment
  • 2 weeks later...

Hi, I just installed this app/docker, but when loaded I get the following (with a midnight blue background):

500

Server Error

 

Tried setting up with external sql also, bo change there.

Does not get any registration page or anything....

 

Complete log from docker in Unraid Gui:
 

In sentry.php line 63:

Undefined array key "method"


Cached events cleared!
Compiled views cleared!
Application cache cleared!
Route cache cleared!
Configuration cache cleared!
Compiled services and packages files removed!
Caches cleared successfully!
Discovered Package: fruitcake/laravel-cors
Discovered Package: inertiajs/inertia-laravel
Discovered Package: jenssegers/agent
Discovered Package: laravel/fortify
Discovered Package: laravel/jetstream
Discovered Package: laravel/octane
Discovered Package: laravel/sanctum
Discovered Package: laravel/tinker
Discovered Package: nesbot/carbon
Discovered Package: sentry/sentry-laravel
Discovered Package: tightenco/ziggy
Package manifest generated successfully.
Cached events cleared!
Events cached successfully!
Configuration cache cleared!

In sentry.php line 63:

Undefined array key "method"


Route cache cleared!
Routes cached successfully!
2022-01-05 08:58:00,665 INFO Set uid to user 0 succeeded
2022-01-05 08:58:00,667 INFO supervisord started with pid 1
2022-01-05 08:58:01,670 INFO spawned: 'laravel_octane_00' with pid 51
2022-01-05 08:58:02,671 INFO success: laravel_octane_00 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

INFO Server running…

Local: http://0.0.0.0:9000

Press Ctrl+C to stop the server


 

Edited by Hawk-N
Link to comment

Thanks, you are right, something was wrong with the connection to my sql server.
Powered my new unraid rig a bit earlier than planned and tried there, all good now :)

Guess my old trusty unraid rig is going to it's final restingplace as a gaming rig for the kids :)

 

Bit, I like the simplicity of your plugin, easy to manage my vlans.

Nothing more, nothing less.

Link to comment
  • 8 months later...
  • 1 year later...

Only got (fresh install) :

Could not connect to the database server
In Connection.php line 759:
  SQLSTATE[HY000] [2002] Connection refused (SQL: select * from information_s  
  chema.tables where table_schema = network_manager and table_name = migratio  
  ns and table_type = 'BASE TABLE')                                            
In Connector.php line 70:
  SQLSTATE[HY000] [2002] Connection refused  

And ocker doesn't start obviously.

Link to comment
7 minutes ago, mucflyer said:

Only got (fresh install) :

Could not connect to the database server
In Connection.php line 759:
  SQLSTATE[HY000] [2002] Connection refused (SQL: select * from information_s  
  chema.tables where table_schema = network_manager and table_name = migratio  
  ns and table_type = 'BASE TABLE')                                            
In Connector.php line 70:
  SQLSTATE[HY000] [2002] Connection refused  

And ocker doesn't start obviously.

 

Have you filled all the environmental variables for the MySQL database? It looks like the application is unable to connect to the database.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.