Koozali.org: home of the SME Server
Obsolete Releases => SME 9.x Contribs => Topic started by: michelandre on August 24, 2018, 07:41:38 PM
-
Hi all,
I installed a software in July 21st 2018. Now I want to install, on another SME-9.2, the same software in August 2018 following the exact same procédure I used in July. But it doesn't work anymore.
As of 2018-07-25 15:42 (http://mirror.centos.org/centos/6.9/readme)
"This directory (and version of CentOS) is deprecated. For normal users,you should use /6/ and not /6.9/ in your path. Please see this FAQ concerning the CentOS release scheme:
I am trying to install postgresql92 (https://wiki.contribs.org/Software_Collections:PostgreSQL) but it looks like it is no more available.
I can install: rh-postgresql94, rh-postgresql95 and rh-postgresql96.
I think the Contribs (https://wiki.contribs.org/Software_Collections:PostgreSQL) and maybe other Collections needs some refresh? Or where do I go wrong with postgresql92?
Michel-André
-
My server upgraded to v6.10 on July 5th; that's why the centos 6.9 folder now shows the 'deprecated' readme.
# cat /etc/centos-release
CentOS release 6.10 (Final)
# grep centos-release /var/log/yum/yum.log
Feb 19 13:57:59 Updated: centos-release-6-8.el6.centos.12.3.x86_64
Apr 07 07:47:42 Updated: centos-release-6-9.el6.12.3.x86_64
Jul 05 07:08:08 Updated: centos-release-6-10.el6.centos.12.3.x86_64
postgresql92 still appears in the repository in a web browser, but is not available for installation using any command I can figure out:
http://mirror.centos.org/centos/6/sclo/x86_64/rh/
The software collections site still includes postgresql92 install instructions, but also says that it was end-of-life in 2016:
https://www.softwarecollections.org/en/scls/tag/CentOS-6/?search=postgresql&policy=&repo=&order_by=-create_date&per_page=10
There were some radical changes made to the sme wiki page for software collection repositories in November 2016; it looks like the postgreql92 wiki page was never updated to use the new scl repository configurations:
https://wiki.contribs.org/index.php?title=Software_Collections_Repositories&type=revision&diff=32281&oldid=28179
If you're feeling adventurous, you could try installing the scl-postgresql92 repository that is actually used on the wiki page using these notes that have since been removed from the wiki:
https://wiki.contribs.org/index.php?title=Software_Collections_Repositories&oldid=28179#tab=PostgreSQL92
Good luck ;-)
-
Hi mmccarn,
Thank you for your reply.
I resolved the problem of PostgreSQL, I installed RH-PostgreSQL96.
wget https://www.centos.org/keys/RPM-GPG-KEY-CentOS-6
/sbin/e-smith/db yum_repositories set centos-sclo-rh repository \
Name 'Centos - RH Software Collections' \
BaseURL 'http://mirror.centos.org/centos/6/sclo/x86_64/rh/' \
EnableGroups no \
GPGCheck yes \
GPGKey file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 \
Visible no \
status disabled
signal-event yum-modify
yum install -y --enablerepo=centos-sclo-rh rh-postgresql96
For the other problem, it took me a very long time but I found that it was the latest version of NPM causing the problem with LESSC. I installed Node.js-10.5.0 and all was working properly after that.
Michel-André
-
You can use the nodejs repo
/sbin/e-smith/db yum_repositories set nodejs8 \
repository Name 'Node JS 8' \
BaseURL https://rpm.nodesource.com/pub_8.x/el/6/x86_64 \
EnableGroups no GPGCheck no Visible yes status disabled
Latest version is 10
https://rpm.nodesource.com/pub_10.x/
-
Hi ReetP,
Thank you for your reply.
# /sbin/e-smith/db yum_repositories set nodejs8 \
repository Name 'Node JS 8' \
BaseURL https://rpm.nodesource.com/pub_8.x/el/6/x86_64 \
EnableGroups no GPGCheck no Visible yes status disabled
# signal-event yum-modify
# yum install -y --enablerepo=nodejs8 nodejs
BEFORE: AFTER:
node --version // v10.5.0 v8.11.4
npm --version // 6.4.1 5.6.0
less --version // 436 436
lessc --version // 3.8.1 3.8.1
Now Odoo-11 is working properly. My documentation is finished, just have to verify everything again.
But, I don't know if it worths to convert my documentation to a Mediawiki how-to?
- In July it was working properly.
- In August I had to debug and downgrade lessc to make it works.
- I had to use PostgreSQL-10 as RH-PostgreSQL96 was not able to delete/restore the DataBase.
- I think that hey are not too committed to compatibility with required softwares versions...
- Imagine the support for a how-to!
After spending so much time, maybe I should just forget about it and go with Dolibarr which is a breeze to install and is always working properly?
Michel-André
-
Node - yes I'm not sure how much stuff is yet running on 9 or 10.
Remember also that is the RPM you have installed. You can change the actual node version being used using 'n'
npm install -g n
n -h
n latest
n stable
n lts
node -v
You can also modify the npm version too eg
npm -h
Install specific npm version:
Use latest:
npm install -g npm
Use specific version:
npm install -g npm@5.6.0
npm -v
Etc.
If you have it running then document it - someone else may want to play.....
Just add a note box or warning box e.g.
Note Box|This works as of today <date> but development is fast and this may not work tomorrow