How to Install the Latest Version of Rainloop?


#1

Continuing the discussion from Rainloop: How to access their Admin Panel?:

As of July 2017, Rainloop is on version 1.11.1

This github project is using a much older version: https://github.com/mail-in-a-box/mailinabox/pull/883/files


How would I troubleshoot my Rainloop installation?
#2

https://www.rainloop.net/downloads/
or, if you want to add to NextCloud:
https://apps.nextcloud.com/apps/rainloop

There’s also the developer edition on github: https://github.com/RainLoop/rainloop-webmail


#3

Really you just unzip the files into the /home/user-data/www/domain.tld folder of choice and then edit /etc/nginx/conf.d/local.conf and in the domains config next to where it says “index index.html” change to: “index index.html index.php” so that rainloop runs properly. Or if you put rainloop on a different server (Which you can do just as easily):

  1. Download
  2. Unzip on 2nd server (Or hosting provider, which ever) to /var/www/html/rainloop (or mail, etc)
  3. chown the directory with “chown -R www-data:www-data ./.”
  4. go to the server’s domain and login to admin panel: “https://domain.tld/rainloopfolder?admin

Username: admin
password: 12345 (I think?)


#4

I just realised when I rebuilt my server it setup a Debian 8 account. That may have been the problem.

Although, if the configuration is set to default to roundcube, it seems like that would take precedence, no?

I just unzipped it, added index.php to the conf file and chowned the directory but it isn’t working for me.


#5

Forgot to mention you need to restart the nginx service:

systemctl restart nginx.service


#6

@blinkingline

Can you please provide more information on how to enable Rainloop via Nextcloud?

I am stuck on this step:

“After enabling in Nextcloud, go to Nextcloud admin panel”

I don’t know how to enable Rainloop in Nextcloud, nor do I know how to get to the Nextcloud admin panel.

Thanks!


How to access the administrator account for Nextcloud server?
#7

You need to run the owncloudadmin script in the tools directory in the mailinabox dir from when you first ran the MIAB install, make yourself and admin and the NextCloud admin panel will become available in the /cloud interface.


#8

Hi @murgero

I think you are saying:

from root@box:/#
enter cd root/mailinabox/tools or

or from root@box:~#
enter cd mailinabox/tools/

Ubuntu_14.04 owncloud-9.1.6-1.1
wget -nv https://download.owncloud.org/download/repositories/9.1/Ubuntu_14.04/Release.key -O Release.key
apt-key add - < Release.key

sh -c "echo ‘deb http://download.owncloud.org/download/repositories/9.1/Ubuntu_14.04/ /’ > /etc/apt/sources.list.d/owncloud.list"
apt-get update
apt-get install owncloud

sudo chown -R www-data:www-data /var/www/owncloud/

$ cd /var/www/owncloud/
$ sudo -u www-data php occ maintenance:install --database
"mysql" --database-name “owncloud” --database-user “root” --database-pass
"password" --admin-user “admin” --admin-pass "password"
ownCloud is not installed - only a limited number of commands are available
ownCloud was successfully installed

Is this correct?

references:
https://doc.owncloud.org/server/9.0/admin_manual/configuration_server/occ_command.html#command-line-installation-label
https://doc.owncloud.org/server/9.0/admin_manual/installation/linux_installation.html
https://doc.owncloud.org/server/9.0/admin_manual/installation/installation_wizard.html


#9

No. Mailinabox has a script to make the integrated nextcloud accept an admin account.

“root/mailinabox/tools/owncloud-unlockadmin.sh admin_user@box.example.com


Admin Login - OWNCLOUD
#10

Hi again @murgero ,

Are you saying

enter
cd mailinabox/tools

to get
root@box:~/mailinabox/tools#

at which point you run
owncloud-unlockadmin.sh admin_user@box.example.com

because I get “command not found”


#11

Try ./owncloud-unlockadmin.sh instead. The leading dot-slash should stop the “command not found”.


#12

As root@mail:~/mailinabox/tools#

I entered
./owncloud-unlockadmin.sh root@box.example.com

and got

I am going to unlock admin features for root@box.example.com.
You can provide another user to unlock as the first argument of this script.

WARNING: you could break mail-in-a-box when fiddling around with Nextcloud’s admin interface
If in doubt, press CTRL-C to cancel.

Press enter to continue.
Done.

Next, I navigated to https://box.example.com/cloud in my browser.

I see the login page.

user = the username I use to login to MIAB’s admin panel; e.g., https://box.example.com/box
password = the password I use fo the MIAB admin panel

I don’t see an Apps page or Rainloop.

I went to the Owncloud App store https://apps.owncloud.com/ and searched for Rainloop. Next, I downloaded the latest version as a zip file; e.g., 174842-rainloop.zip. I then returned to my Owncloud page and uploaded the zip file.

I found this installation guide on github, but it appears to be out of date.

If I go into

root@box:/home/user-data/owncloud/me@box.example.com/files I see the zip file.

Next, I unzipped the rainloop zip file

unzip 174842-rainloop.zip

to get:
/home/user-data/www/owncloud/me@box.example.com/files/rainloop

Then, I chowned the directory with
chown -R www-data:www-data ./.

But when I go to the server’s domain and login to admin panel: “https://domain.tld/rainloopfolder?admin” it does not work.

“you have to find a way to get that tar.gz file to /var/www/???/apps/ and then you extract it there and that’s it. that simple. then after that go to you owncloud url and it’ll show up in your apps list, then just enable it.”

So, then I decided to try NextCloud. I see an Apps area. I see the Rainloop app, but I can not see how to enable it. Where is the enable button? http://www.techrepublic.com/article/how-to-add-rainloop-webmail-to-a-nextcloud-server/

After enabling in Nextcloud, go to Nextcloud admin panel, “Additionnal settings” and you will see a “Rainloop webmail” section. There, click on the link to go to the Rainloop admin panel. The default user/password is admin/12345.


#13

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.