Download older versions of GitLab

gitlab-ce was not found

gitlab-ce not found error

If you are on the latest version of your OS, let’s say Ubuntu 24.04.5 for example and you want download an older version of GitLab not included in the default package repository, you can download the .deb file and install it manually. You would want to do that because upgrading to the latest version of GitLab requires one to update selected older GitLab versions.

Access the GitLab Package Manager via this link: https://packages.gitlab.com/ui/browse/gitlab to retrieve the needed version.
For example, you can download version gitlab-ce_14.9.5-ce.0_amd64.deb from the focal distribution of Ubuntu:

    1. Download the .deb file wget https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu/focal/pool/main/g/gitlab-ce/gitlab-ce_14.9.5-ce.0_amd64.deb
    2. Install it dpkg -i gitlab-ce_14.9.5-ce.0_amd64.deb

Repeat until you install the latest version.
Remember to backup between upgrades

Here is my successful upgrade path from gitlab-ce-14.6.0 to 19.5.1

  1. 14.6.0 (Start)
  2. 14.9.5
  3. 14.10.5
  4. 15.0.5
  5. 15.4.6
  6. 15.11.13
  7. 16.3.7
  8. 16.7.8
  9. 16.11.10
  10. 17.0.0
  11. 17.2.9
  12. 17.3.7
  13. 17.5.5
  14. 17.8.7
  15. 17.11.7
  16. 18.2.8
  17. 18.5.1
  18. 18.8.4
  19. 18.11.13
  20. 19.2.9 (noble) instead of focal
  21. 19.5.1 (noble) instead of focal

Set up the Netgear R6300 as an Access Point

Here are the steps to set up an old Netgear R6300 as access point (AP).

  • Login to the Admin portal (192.168.1.1 or routerlogin.net)
  • Click on the Advanced Tab
  • Click on Advanced Setup
  • Click on Wireless Settings
  • Scroll down on the wireless setting page and click on “Use other operation mode”
    Set up Netgear R6300 as Access Point
    NOTE: These instructions were tested on Firmware Version V1.0.2.80_1.0.59

ImportError: libldap_r-2.4.so.2: cannot open shared object file: No such file or directory

Issue: ImportError: libldap_r-2.4.so.2: cannot open shared object file: No such file or directory
Solution: The latest version of your OS may be missing the libldap_r-2.4.so.2 and your software depends on it. Install libldap_r-2.4.so.2 manually.

Head over to http://security.ubuntu.com/ubuntu/pool/main/o/openldap/

sudo wget http://security.ubuntu.com/ubuntu/pool/main/o/openldap/libldap-2.4-2-dbg_2.4.42+dfsg-2ubuntu3.13_amd64.deb	
sudo apt install libldap-2.4-2-dbg_2.4.42+dfsg-2ubuntu3.13_amd64.deb

OR

Head over to http://http.us.debian.org/debian/pool/main/o/openldap/

sudo wget http://http.us.debian.org/debian/pool/main/o/openldap/libldap-2.4-2_2.4.47+dfsg-3+deb10u7_amd64.deb 
sudo apt install libldap-2.4-2_2.4.47+dfsg-3+deb10u7_amd64.deb

ParseError: syntax error, unexpected ‘|’ module content_export_csv

Error:
“ParseError: syntax error, unexpected ‘|’ , expecting ‘;’ or ‘{‘ in Composer\Autoload\{closure}() (line 76 of modules/contrib/content_export_csv/src/ContentExport.php).”

The issue is related to the PHP version and the module in question.
In this case: content_export_csv. The Union Types “: int|array” caused the issue and it is not supported by your PHP version.

Here the line 76 referenced that is giving the error:
"public function getNodeIds(string $nodeType, int $status = 1) : int|array {"


In my case, I simply removed it and I was able to use the module on PHP7.4.
The function now becomes:
“public function getNodeIds(string $nodeType, int $status = 1) {“

Makefile sqlsrv.la Error 1 Ubuntu 22.04


If you are getting this error while trying to install Microsoft Drivers for PHP for SQL server

sudo pecl install sqlsrv 
sudo pecl install pdo_sqlsrv

you should do the following:

First:

Inspect this folder /usr/lib/x86_64-linux-gnu/ and verify that the following file exists: libltdl.la

Second:

If the file does not exist, just run the following command to create a blank file:

touch /usr/lib/x86_64-linux-gnu/libltdl.la

Try to run the pecl command again

sudo pecl install sqlsrv
sudo pecl install pdo_sqlsrv

Third:

If the issue still persists, create a new file and copy the following content to it:
https://www.apt-browse.org/browse/debian/jessie/main/amd64/libltdl-dev/2.4.2-1.11+b1/file/usr/lib/x86_64-linux-gnu/libltdl.la
and try to install the sqlsrv and pdo_sqlsrv again.
then verify that you can see the pdo_sqlsrv module by running:

php -m

Reference
Linux and macOS Installation Tutorial for the Microsoft Drivers for PHP for SQL Server

Install the Microsoft ODBC driver for SQL Server (Linux)