Liferay Service Pack and Fixpack - liferay

Is latest service pack installed If I install latest fixpack? Currently I install latest fixpack, but i check the service pack version, it ist not the latest service pack.
in other words: does the latest fixpack contain the latest liferay service pack?
$ ./patching-tool.sh info
Connection timeout. More than 5000ms elapsed.
You can specify the connection timeout by setting the 'connection.timeout' property in the Patching Tool configuration
Cache cannot be updated: connect timed out
You can turn off the cache update from remote server by setting the 'update.cache' property to 'false' in the Patching Tool configuration
Some information will not be available
Loading product and patch information...
Product information:
* installation type: binary
* build number: 7010
* service pack version:
- available SP version: Not available
- installable SP version: Not available
* patching-tool version: 2.0.7
* time: 2018-07-02 14:10Z

If you run
./patching-tool.sh info
It says:
Detailed patch list:
[ -] de-32-7010 :: Currently not installed; Won't be installed: de-53 contains the fixes included in this one :: Built for LIFERAY
[*I] de-53-7010 :: Installed; Will be installed. :: Built for LIFERAY
So we can conclude YES, latest fix-pack contains all previous fix-packs as it should be.

Related

Unable to access gitlab web UI after upgrading to 14.12

I have gitlab omnibus install on a linux debian server. Yesterday, the installation was upgraded to 14.12 (from 14.11) - and now I'm unable to access the web UI. On investigation, it seems that the issue was caused by a conflict of versions of ruby and passenger. I'm using an external nginx on the server, as the tail server has other virtual hosts. I have the latest version of passenger installed - 6.0.9. Gitlab latest version comes with ruby version 2.7.2 - but passenger 6.0.9 has no support for that version, it support 2.7.3 instead.
I downgraded passenger to version 6.0.8 - now the passenger_native error is resolved (by direct downloading exact version). However I'm getting the following error in the log:
Could not spawn process for application /opt/gitlab/embedded/service/gitlab-rails:
A timeout occurred while starting a preloader process.
There's not much more info. There is one question I found on SO from years ago - this one - with the same error - but it's not solved. I'm in no position to install/run docker on the server.
How can I get gitlab UI to show?
Note: this is cross-posted to ServerFault here.

Coral Edge TPU USB Accelerator driver fails to install

I'm trying to install and test my Coral Edge TPU. I'm following the instructions here: https://coral.ai/docs/accelerator/get-started/
The first step is to install drivers from the coral website, but I'm getting the following errors. I've tried running with and without admin, and uninstalling and installing again, but I get the same errors.
Has anyone else run into this issue? I'm on Windows 10.
Installing UsbDk
Installing Windows drivers
Microsoft PnP Utility
Adding driver package: coral.inf
Driver package added successfully.
Published Name: oem69.inf
Adding driver package: Coral_USB_Accelerator.inf
Failed to add driver package: The hash for the file is not present in the specified catalog file. The file is likely corrupt or the victim of tampering.
Adding driver package: Coral_USB_Accelerator_(DFU).inf
Failed to add driver package: The hash for the file is not present in the specified catalog file. The file is likely corrupt or the victim of tampering.
Total driver packages: 3
Added driver packages: 1
Installing performance counters
Info: Provider {aaa5bf9e-c44b-4177-af65-d3a06ba45fe7} defined in
C:\Users\User\Downloads\edgetpu_runtime_20201204\edgetpu_runtime\third_party\coral_accelerator_windows\coral.man is already installed in system repository. Info: Successfully installed performance counters in
C:\Users\User\Downloads\edgetpu_runtime_20201204\edgetpu_runtime\third_party\coral_accelerator_windows\coral.manCopying edgetpu and libusb to System32 1 file(s) copied.
1 file(s) copied.
Install complete
Press any key to continue . . .
This is a bug in the coral software. According to this thread https://github.com/google-coral/edgetpu/issues/260 they messed up a few things in the newest version (at the time 2.5.0). Starting with a fresh virtual environment and using the release 2.1.0 and corresponding driver for Python 3.7 (3.8, 3.9 not supported as of 2.1.0) fixed the issue.
From that thread:
For now, I suggest rolling back to the older driver:
https://dl.google.com/coral/edgetpu_api/edgetpu_runtime_20200728.zip
And you also need to remove your current tflite_runtime and downgrade
it to an older version (make sure to change to the right python
version):
pip3 install
https://dl.google.com/coral/python/tflite_runtime-2.1.0.post1-cp36-cp36m-win_amd64.whl
pip3 install
https://dl.google.com/coral/python/tflite_runtime-2.1.0.post1-cp37-cp37m-win_amd64.whl
Apologies, we are working to get this fixed ASAP
we recently uploaded a new package this should fix this:
https://dl.google.com/coral/edgetpu_api/edgetpu_runtime_20210119.zip
source: coral.ai/software
You need to disable driver signature enforcement using the advanced boot menu. After that you can install it. You can do that by going to going to the Settings app >> go to the “Update and Security -> Recovery” page. Click on the “Restart now” button under the “Advanced Startup” section.

