Comments (19)
done?
also lqos is shorter... - symlink?
from libreqos.
I think we have settled for lqos as the script name. AS for the locking issue?
from libreqos.
a short term fix by using crontab, "cd therightdir; LibreQos whatever".
Certainly having more options that make sense would be good.
from libreqos.
The same fix should be done for lqTools.py
.
from libreqos.
This is still a thing.
from libreqos.
lq.sh
?
from libreqos.
Someday it wont be a shell script. lq has a high probability of colliding with something...
from libreqos.
Sorry I mean lq.py
so You need always to write extension
from libreqos.
lqos.py
is a good name.
from libreqos.
Fixed with 9ad1de6
from libreqos.
@rchac You closed different issue than mentioned in commit. I reopened it - my tests
ssh sshuser@libreqos -c '/opt/libreqos/src/LibreQoS.py --updateonly'
lqosd is running
refreshShapers starting at 07/02/2023 15:20:13
Rust validated ShapedDevices.csv
Traceback (most recent call last):
File "/opt/libreqos/src/LibreQoS.py", line 1331, in <module>
refreshShapersUpdateOnly()
File "/opt/libreqos/src/LibreQoS.py", line 928, in refreshShapersUpdateOnly
if (validateNetworkAndDevices() == True):
File "/opt/libreqos/src/LibreQoS.py", line 139, in validateNetworkAndDevices
with open('network.json') as file:
FileNotFoundError: [Errno 2] No such file or directory: 'network.json'
from libreqos.
Just to better understand, you're wanting this ability so that you can run from crontab instead of systemd?
from libreqos.
I would like to have reloading done immediately after uploading file - so I run this magic command through SSH.
Doing it is good like that because I get back errors to my CRM when occurs.
@rchac how can I run --updateonly
with systemd?
In other scenario/method:
I can wait less than minute. (and not run a trigger command with --updateonly) - but what about errors (in this scenario i would not see them)?
from libreqos.
Is it possible to just SCP the ShapedDevices.csv file to /opt/libreqos then run --updateonly
? Both the python and rust side look for a bunch of files to be available to them in the /opt/libreqos/src folder.
from libreqos.
@rchac I get few hours and do an update to current master branch state
# git status
HEAD detached from 6e92a07
nothing to commit, working tree clean
running command:
root@libreqos:~# /opt/libreqos/src/LibreQoS.py --updateonly
generates an error:
Running Python Version 3.10.6 (main, Mar 10 2023, 10:55:28) [GCC 11.3.0]
lqosd is running
lqosd is running
refreshShapers starting at 21/03/2023 16:24:47
Rust validated ShapedDevices.csv
Traceback (most recent call last):
File "/opt/libreqos/src/LibreQoS.py", line 1369, in <module>
refreshShapersUpdateOnly()
File "/opt/libreqos/src/LibreQoS.py", line 952, in refreshShapersUpdateOnly
if (validateNetworkAndDevices() == True):
File "/opt/libreqos/src/LibreQoS.py", line 140, in validateNetworkAndDevices
with open('network.json') as file:
FileNotFoundError: [Errno 2] No such file or directory: 'network.json'
from libreqos.
@interduo Your network.json file seems to be missing
from libreqos.
root@libreqos:~# ls -la /opt/libreqos/src/network.json
-rw-r--r-- 1 root root 3 Jan 20 14:20 /opt/libreqos/src/network.json
from libreqos.
This looks complete?
from libreqos.
No it isn't or what commit fixed that?
from libreqos.
Related Issues (20)
- Customer VS Device in flat architecture HOT 2
- Min upload/downlaod rate in custom network HOT 2
- v1.4 lqosd no running HOT 2
- UISP Integration TypeError: string indices must be integers HOT 4
- Intel X520-DA2 performance issues with default NIC ring buffer/descriptors setting
- HTB and trashed logs by htb messages HOT 3
- Add scaling control to lqosd startup HOT 1
- binpacking is not optimal - improvements needed HOT 6
- add secondary networks in UISP integration to shapers for non-nat, routed subnets HOT 1
- multiple service classes
- [LibreQoS 1.4] - lqosd not running HOT 1
- [LibreQoS 1.4] Libreqos Unable to start, Error: No such file or directory (os error 2) HOT 5
- Add ability to use VictoriaMetrics instead of InfluxDB for long-term stats HOT 2
- [Libreqos 1.5] Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead
- [Libreqos v1.4] installer problems on Debian 11 in LXC
- Question about multiple NIC and Load balancing traffic
- Very high cpu usage on one core HOT 3
- Intel X722 supported? HOT 1
- UISP listener for CRM webhooks for updates HOT 2
- Multi-Node Firewall - LibreQoS and ECMP HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libreqos.