When i reboot the router i have an error in genieacs:
name: Error
message: Invalid alias expression
stack: |-
Error: Invalid alias expression
at Function.parseAlias (/opt/genieacs/dist/bin/genieacs-cwmp:2:37802)
at Function.parsePath (/opt/genieacs/dist/bin/genieacs-cwmp:2:38260)
at Function.parse (/opt/genieacs/dist/bin/genieacs-cwmp:2:38947)
at declare (/opt/genieacs/dist/bin/genieacs-cwmp:2:42225)
at download_config:4:1
I have some error, on boot the mirktoik connect to genieacs something append, but when the router is up again i don’t have the configuration that i needed.
Not sure what you really wan’t to achieve, but… if you want to change default configuration file, then you should use “X MIKROTIK Factory Configuration File” type in the provision script as well. Try replacing “3 Vendor Configuration File” with “X MIKROTIK Factory Configuration File” in the script.
Also I think you have to put “file.rsc” on GenieACS so it is directly accesable (not via “file.xml”)
Your videos are an excellent source, but they don’t cover newest (1.2.0-beta.0) version of GeenieACS. Files you are referring on 35:35 of your first video don’t exist in the installation that was done according to the official installation guide.
I’m afraid you’ll have to modify the source to add this custom type. But now that I’m thinking about it, it would make sense to allow the user to enter any custom type when they upload a new file. Will consider adding this option.
@ana@zaidka Yes i found the way some days ago,
genieacs 1.2.1 from sources ,
modified file \ui\files-page.ts at line 52 and file \ui\drawer-component.ts at line 105.
adding “X MIKROTIK Factory Configuration File”,. It works fine. json object sent to api works too.
For sure, a functionnality for adding custom file type in Admin/Config menu would be great.
I have also have been trying to get the “X MIKROTIK Factory Configuration File” option to work. I have version 1.2.3 working fine except for that function. In this version " \ui\files-page.ts" does not exist. Does anybody have any other work arounds for this version.