Issue with dotnet restore, NuGet and VS Code on Linux behind corporate proxy

I'm having some troubles while creating some Unit Tests with .NET Core 2.1 + VS Code on Linux behind a corporate proxy. I'm fairly new to VS Code and .NET Core, although I have experience with .NET and Visual Studio.
I can successfully create a solution (dotnet new sln), Class Library (dotnet new classlib)/Console Application (dotnet new console) projects and properly link them together. However, when attempting to perform Unit Testing with:
dotnet new xunit,
the dotnet restore operation fails. The output of the aforementioned command is the following:
/usr/share/dotnet/sdk/2.1.301/NuGet.targets(114,5): error : Unable to load the service index for source https://api.nuget.org/v3/index.json. [/home/ryuzakyl/Desktop/CSharpWithVSCode/test/CSharpWithVSCode.Tests/CSharpWithVSCode.Tests.csproj]
/usr/share/dotnet/sdk/2.1.301/NuGet.targets(114,5): error : Response status code does not indicate success: 407 (Proxy Authentication Required ( Forefront TMG requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )). [/home/ryuzakyl/Desktop/CSharpWithVSCode/test/CSharpWithVSCode.Tests/CSharpWithVSCode.Tests.csproj]
The error messages suggest that this could be related to some proxy configuration issues (HTTP 407 error issued), but I'm perfectly able to install VS Code extensions for C# (C#, Nuget Package Manager, Omnisharp, etc.) behind the corporate proxy.
I think the error might be related to the NuGet proxy configuration. I followed these instructions (on Linux the file I used was ~/.nuget/NuGet/NuGet.Config), but none of the recommendations worked for me.
In case it helps:
$ uname --all
Linux matrix 4.8.0-53-generic #56~16.04.1-Ubuntu SMP Tue May 16 01:18:56 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
$ dotnet --version
2.1.301
$ code --version
1.30.1
dea8705087adb1b5e5ae1d9123278e178656186a
x64
Thanks in advance ;).
After many attempts, this is what ended working for me.
I had to install nuget command line utility with:
sudo aptitude install nuget
for more details see this post. The next step is to configure nuget to use proxy:
# set proxy
$ nuget config -set http_proxy=http://proxy.com:port
$ nuget config -set https_proxy=http://proxy.com:port
# set username (in my case, the domain name was not necessary)
$ nuget config -set http_proxy.user=username
$ nuget config -set https_proxy.user=username
# set password
$ nuget config -set http_proxy.password=password
$ nuget config -set https_proxy.password=password
The config file where such changes will be stored is ~/.config/NuGet/NuGet.Config. Inside VS Code integrated terminal (Ctrl + `), try to download a package:
$ dotnet add package Newtonsoft.Json
and you should be able to see an output similar to this:
Writing /tmp/tmp2RmRVL.tmp
info : Adding PackageReference for package 'Newtonsoft.Json' into project '/home/ryuzakyl/Desktop/CSharpWithVSCode/src/CSharpWithVSCode.ClassLib/CSharpWithVSCode.ClassLib.csproj'.
log : Restoring packages for /home/ryuzakyl/Desktop/CSharpWithVSCode/src/CSharpWithVSCode.ClassLib/CSharpWithVSCode.ClassLib.csproj...
info : GET https://api.nuget.org/v3-flatcontainer/newtonsoft.json/index.json
info : OK https://api.nuget.org/v3-flatcontainer/newtonsoft.json/index.json 286ms
info : Package 'Newtonsoft.Json' is compatible with all the specified frameworks in project '/home/ryuzakyl/Desktop/CSharpWithVSCode/src/CSharpWithVSCode.ClassLib/CSharpWithVSCode.ClassLib.csproj'.
info : PackageReference for package 'Newtonsoft.Json' version '12.0.1' updated in file '/home/ryuzakyl/Desktop/CSharpWithVSCode/src/CSharpWithVSCode.ClassLib/CSharpWithVSCode.ClassLib.csproj'.
Hope it helps ;)

Liferay DXP patching tool says "Won't be installed: Patch source code is not available"

I installed Liferay DXP SP4, then downloaded and put liferay-fix-pack-de-30-7010.zip into Liferay's patching-tool/patches/ folder, pacthed the Liferay server successfully to level 30, then edited patching-tool/default.properties that way:
patching.mode=source
source.path=/home/nico/liferay-dxp-digital-enterprise-src-7.0-sp4
war.path=../tomcat-8.0.32/webapps/ROOT/
global.lib.path=../tomcat-8.0.32/lib/ext/
liferay.home=../
When I run ./patching-tool.sh info I get:
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
OpenJDK 64-Bit Server VM warning: ignoring option PermSize=256m; support was removed in 8.0
Loading product and patch information...
Product information:
* installation type: source
* build number: 7010
[Fatal Error] :120:26857: XML document structures must start and end within the same entity.
* service pack version:
- available SP version: Not available
- installable SP version: Not available
* patching-tool version: 2.0.6
* time: 2017-10-31 06:59Z
* plugins: no plugins detected
Currently installed patches: de-22-7010
Available patches: de-30-7010
Detailed patch list:
[ s] de-30-7010 :: Currently not installed; Won't be installed: Patch source code is not available :: Built for LIFERAY
Why does it say Won't be installed: Patch source code is not available?
What is wrong in my procedure described above?
As there are two different fixpacks downloadable from Customer Portal, My best guess is that you downloaded "Fixpack 30" and not "Fixpack 30 Source Code". This would neatly explain the message Patch source code is not available. Just add the source fixpack to the patches directory.

Bluemix essentials Eclipse Neon Enide.p2f NodeEclipse 1.0.1 / 1.0.2 Unhandled event loop HTTP Server Unknown code 499 404 compositeContent.xml

I'm trying to do IBM Bluemix essential course.
As per the course instructions, I installed Eclipse (I initially got latest Eclipse version Neon instead of Mars but tried both Mars and Neon as of now for installing NodeEclipse .17, 1.0.1 or 1.0.2 or Enide.p2f file using both File import and Eclipse marketplace for installing Enide.p2f Node eclipse plugin in Eclipse).
One of the instruction (after installing IBM Bluemix plugin for eclipse) says, I need to install "Enide.p2f Eclipse NodeJS plugin" https://marketplace.eclipse.org/content/enidep2f-eclipse-nodejs-ide
I tried Eclipse Marketplace to install this. Searched "node eclipse" and selected the top listing entry for "Nodeeclipse 1.0.2 Nodeeclipse Core & Node.js (nodeeclipse-1)" or even "Enide.p2f for Nodeeclipse 1.0.1" version and clicked installed.
A couple of times, if failed during the resolution process to list the plugin components and Eclipse error log showed that the update site / repository server was not available.
Another method was to install the .p2f file directly File > Import > Install > Install from a file and selected the downloaded .p2f file which I got from here: https://raw.github.com/Nodeclipse/eclipse-node-ide/master/ENodeIDE.p2f
or
http://marketplace.eclipse.org/content/enide-eclipse-nodejs-ide/click
Using the import > install via file method, I'm getting "Unhandled event loop exception" error message as per Eclipse Error logs and it didn't install anything.
Using the market place method, I'm getting the following error mesg (per the screen shot):
For Nodeeclipse 1.0.1
https://i.imgsafe.org/1b1bf4f0fb.jpg
https://i.imgsafe.org/1b1be1c00a.jpg
https://i.imgsafe.org/1b1bc75cfc.jpg
For Nodeeclipse 1.0.2.
https://i.imgsafe.org/1afbf9bf56.jpg
https://i.imgsafe.org/1afa90e4f1.jpg
https://i.imgsafe.org/1af372340c.jpg
Error message:
HTTP Server Unknown HTTP Response Code (499):http://nodeeclipse.org/updates/compositeContext.xml
HttpComponents connection error response code 499.
OR
it shows the Enide.p2f .17, 1.0.1 or 1.0.2 (Whichever you select from the list) to install the plugin:
The following solutions are not available: Nodeclipse 1.0.2
(id=markdown.editor.feature.feature.group,
org.nodeclipse.pluginslist.feature.feature.group,
gitaddon.feature.feature.group,
de.bastiankrol.startexplorer.feature.feature.group,
com.eclipsesource.jshint.feature.feature.group,
org.nodeclipse.feature.group,
org.nodeclipse.enide.editors.jade.feature.feature.group,
org.chromium.sdk.feature.group, net.mihai-nita.ansicon.feature.group,
org.chromium.debug.feature.group,
pm.eclipse.editbox.feature.feature.group,
site=http://www.nodeclipse.org/updates/)
With Eclipse Mars, I'm getting the same behavior. More info on this can be found here as well: https://www.ibm.com/developerworks/community/forums/html/topic?id=76a96fa4-1086-41a7-94a6-4326f79dfacb&ps=#repliesPg=0
Did anybody else face this similar issue and what should i do to resolve it.
"https://marketplace.eclipse.org/content/enidep2f-eclipse-nodejs-ide"looks like an update site so I tried the Help->Install New Software... I then entered the address as a new update site but it failed as well...

Resources