I'm running an ansible role which updates DB tables according to the DB type (using SQL queries).
As for DB type MSSQL I'm trying to use the
community.general.mssql_script module, but can't seem to find it and getting the following error message when running the playbook:
ERROR! couldn't resolve module/action 'mssql_script'. This often
indicates a misspelling, missing collection, or incorrect module path.
I've tried modifying the script to use the community.general.mssql_db module, instead, just to test that the community.general's modules exist and are installed.
Also I've installed the python dependency for the module pip install pymssql as stated in the module documentation page.
Additionally, I've tried reinstalling ansible-galaxy collection install community.general and, this still did not work.
Is there any other way to explicitly install the community.general.mssql_script module or some other module which will be used to run the update queries?
Related
I'm following this guide to make a react component library for my company. I set up all as the guide and then tried running npm rollup -c. It works on my machine (it builds without errors).
But when I try plugging it into CircleCI (the tool we use for builds), it throws this error:
The config is all the same, the server uses Linux and the node version is the same. Is there something I'm missing? Or something I can test?
The team I am working on we are developing React applications and we are using yarn for pulling dependencies. We are using a private registry from where we are pulling npm dependencies and we are also using a private artifactory via jFrog to pull and publish common components like buttons, plots etc.
So far with the private registry we do not experience any problem while we were working with yarn. We used npmrc file locally on our repository to setup the registry from where we are pulling dependencies.
Now we have to add a scoped registry pointing to our private artifactory. So my npmrc file looks like that:
registry=http://private-registry/npmjs-group/
loglevel=http
strict-ssl=false
#scoped-name:registry=https://private.artifactory.com/artifactory/api/npm/shared-components
So, when I am using npm install the dependencies coming from artifactory are fetched behind http http://private.artifactory.com/artifactory/api/npm/shared-components
However, when I am using yarn install with the previous npmrc I get the following:
info There appears to be trouble with your network connection. Retrying...
error An unexpected error occurred: "http://private.artifactory.com/artifactory/api/npm/shared-components/#scopred-name/icons-0.1.0.tgz: connect ETIMEDOUT 146.106.239.15:80".
I tried to set up proxy,https-proxy config setting on npmrc but I could not make it to work. I did something like that:
proxy=http://private.artifactory.com/artifactory/api/npm/shared-components
https-proxy=http://private.artifactory.com/artifactory/api/npm/shared-components
I am not sure if those settings are appropriate. Or is another issue.
I tried the same approach with the same failing results by using yarnrc.
In addition, I saw this open issue on jFrog https://www.jfrog.com/jira/browse/RTFACT-12703.
It seems that jFrog is not supporting YARN is it true?
I would be really appreciated if someone from the open community can give some light here.
So I tried to install a package called 'Image Processor' to our Umbraco build which I later found was incompatible. How do I manually remove this package from the build? I've tried removing all mention of 'ImageProcessor' from the Web.config, packages.config etc still no cigar.
This is the error we're getting.
Check in the /bin/ folder for the Image Processor DLL file. If this file is present, I believe that the application is trying to load it. However, this file requires something from Umbraco.Core which isn't there, so it crashes.
If you find the DLL, try deleting it and reloading the application.
Also, I assume you installed this package through Umbraco. In the future I would recommend using NuGet to install packages, as it allows you to add, update and remove packages without running the application (so if you were to get an error like this again, you would be able to easily uninstall the package).
I have an Angular 1.4 application written using Typescript, making use of various typings e.g. angular-ui-bootstrap, angular-block-ui.
This application builds on my local machine.
However, when using a TFS build controller I receive numerous errors with messages along the lines of "Duplciate identifier 'angular'".
Now obviously each typings file will declare a namespace e.g. "angular.sanitize". The error will occur if the angular namespace has already been declared in another typings file.
I do not really understand why the errors do not occur on my development machine but do on the build server. I am using TFS 2010 for source control.
I have figured this out.
The build server had a different version of Typescript installed. Once I made this the same as my development machine all issues went away and my build worked.
I would like to ask you if someone has similar problem. I am using Sitecore.NET 7.2 (rev. 151021) with Solr. I need to add some items from prod to my local sitecore instance. When I create package and tried to install specific content I get exception null reference exception. It doesnt depend on the content. I tried to used package designer with varios content and always I get this exception.
As the comments indicate: Make sure that all of the supporting items that each item in the package require are in place in the destination before trying to install them through a package.
Normally, separate packages are created for Templates, Layouts and Content and installed in that order to avoid missing dependencies.
You can also look into disabling Index builds during package installation. I have a module out there that does this:
https://marketplace.sitecore.net/en/Modules/Detailed_Package_Installer.aspx