December 24, 20214 yr Support for the Network Manager docker container Application Name: Network Manager DockerHub: https://hub.docker.com/r/sander0542/network-manager GitHub: https://github.com/Sander0542/Network-Manager This container is still in beta and may not be stable yet. Post any questions or issues relating to this docker in this thread. Edited December 24, 20214 yr by Sander0542
December 24, 20214 yr 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 December 24, 20214 yr by Sander0542
December 24, 20214 yr 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.
December 24, 20214 yr 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.
December 24, 20214 yr 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 December 24, 20214 yr by Jason Harris logs
December 24, 20214 yr 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)
December 24, 20214 yr 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.
December 24, 20214 yr Let me try to just wipe the database on mysql and see if a re-instantiation fixes it?
December 24, 20214 yr 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)
December 24, 20214 yr 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?
December 24, 20214 yr 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 Now, I did just try it in Edge/Chromium. It worked that time! So maybe it's a Firefox thing /shrug
December 24, 20214 yr 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
December 24, 20214 yr 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 December 24, 20214 yr by Sander0542
December 24, 20214 yr 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.
December 24, 20214 yr 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
January 5, 20224 yr 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 January 5, 20224 yr by Hawk-N
January 6, 20224 yr 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.
January 8, 20224 yr 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.
January 8, 20224 yr 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!
January 8, 20224 yr Very promising project. Something I have been looking for for a while. Left some suggestions in the github
September 16, 20223 yr 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?
October 16, 20232 yr 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.
October 16, 20232 yr 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.
October 16, 20232 yr 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.