How to use Mashup Library on a server with no direct Internet access
Instruction on how to use Mashup Library on a server with no direct Internet access
You have Targetprocess locally hosted, and the server doesn't have direct Internet access (it's located inside a private Netwrok or has a strict Firewall).
When you try to access Mashup Library, you get the following error:
In the plugin log at [root]/Plugins/MashupManager/Logs/Plugin.txt you see it as well:
2014-09-18 13:19:25,610  INFO Tp.Integration.Plugin.Common.PluginCommand.PluginCommandHandler - Executing plugin command : GetLibraryRepositories
2014-09-18 13:19:26,663  ERROR Tp.Integration.Plugin.Common.PluginCommand.PluginCommandHandler - Plugin GetLibraryRepositories command processing failed.
System.NullReferenceException: Object reference not set to an instance of an object.
Solution 1: Open access to our GitHub page
Ensure that our GitHub page https://github.com/TargetProcess/TP3MashupLibrary can be directly accessed from the server
Solution 2: Transfer the mashups manually from our GitHub page
Create a new empty file called repository.initialized (repository is a name and initialized is an extension) at [root]/Plugins/MashupManager/MashupManagerStorage/MashupManagerLibrary/TP3
Such mashups like "Solutions gallery" require internet access for the end users even if hosted server doesn`t have it
It will tell the application that the Library has already been initialized, and the error will be gone:
But the Library is still empty - we need to add some mashups to it.
Go to https://github.com/TargetProcess/TP3MashupLibrary, press 'Download ZIP' button and transfer this archive to your server. Unzip it to [root]/Plugins/MashupManager/MashupManagerStorage/MashupManagerLibrary/TP3
As a result all the mashups will appear inthe Library:
Solution 3: Use alternative source
Open [root]/Plugins/MashupManager/MashupManagerStorage/MashupManagerLibrary/TP3/.gitconfig and replace https://github.com/TargetProcess/TP3MashupLibrary.git with your own Git repository
repositoryformatversion = 0
filemode = false
logallrefupdates = true
autocrlf = false
url = https://github.com/pinkypeaky/MashupsLibrary.git
fetch = +refs/heads/*:refs/remotes/origin/*