TrueNAS Core Nextcloud 23.0.2 Plugin update -> 27.0.2

A nextcloud plugin in a TrueNAS Core system that hadn’t been updated is well, a problem. If you update the Plugin it will go straight to Nextcloud 27 which well you can’t do an update like that. So here’s what we did.

Update to the latest version of 23 in the web browser and proceed with this until you get to version 25. You will notice that you cannot get past here if you’re on a Jail running 12.2 because it has PHP74 installed by default with the original Nextcloud package.

After this point you have to install PHP 8. But doing so will try and remove nextcloud-php74 package which would remove Nextcloud of course and kinda make the whole thing pointless so, we need to force that to remain installed while we gut PHP and reinstall PHP 8.

Lock the nextcloud package, we don’t want to remove it.

pkg lock nextcloud-php74

Install PHP80

pkg install php80-bcmath php80-bz2 php80-ctype php80-curl php80-dom php80-exif php80-fileinfo php80-filter php80-gd php80-gmp php80-iconv php80-intl php80-ldap php80-mbstring php80-opcache php80-pcntl php80-pcntl php80-pdo_mysql php80-pecl-APCu php80-pecl-imagick php80-pecl-redis php80-posix php80-session php80-simplexml php80-xmlreader php80-xmlwriter php80-xsl php80-zip php80-zlib

Restart FPM to reload the web UI:
/usr/local/etc/rc.d/php-fpm restart

Perform the update through to v27 from the Web UI.

Update the plugin in TrueNAS Core once the web UI update completes. THIS WILL FAIL.

Once it fails, log back into the console and manually uninstall/install the following:

pkg unlock nextcloud-php74
pkg remove nextcloud-php74-23.0.2
pkg install nextcloud-php80 nginx mysql80-server redis php80-pecl-redis wget rsync

Now, the included nextcloud version is 27.0.0 and we’re already above that and downgrading is not supported so, we need to pull the archive from nextcloud and copy over our install;

mkdir /root/scratch
cd /root/scratch
wget https://download.nextcloud.com/server/releases/latest.tar.bz2
tar -xjvf latest.tar.bz2
rsync -avz /root/scratch/nextcloud/ /usr/local/www/nextcloud/

Now we need to fix some permission:

cd /usr/loca/www
chown www:www nextcloud
cd nextcloud
chown -R www:www .htaccess .user.ini 3rdparty/ apps AUTHORS config/ console.php COPYING core/ cron.php dist/ index.html index.php lib/ occ ocm-provider/ ocs* public.php remote.php resources/ robots.txt status.php themes/ updater/ version.php

Now start redis and mysql and, restart fpm;

/usr/local/etc/rc.d/redis start
/usr/local/etc/rc.d/mysql-server start
/usr/local/etc/rc.d/php-fpm restart

All done, easy right? LOL.

NEC-i SV8100 PBX another SIP / Asterisk Integration quirk


I’ve posted a few of these just for mental storage as well as making a public point that should be easily searched for when you’re racking your brain on why something doesn’t interoperate properly.

Here’s the latest;

NEC’s 8000 series PBXs that “support” SIP will fail to respond to Asterisk SIP/200 OKs after they place a INVITE if the asterisk UserAgent string contains at least parenthesis or dashes.

E.g:

sip.conf / [general]

useragent=asterisk-(11.7.0)

Will cause the NEC to fail to respond correctly to SIP/200

instead use something like:

useragent=11.7.0

Oh how those in power have failed us…all.


Let’s talk about the word `change`.  Mr. Obama used this word as the corner stone of his campaign.  He had thousands of people shouting it and millions wearing it either on their close or on their bumpers.  How easy these sheep were led into believing that he wasn’t like every other politician but worse…

While it is impossible to convince the persons who voted for him that this is true there are many things to remember here.  Hillary Clinton… Not change.  Tom Daschle… Not change. Raul Grijalva… Not change.  So I ask you Mr. Obama (No you’re not Mr. President yet), how do you explain this blatent lying to the public regarding your campaign?  Supports of Mr. Obama, how do you feel about being lied to?

Hillary Clinton – Yes she was married to William Clinton who many regard as a good president.  But the fact is… She is not William Clinton and she is a bit.. .emotional which isn’t a good thing in a position of power.

Tom Daschle – A lobbyist (aka in someones pocket).

Raul Grijalva – Votes against democracy. Yes I know it is a oxymoron but he started it…  This guy is as crooked and left as they get.

The entire Democratic party are liars, and no I’m not overstating the facts here.  You have state representatives who vote for bail outs that the very people they are elected to represent say no.. (Gabriel Giffords for me).

Unbelievable sad state of affairs we have here.

-S

Installing a proper Ubuntu 8.10 copy on the new Dell Inspiron Mini 9


This is the fine work of Ehud G. over @ http://www.myehud.com

The Problem

The real problem is that Dell ships the laptop with a few choices that I didn’t like.

  1. They use the LPIA (Low Power Intel Architecture) version instead of i386. What this means is that about 80% of the software I want doesn’t yet exist in a repository of this architecture. It also means that the repositories are all at Dell instead of all over the world like Ubuntu’s.
  2. They install some of the Netbook Remix stuff, which I’m sure is good for new people, but it annoys me that half my screen real-estate is tied up with ginormous icons.
  3. Their version of the WiFi driver prevents ssh working (client or server) unless you do the magic incantation (“iwpriv eth1 set_vlanmode 0”)
  4. They lock the upper menu bar to the top of the screen.
  5. Presumably because of all the customization, they are shipping a six month old version.

The Solution

Continue reading

James Bond is a serious wussy


Daniel Craig on screen is a decent James Bond however, off screen he is by far one of the worst.  Shortly after Casino Royale there was talk of him wanting to do a gay seen in the next Bond.  Now, there is him complaining about shooting the movie and how difficult it was etc. etc. http://weename.com/2QIVSI

Excuse me Mr. Bond, I’m not sure how having to work a few hours a day, geting some nicks and scratches ( yes 8 stitches is just a scratch, call me when you need 40).  What happened to being a *MAN* off camera? how are we supposed to believe you are this debonaire guy on screen but then be the biggest pussy off?

*sigh* how the great have fallen.

-Scott

CNN + Buzzwords = Holy crap you’re retarded.


CNN should probably look up the definition of what a hologram is before using the word over and over to describe something that is nothing more than a green screen video inlay.

Great job guys, once again proving that you really are as dumb as you look.

http://weename.com/2PRPV0