"The Last Hope" Uninstall and re-install

Hiya folks

In a last desperate attempt
I purge dolibarr
and try to reinstall…

hi,
First try to install it with apt-get so all dependencies would be fetched

sudo apt-get install dolibarr

then you could fetch the latest version from sourceforge and replace the content of the dolibarr folder.

in last resort don’t use the installer, fetch the directory from SourceForge and add it to Apache
- quick and DURTY is to place the dolibarr directory in /var/www/html
- Proper way is to use the conf/sites-enabled of Apache

br

1 Like

Well thank you, but that didn’t work…

See the error? I keep getting that.


And then I realize, shit, apache2 isn’t installed?
I try reinstall it… but dolibarr is creating trigger errors within the apache2 error? ze fuck?

Ok, I’ve tried the whole reinstall process about 10 times, with synaptic, ran autoclea, autoremove, install -f for dependencies, restarted the apache2 service…

Here is the narrowed down issue:

???

How that’s what I get from localhost/dolibarr

:laugh: :laugh: :unhappy:

(trying to attach file)

Hold on I can’t attach files anymore?

(…)

hi,

Clearly PHP is not installed. Use on the terminal there is apparently issue with synaptic.

sudo apt-get remove dolibarr --purge
sudo apt-get remove apache2 --purge
sudo apt-get install apache2 php mysql-server libapache2-mod-php php-mysql php-curl php-gd php-intl php-json php-mbstring php-mcrypt php-xml php-zip dolibarr

Br

1 Like

Thank you, but incorrect! (see screenshot, all php modules are already isntalled… yet when I go to localhost/phpmyadmin … 404)

La pièce jointe Screenshotfrom2018-01-1807-32-50.png est absente ou indisponible

apache2_invoke: Enable configuration dolibarr
Enabling dolibarr: ok
already enabled
Run /etc/init.d/lighttpd force-reload to enable changes
dpkg: error processing package dolibarr (–configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
dolibarr
E: Sub-process /usr/bin/dpkg returned an error code (1)

And when I run /etc/init.d/lighttpd force-reload

It “work”. (Green “Ok” button)

And when I go to localhost/dolibarr, i still get the mess-page… it doesn’t prompt the install login page either

This is the page I meant…

Well this is frustrating… the img upload feature seems to work randomly… or am I getting old and insane…

Hi,

This mess-up page is actually the php code that should have been interpreted by apache PHP, are you sure you don’t have conflit with httpd ?

br.

All is well.

The problem was indeed with httpd. It is solved.

(crap everything, read a lot, drink coffee and start over)