RainLoop / rainloop-webmail

Simple, modern & fast web-based email client
http://rainloop.net
MIT License
4.11k stars 893 forks source link

macOS High Sierra server installation issues #1677

Open j-beda opened 6 years ago

j-beda commented 6 years ago

RainLoop version, browser, OS: v 1.11.3, Safari, macOS 10.13.4 High Sierra, Server.app v5.6

Expected behavior and actual behavior: Expected to install, web app does not show up in Server.app

Following the excellent Wiki instructions by jimafrost at https://github.com/RainLoop/rainloop-webmail/wiki/How-to-install-Rainloop-on-MacOS-X-Server I am unable to get Server.app to recognize the web app as detailed in "Step 3".

I used vi to create the file /Library/Server/Web/Config/apache2/webapps/com.github.rainloop.plist and filled it with the plist info detailed in the Wiki, but the Server.app does not give me the new rainloop web app to select in "Step 4". Examining the existing plist files such as com.example.mywebapp.plist and com.apple.webapp.wsgi.plist I do not see any obvious errors in the plist file as detailed by jimafrost in the Wiki instructions. Permissions and ownerships for all the plist files are identical.

I have tried changing the ownership and/or permissions on the file /usr/local/www/rainloop/httpd.rainloop.conf which was created in "Step 2", but that does not have any effect on the listed web apps in Server.app.

Does anyone have any insight to installing on macOS running Server.app v5.6?

AnnoyingTechnology commented 6 years ago

I'd say don't bother. Apple has been dropping support for "pro" features for a while now. This fall, they will be dropping even more server oriented features.

In fall 2018, Apple will stop bundling open source services such as Calendar Server, Contacts Server, the Mail Server, DNS, DHCP, VPN Server, and Websites with macOS Server. These open-source services are still included in macOS Server 5.6. For new installations of macOS Server, these services will no longer be visible in the sidebar of the Server app https://support.apple.com/en-us/HT208312

It would probably be wiser to invest time installing on a server-proofed distribution, with a clear future, such as Debian, RedHat or Ubuntu. In a virtual machine if need be.

j-beda commented 6 years ago

A valid point, but I am still interested in some insight to the problem I have rather than a recommendation to abandon the task.

treimers commented 6 years ago

Hi,

I found the website with the instructions here: https://github.com/RainLoop/rainloop-webmail/wiki/How-to-install-Rainloop-on-MacOS-X-Server

I was facing the same problem and I figured out that there is a typo in one of the files /Library/Server/Web/Config/apache2/webapps/com.github.rainloop.plist:

<key>installationIndicatorFilePath</key>
<string>/usr/local/rainloop/httpd.rainloop.conf</string>

I think it should read

<key>installationIndicatorFilePath</key>
<string>/usr/local/www/rainloop/httpd.rainloop.conf</string>

I changed this on my machine and now the Rainloop Web App shows up in the Server App and I was able to run the configuration wizard!