texxasrulez / roundcube-plugin-nextcloud

28 stars 13 forks source link

[bug] session persistent and related compatibility #3

Closed mckaygerhard closed 4 years ago

mckaygerhard commented 6 years ago

hi @texxasrulez i can see this its a very great plugin, in nomaday on owncloud was the hypery2k/owncloud plugin for roundcube respectivelly.

i noted that the session problems persist here, i dont remenber due i not have enought skills but in nomadays on owncloud, the problems was some session variables decription beetween cross domain..

maybe i you see the code at hypery2k/owncloud recently updated by contributions can solve the problem on #2 i have same problem

hoanglongutc commented 6 years ago

Thank you for your contributions. Look forward to the other comments

mckaygerhard commented 6 years ago

i tried and no luck! i study in some degree the code of kolab plugin and other similars but seems i not have enought time/knowled combination to pay enought attention to this.. i'll upgrade my RC install to 1.2 to see if that was a problem and report feedback

texxasrulez commented 5 years ago

I have tried getting this thing to work for so long now. At one time it logged in and logged out. Then with Nextcloud updates, logging in didn't work but logging out worked. Now, neither one works. I am busy with other projects but this is one that I am so looking forward to spending some quality time on and get to working again. This is from messagerie-melanie2 as the original author of this and they have done a great job, I just hope to do it justice for the Nextcloud variety.

Thanks to all for input and interest

mckaygerhard commented 5 years ago

+1

mckaygerhard commented 5 years ago

I suffered for the same, the problem is the stupid update fashion .. as example the owncloud plugin at hypery2k/owncloud works perfect for oc 7, oc 8 and oc 9 but due that "fashion" now with the updates it does not work anymore .. it's a total waste of time to be in "that fashion "

kaerwang commented 4 years ago

Sincerely look forward to perfecting this plugin

texxasrulez commented 4 years ago

I have been fiddling with this as well. It will log out when you logout of Roundcube, which is most important, but still cannot get to login. I am looking forward to it as well

kaerwang commented 4 years ago

I not have enought skills to perfecting this plugin. Unfortunately, this is exactly what I would need.

texxasrulez commented 4 years ago

I do not know what I did, but I started playing with this again and enabled the plugin within Nextcloud and BAM!, it started working.

kaerwang commented 4 years ago

Hello, I recently tried to get roundcube and nextcloud on my own virtual machine. Seeing the plugin you wrote on GitHub, there are some places I would like to ask you. My roundcube version is 1.3.10 and the nextcloud version is 17.0.0.9. The server uses nginx. First, according to your tutorial, I put the downloaded file into the plugins directory and renamed it to nextcloud.

A nextcloud URL and a 24-character random DES key are configured in config.ini.php

Then, add nextcloud to $ config ['plugins'] in the config file of roundcube

Added and enabled the "roundcube_external" application to my nextcloud instance

In nextcloud, edit the config.php file and add the 'roundcube_nextcloud_des_key' attribute with the same DES key.

When everything is ready, it seems that only the reverse proxy is left. (The attachment is my nginx configuration) Then configure your roundcube server according to your reverse proxy documentation

If I put "overwritewebroot" => "/ nextcloud", then I enter an endless loop. If left blank, a CORS error will occur.

Please help me to see what went wrong, thank you very much! ------------------ 原始邮件 ------------------ 发件人: "Gene Hawkins"<notifications@github.com>; 发送时间: 2020年2月25日(星期二) 晚上7:37 收件人: "texxasrulez/roundcube-plugin-nextcloud"<roundcube-plugin-nextcloud@noreply.github.com>; 抄送: "やさしい罪を"<1848518087@qq.com>;"Comment"<comment@noreply.github.com>; 主题: Re: [texxasrulez/roundcube-plugin-nextcloud] [bug] session persistent and related compatibility (#3)

I do not know what I did, but I started playing with this again and enabled the plugin within Nextcloud and BAM!, it started working.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

texxasrulez commented 4 years ago

Post your logs from Nextcloud, Roundcube and your server itself ... I need that info before I can even begin to figure out your issue. I do know this plugin will NOT work if you have differences in your domains. Even one site not being redirected with www in front will cause it to fail. Best practice is to have your RC and NC in subfolders from document root like this: https://www.domain.ltd/mail https://www.domain.ltd/cloud Works like a champ. I will add I did find out why this started logging in and out for me again. I have not had my own server for almost 3 years and have been testing using my companies hosted vps (won't say which hosting company) but this does not work on that system. I recently purchased a VPS with Godaddy which I have full root access and after I installed RC and NC like I always do, it worked again. Only difference is I do not have root access with company server and so I do not know why it has issues there, but for me it works flawlessly