Sander0542 Posted December 24, 2021 Share Posted December 24, 2021 (edited) 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, 2021 by Sander0542 Quote Link to comment
Exes Posted December 24, 2021 Share Posted December 24, 2021 What's the default login? Quote Link to comment
Sander0542 Posted December 24, 2021 Author Share Posted December 24, 2021 (edited) 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, 2021 by Sander0542 Quote Link to comment
jaylo123 Posted December 24, 2021 Share Posted December 24, 2021 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. Quote Link to comment
Sander0542 Posted December 24, 2021 Author Share Posted December 24, 2021 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. Quote Link to comment
jaylo123 Posted December 24, 2021 Share Posted December 24, 2021 (edited) 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, 2021 by Jason Harris logs Quote Link to comment
Sander0542 Posted December 24, 2021 Author Share Posted December 24, 2021 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) Quote Link to comment
jaylo123 Posted December 24, 2021 Share Posted December 24, 2021 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. Quote Link to comment
jaylo123 Posted December 24, 2021 Share Posted December 24, 2021 Let me try to just wipe the database on mysql and see if a re-instantiation fixes it? Quote Link to comment
jaylo123 Posted December 24, 2021 Share Posted December 24, 2021 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) Quote Link to comment
Sander0542 Posted December 24, 2021 Author Share Posted December 24, 2021 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? Quote Link to comment
jaylo123 Posted December 24, 2021 Share Posted December 24, 2021 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 Quote Link to comment
jaylo123 Posted December 24, 2021 Share Posted December 24, 2021 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 Quote Link to comment
Sander0542 Posted December 24, 2021 Author Share Posted December 24, 2021 (edited) 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, 2021 by Sander0542 Quote Link to comment
jaylo123 Posted December 24, 2021 Share Posted December 24, 2021 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. Quote Link to comment
Sander0542 Posted December 24, 2021 Author Share Posted December 24, 2021 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 Quote Link to comment
Hawk-N Posted January 5, 2022 Share Posted January 5, 2022 (edited) 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, 2022 by Hawk-N Quote Link to comment
Sander0542 Posted January 6, 2022 Author Share Posted January 6, 2022 @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. Quote Link to comment
Hawk-N Posted January 8, 2022 Share Posted January 8, 2022 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. Quote Link to comment
Sander0542 Posted January 8, 2022 Author Share Posted January 8, 2022 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! Quote Link to comment
Croontje Posted January 8, 2022 Share Posted January 8, 2022 Very promising project. Something I have been looking for for a while. Left some suggestions in the github 1 Quote Link to comment
Findthelorax Posted September 16, 2022 Share Posted September 16, 2022 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? Quote Link to comment
mucflyer Posted October 16, 2023 Share Posted October 16, 2023 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. Quote Link to comment
Sander0542 Posted October 16, 2023 Author Share Posted October 16, 2023 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. Quote Link to comment
mucflyer Posted October 16, 2023 Share Posted October 16, 2023 Yes I did, 127.0.0.1, User root, and some password. I also tried with external MySQL. Gesendet von meinem CPH2449 mit Tapatalk Quote Link to comment
Recommended Posts
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.