Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] Sander0542 - Network Manager

Featured Replies

What's the default login?

  • Author
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

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.

  • Author
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.

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

  • Author
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)

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.

Let me try to just wipe the database on mysql and see if a re-instantiation fixes it?

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)

 

  • Author

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?

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

Oh - and yea, I can logout / login just fine with Edge. I cannot on Firefox. The only extension I have installed is my 1Password extension on Firefox. I also have it installed on Edge.

 

Oh well, got in :)

  • Author
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

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.

  • Author
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

  • 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

  • Author

@Hawk-N it looks like your database connection is not working. Please check the host, port, user and password.

 

I am also releasing new builds which should give better error messages in the console. It will be available in a few hours.

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.

  • Author
1 minute ago, Hawk-N said:

Powered my new unraid rig a bit earlier than planned and tried there, all good now

Happy to hear it works now!

 

1 minute ago, Hawk-N said:

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

Nothing more, nothing less.

Thank you very much!

Very promising project. Something I have been looking for for a while.

Left some suggestions in the github

  • 8 months later...

Hi, this sounds like a great idea. It took some work but I got it up and running, I can access the webui but after putting in some local networks I don't get any device data. Any advice on populating data and used ports?

  • 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.

  • Author
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.

Yes I did, 127.0.0.1, User root, and some password. I also tried with external MySQL.

Gesendet von meinem CPH2449 mit Tapatalk

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.