404 not found / Webapp
-
hello,
i am on the work to migrate my old server (ubuntu 16.04) with working kopano to a new server with ubuntu 20.04.
I stuck now on the step after installation of core, files, mdm and webapp.
At the final test the webapp wont show. The URL domain/webapp gives me an 404 error.The server-hosting will be managed over plesk with apache. Maybe there is the problem?
Is there a service for webapp? How to check?
-
I stuck on the next step.
When i try to use http://domain.de/webapp it downloads now an file named “Download”. Inside these file there is the .php file from /usr/share/kopano-webapp. How to fix them?
Before i try to use https://domain.de/webapp. -
@nils50122 Since plesk is involved - good question. In case you find an option in there to install/enable PHP, please use it.
In case you don’t have and are able to use linux shell - please install php 7.4, mod-php, php-mapi and enable php in apache (a2enmod php7.4). In case you cannot enable mod-php you might have to enable php-fpm in apache2 instead. Depends on how plesk is using this as its default…
-
Correct if your web browser client is getting a php file to download, you have not configured your apache setup properly. You’ll need to get PHP working in Apache. phpenmod is part of the solution.
As a building block, you could try the following:
create a php file and put it at the root of your web folder directory, lets say phpinfo.php and add the following
<?php
phpinfo();
?>And from there, ensure you finish your Apache setup proper, with php enabled, and test from there. Once this works, you’ll be closer to get your webapp working.
This by far not the only thing required to get webapp working. If you are installing it manually, you’ll need to configure where the webapp is interfacing to your Kopano install… but this can be all taken in steps, and keeping a close eye to your Apache logs, the debug output is very useful.