-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace ownCloud with Radicale #837
Conversation
Neat. Then the question is: How is it? Does it work well? (For later - We will also need a way to migrate people's data, and we probably will want to not delete owncloud until the user is sure the data is migrated (or backed up) properly.) |
And since this is just a Card/CalDAV server, we'll need some suggestions for how users can see their contacts/calendar in a web client. Also note some parallel work in #764 to move toward ownCloud 9. |
I use it as a daily driver, been working fine here for 6~months. Radicale has been around for a while, it's a solid solution with active development. For carddav I use rcmcarddav (base of #409), and for caldav I use kolab's caldav calendar. Both intergrates great with Roundcube, a seamless solution (no PR incomeing from me for these plugins). Migrations, tbh the user should handle that for own safety. ownCloud has export functions, and most client's has import functions |
Great bit of work. I must say I'm in favor of separating the storage from the frontends. I do think we should look into migrating automatically. People probably expect this. If it is possible it would probably involve a lot of testing. |
rewrite ^/.well-known/host-meta.json /cloud/public.php?service=host-meta-json last; | ||
rewrite ^/.well-known/carddav /cloud/remote.php/carddav/ redirect; | ||
rewrite ^/.well-known/caldav /cloud/remote.php/caldav/ redirect; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO: Since we use the paths /cloud/remote.php/caldav/calendars/
and /cloud/remote.php/carddav/addressbooks/
in our iOS / OS X Mobileconfigs we should redirect those aswell.
Does this feature line |
@jkaberg to add some context would it be viable to post some integrated screenshots? |
@anoma Radicale doesn't have an ui |
Sorry perhaps I misunderstood. The way I read this was that roundcube would have extra visual features after I put some effort into looking and I believe then that the existing I cannot however see anything showing definitively what the calendar view would look like. At a guess this is it? https://blogs.fsfe.org/greve/files/2011/12/roundcubeOrganizer.jpeg For reference my focus is and always will be getting shared contacts, calendar and todo working for my extended family. It is becoming a bit of a grail quest. |
I just had the thought of how great Radicale would be with MAIB, and here I am. Is there any future for this PR? |
I think this has a future, however as at it currently stands there is still a lot of work to do. Here is what I can think of:
|
I'd just like to point out that I'm done with this, my local fork has so much changes I won't bother to rebase/fix. I'll leave this pull open for as long as @JoshData wants, it was merely a proof of concept (that has been working very well) |
@jkaberg would you recommend I install from you repo if I just want it right now and im not willing to wait??:) |
We could use something like this https://github.com/christian-putzke/Roundcube-CardDAV |
(see #409) |
Radicale 2.0 is out: Kozea/Radicale#372 (comment) But, as it appears that NextCloud is Mail-in-a-Box's future, maybe this PR can be closed with regret? |
I'm still interested in this. We moved to Nextcloud mostly because we were forced into it by the ownCloud/Nextcloud fork and staying with whatever was most supported. But I'm interested in reducing Mail-in-a-Box's functionality (from Nextcloud to something less sophisticated) if it is more stable and maintainable and has a smaller surface area for potential bugs and vulnerabilities. |
That's good to hear, I agree. If I can find some time, I'd like to look into it. Not sure when though, not soon. :-/ |
I use the NextCloud storage would not be a happy bunny if it was removed |
Understood, and I know the same applies to other users of Mailinabox as well. However, I am still strongly opposed to keeping Nextcloud in Miab for that reason. I would rather remove Nextcloud and replace it by something that only serves the purpose Miab was made for. Reading https://mailinabox.email/ closely, nothing mentions file sharing in Nextcloud. This is not an oversight. The scope of this project is and has been to provide a mail/contact/calendar server. Nothing more, nothing less. @paradoxbound and everyone else: I hear you, but I'd recommend anyone to install and run Nextcloud on a separate instance anyways. It's a complex product with a lot of attack surface and it follows a totally separate release schedule than Miab. If you do that now and migrate your file sharing data from Miab, then it will be easier later when Miab drops Nextcloud. |
In order to leave Nextcloud Contacts and Calendar, we would need a process to move that data to the new application. I only see a few avenues to do this.
or
|
Either of those paths are OK for me. There's also a third path, where we drop Nextcloud, add new CardDAV software, but discontinue any CalDAV software. (I believe that contacts management are essential for email but calendars are not.) |
I would personally wish to keep caldav if possible. Understandably the use for email would need contacts, but not necessarily include a calendar. I personally use caldav with MIAB. It was a solid bulk of features (email, contacts, calendar) to have in leaving Gmail. It might be that most (all?) carddav servers also do caldav anyway. |
As I said not a happy bunny but I understand the reasoning behind it and it is sound. I have already started a migration to a stand alone Nextcloud. It doesn't seem that difficult at least for me. I will post my results in a few days. If I get the time, I will write a guide. My 2 cents on migration, It should be scripted, it should be part of the MAIB update script and it should be at a well signposted cut off date. I personally am happy messing about on the cmd line but a lot of users aren't. |
Scripting it would require writing some custom code that would enumerate every calendar each user has created and every contact folder the user has created, export it into a format that a new application can take. Create the same folders in the new application for each calendar and import it. Create each contact folder and import it. Without knowing each user's password, we would have to do this based on select queries to owncloud.db (thus having to figure out the format that data is stored and translate it). Alternatively we could instead back up the user MIAB password database, set a new password for each user and use more common interface with carddav/caldav, do the import into the new system. Then restore the user password database. Not an easy feat. It might turn out to be easier to have nextcloud and a new system running at the same time, and provide manual instructions (i.e. export/import with a carddav/caldav client) |
I am not sure if we are losing sight on the original issue of this PR which was to include Radicale as the solution for carddav/caldav. Is that a feasable alternative for Nextcould? It certainly seems to be more in the spirit of this project, and certainly quite useful for most users looking to replace or self-host email/calendar/contacts.... |
To replace Nextcloud with anything would still need transition path for users to get from one to the other. If v0.45 included this PR, and someone updated their box and then found they had no contact/calendar a lot of people would be none to happy. I do think that Radicale (or other) could replace Nextcloud but I was just trying to bring to light that there are other things we need to consider (and reasons why we haven't left Nextcloud already).
You can already do this with MIAB |
@jvolkenant It seems that most of the work to export calendars/contacts from owncloud is already being done in a software project called calcardbackup. This would alleviate the transition such that we only need to worry about the import into the new cal/carddav softare (Radicale or otherwise) |
I tried that tool a few times without success. Might be some settings on my part, or some compatibility with newer nextcloud/cal/card version. I'll take a look at it again when I have some more time. |
I got it working with the following commands: cd /tmp/
git clone https://codeberg.org/BernieO/calcardbackup.git
cd calcardbackup
sudo chown -R www-data:www-data . Then edit Then the following command correctly dumped my ics and vcf files. sudo -u www-data ./calcardbackup "/usr/local/lib/owncloud" |
I haven’t tried
The way I read this suggests that the output of |
z-push config points to a url that was removed. It points to the There may be other fixes needed after I look at it further |
It's a working solution, removes ownCloud aswell
Should probably made it take a backup before removing, and an prettier url for the dav extenions. Eg. /dav/(calendar|contacts) would be easier then /radicale/user@domain.tld/(caldav|carddav)
Fixes #514 ?