MOVE DOLIBARR from 1 MAC to MOJAVE

Hello
UPDATE
I have the 10.0.2 working on the new Mac mini Mojave
(I extracted the zip-file in the folder /Sites/dollibar2/
and then through the browser http://localhost/~maarten/dolibarr2/htdocs/install/index.php
and followed the setup)
and the basic parameters (and modules) are entered!
but of course the actual data is missing from the old 3.2.2 version

SO… HOW do I import the data from the 3.2.2 version?

thanks for helping me out

old topic:
“Hello
I want to move a dolibarr 3.2.2 to a new Mac mini with Mojave
I activated and installed:
- Apache
Server version: Apache/2.4.34 (Unix)
Server built: Feb 22 2019 20:20:11
- PHP 7.1.23
- MySQL 8.0.17
in the install on wiki.dolibarr.org is NO instruction how to install Dolibarr AFTER installing all above
how do I continue?
I create a /Users/username/Sites/dolibarr
can I extract the zip file here?
or in /etc/apache2/dolibarr ?
after extraction of the file of latest version
how can I access Dolibarr
and how do I put my old data in the new version?
on the previous Mac mini it was installed through MAMP (Dolibarr version 3.2.2)
so I don’t know how to do this
can anyone help me?”

Hi,

You should do :
1- install a new dolibarr 3.2.2 on your new PC
2- Import backup of database and document directory
3- Upgrade version by version up to 10.0

You can’t import a 3.2.2 backup on a 10.0 dolibarr

1 Like

Hello ksar

thank you for your answer
I tried to install the 3.2.2 version on my Mojave
extracted the zip file in dolibarr2
made a “documents” directory
made an empty conf.php file

when I tried to access the http://localhost/~maarten/dolibarr2/htdocs/install/index.php
I got this message:

Dolibarr setup is not yet complete.

Click here to finish Dolibarr install process …

when I clicked “finish Dolibarr install process” => I got this error:

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; FormAdmin has a deprecated constructor in /Users/maarten/Sites/dolibarr2/htdocs/core/class/html.formadmin.class.php on line 30

Warning: Cannot modify header information - headers already sent by (output started at /Users/maarten/Sites/dolibarr2/htdocs/core/class/html.formadmin.class.php:30) in /Users/maarten/Sites/dolibarr2/htdocs/install/index.php on line 35

I do not understand what this means

- Apache
Server version: Apache/2.4.34 (Unix)
Server built: Feb 22 2019 20:20:11
- PHP 7.1.23
- MySQL 8.0.17

maybe I must re-install mysql or so

please help
thanks in advance

This is olny warning you can continu.

YOur php version is too new.
If possible use php 5.4 or 5.5

hello ksar

thank you for your quick answer

how can I install php 5.5 when php 7.1.23 is already in macOS Mojave 10.14.6
is there a way to over-install this php version with 5.5

on the php website => https://www.php.net/releases/
I only find files like
PHP 5.5.29 (tar.bz2)
PHP 5.5.29 (tar.gz)
PHP 5.5.29 (tar.xz)
how can I install this on macOS Mojave 10.14.6?

thank you for helping me

No idea, I havn’t a mac.

On google : https://joostvanveen.com/a-29/install-and-configure-multiple-php-versions-on-mojave-with-homebrew