corsinvest / cv4pve-botgram Goto Github PK
View Code? Open in Web Editor NEWTelegram Bot for Proxmox VE
Home Page: https://www.cv4pve-tools.com
License: GNU General Public License v3.0
Telegram Bot for Proxmox VE
Home Page: https://www.cv4pve-tools.com
License: GNU General Public License v3.0
Is it possible to make command to restore lxc/vm from last backup? for example script can parse all backups by date and pick fresher for restore
i've make backup schedule for entire all pve in some cases need to restore my lxc/vm where i can't to ssh/http.
When running the latest binary via CLI (version 1.4.6) it returns this exception when attempting to use the --api-token
command line option.
Replacing the --api-token
with --username="root@pam" --password="<whatever>"
does not cause the exception to occur.
System.NullReferenceException
Object reference not set to an instance of an object.
at Corsinvest.ProxmoxVE.Api.Shell.Helpers.CommandOptionExtension.GetPasswordFromOption(CommandLineApplication command)
at Corsinvest.ProxmoxVE.TelegramBot.Program.<>c__DisplayClass0_0.<Main>b__0()
at McMaster.Extensions.CommandLineUtils.CommandLineApplicationExtensions.<>c__DisplayClass9_0.<OnExecute>b__0()
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.<>c__DisplayClass144_0.<OnExecute>b__0(CancellationToken _)
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync(String[] args, CancellationToken cancellationToken)
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args)
at Corsinvest.ProxmoxVE.Api.Shell.Helpers.ShellHelper.ExecuteConsoleApp(CommandLineApplication app, String[] args)
Command line:
# ./cv4pve-botgram --host pve.lan --api-token 'root@pam!botgram=<WHATEVER>' --token '12345:AAABBBCCCDDD' --chatsId 123456
Hi,
thank you for your work. Unfortunately it is not working for me.
New created bot tokens throw a invalid format exception.
I tried it with several tokens but always with the same result.
I assume it has something to do with the ID exceeding the INT range. A token with shorter ID from an older bot is working fine.
Maybe it is related with this issue
openhab/openhab-addons#11732
Steps to reproduce:
Hi, have you any options to make the chat with the bot not open worldwide? I can't find them in the instructions
If not, please add proxy support.
Cheers!
Change result from text to html
HI! At the moment, everyone who writes to the bot can execute commands on PVE.
Please add verification of the user/group from whom you can receive messages
Ciao!
Qualsiasi comando tento di utilizzare la risposta è sempre questa:
Error execute command! 'System.Dynamic.ExpandoObject' does not contain a definition for 'data'
Ad esempio ho provato /vmshutdown, poi /vmshutdown 100 oppure /vmshutdown nomevm ma l'errore è sempre quello.
Sbaglio qualcosa e c'è qualche documentazione disponibile o non funziona più con le nuove versioni di proxmox?
HI!
Whatever command I try to use the response is always this:
Error execute command! 'System.Dynamic.ExpandoObject' does not contain a definition for 'data'
For example I tried /vmshutdown, then /vmshutdown 100 or /vmshutdown vmname but the error is always the same.
Am I doing something wrong and is there any documentation available or does it no longer work with new versions of proxmox?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.