Project

General

Profile

Task #2003

deploy own-/Nextcloud as central upload resource and for document editing (LibO)

Added by Mike Saunders over 1 year ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Team - Q1/2017
Start date:
Due date:
% Done:

0%

Estimated time:

Description

There are various LibreOffice-related events going on, with some great photos which can be used in promotional and marketing materials, but there's no single resource for the photos. As an example, there are pictures here: https://www.flickr.com/photos/libreitalia/sets/

So:

  • Create a one-stop-shop location to get photos via own-/Nextcloud
  • Make sure that pictures have the right license and credit
  • Maybe create a category system so people can search by date, location, team (eg design, documentation)
  • It should be an upload-only and then admin-review approach, so we're not some anonymous file storage
  • With the new instance, we should extend this to document editing with LibO at the same time

Related issues

Related to Marketing - Task #1333: event calendarIn Progress

Is duplicate of Infrastructure - Task #1872: update own-/Nextcloud and install LibO onlineRejected

History

#1 Updated by Mike Saunders over 1 year ago

Talked to Cloph about setting up a new VM and own/nextCloud, with the possibility of allowing public uploads. Will report back when we have it running.

#2 Updated by Florian Effenberger about 1 year ago

To drive this forward - Mike, do you have means to play with an own/nextCloud instance? At least the latter one IMHO allows for anonymous uploads that can then be made available to the general public.

Not sure about when we can re-deploy our public ownCloud instance, but if we can test somehow in parallel if that would work for us, we can come up with a roadmap.

#3 Updated by Mike Saunders about 1 year ago

  • Status changed from New to In Progress

I've asked Guilhem to set me up a new VM with nextCloud, so will report back when I've got it running.

#4 Updated by Florian Effenberger about 1 year ago

  • Target version changed from Q3/2016 to Q4/2016

#5 Updated by Florian Effenberger about 1 year ago

If Guilhem can provide a VM just with nginx, I am happy to share my (work in progress) Nextcloud setup documentation from my private box. Should be fully scriptale and thus SALT-able :-)

#6 Updated by Florian Effenberger about 1 year ago

  • Description updated (diff)

#7 Updated by Florian Effenberger about 1 year ago

#8 Updated by Florian Effenberger about 1 year ago

  • Is duplicate of Task #1872: update own-/Nextcloud and install LibO online added

#9 Updated by Florian Effenberger about 1 year ago

  • Status changed from In Progress to Rejected

Rejecting as this is essentially the same as #1872

#10 Updated by Florian Effenberger about 1 year ago

  • Subject changed from create central resource for Creative Commons or public domain event photos to deploy own-/Nextcloud as central upload resource and for document editing (LibO)
  • Description updated (diff)
  • Status changed from Rejected to In Progress

#11 Updated by Guilhem Moulin about 1 year ago

Florian Effenberger wrote:

If Guilhem can provide a VM just with nginx, I am happy to share my (work in progress) Nextcloud setup documentation from my private box. Should be fully scriptale and thus SALT-able :-)

I created vm180 for this, and applied salt states ‘templates.vm’, ‘nginx’ and ‘nginx.dhparams’. I'll leave installing & configuring NextCloud to you, then :-)

#12 Updated by Florian Effenberger about 1 year ago

I'll dig out my notes from my private setup and share with you ~tomorrow :-)

The Document Foundation Redmine wrote on 2016-11-23 at 17:27:

I created vm180 for this, and applied salt states ‘templates.vm’,
‘nginx’ and ‘nginx.dhparams’. I'll leave installing & configuring
NextCloud to you, then :-)

#13 Updated by Florian Effenberger about 1 year ago

I had a look, but it seems there's no PHP-FPM installed yet. Do we have a Salt state for it? I can also install it manually, no problem.

#14 Updated by Guilhem Moulin about 1 year ago

You said you wanted only nginx :-P The relevant salt state is `php5`, which is being applied now.

#15 Updated by Florian Effenberger about 1 year ago

Fair enough ;-)
Thanks a lot, I'll have a look tomorrow from LinuxDay or early next week
and deploy my default Nextcloud setup

The Document Foundation Redmine wrote on 2016-11-25 at 10:23:

You said you wanted only nginx :-P The relevant salt state is `php5`,
which is being applied now.

#16 Updated by Florian Effenberger about 1 year ago

Guilhem Moulin wrote:

You said you wanted only nginx :-P The relevant salt state is `php5`, which is being applied now.

Seems there's still something missing ;-)
ps auxw | grep php reveals no running PHP instance, and /etc/php/fpm or /etc/php/7.0/fpm is missing as well
Can you quickly help me out how PHP is invoked in our setup?

#17 Updated by Guilhem Moulin about 1 year ago

Oops sorry, I applied the wrong the salt state: the correct one was `php5.fpm`, not `php5`. Fixed.

#18 Updated by Florian Effenberger about 1 year ago

Oops sorry, I applied the wrong the salt state: the correct one was
`php5.fpm`, not `php5`. Fixed.

No worries. :-)
I also forgot to ask for a MySQL database - can you set one up and mail
me the password?

Sorry for the back and forth, not done VM setup for quite some time :)

#19 Updated by Florian Effenberger about 1 year ago

Sorry, forget to add a heads-up to this ticket - Nextcloud up and running (without LibO integration for the moment)
Mike now reviewing the upload story (anonymous uploads that need to be approved by an admin before download is possible)
Then we migrate existing ownCloud content and see for the LibO integration

#20 Updated by Mike Saunders about 1 year ago

OK, done some work on this:

  • Enabled public uploads, but with hidden files
  • Created dedicated user for it, for custom text on upload screen (and extra security)
  • I should get emails when new files are uploaded (mail is sent out hourly)
  • Plus a bit of themeing and branding

Will send an example link round in private.

#21 Updated by Mike Saunders about 1 year ago

Could use these to populate one of the Events folders, as an example:

https://blog.documentfoundation.org/pictures/

#22 Updated by Mike Saunders about 1 year ago

By tweaking the Nextcloud installation slogan, I've added links to our Impressum and Privacy Policy at the bottom:

https://vm180.documentfoundation.org/index.php/s/WWvBoxGFZofHpat

I'll talk through a couple of other infra things with Guilhem, but I think this is almost ready to go...

#23 Updated by Florian Effenberger about 1 year ago

By tweaking the Nextcloud installation slogan, I've added links to our
Impressum and Privacy Policy at the bottom:

https://vm180.documentfoundation.org/index.php/s/WWvBoxGFZofHpat

I'll talk through a couple of other infra things with Guilhem, but I
think this is almost ready to go...

Excellent idea! ;-)
Let's talk about it in Monday's team call - if all is working from your
side, we can fire off IMHO.
Can you check with Guilhem that the box is in the backups?

#24 Updated by Klaus-Jürgen Weghorn about 1 year ago

Mike Saunders wrote:

By tweaking the Nextcloud installation slogan, I've added links to our Impressum and Privacy Policy at the bottom:

The link to TDF-page at the bottom doesn't work right. IMO it should show to http://www.documentfoundation.org/

#25 Updated by Klaus-Jürgen Weghorn about 1 year ago

Is it possible to get a TDF-affiliated background at the starting page [1]?

[1] https://vm180.documentfoundation.org/index.php/login

#26 Updated by Klaus-Jürgen Weghorn about 1 year ago

Klaus-Jürgen Weghorn wrote:

Is it possible to get a TDF-affiliated background at the starting page [1]?

[1] https://vm180.documentfoundation.org/index.php/login

.. and the right favicon?

#27 Updated by Mike Saunders about 1 year ago

Klaus-Jürgen Weghorn wrote:

Is it possible to get a TDF-affiliated background at the starting page [1]?

[1] https://vm180.documentfoundation.org/index.php/login

Yes, I've added the LO motifscatter background now.

.. and the right favicon?

I've just sent a proper LO one to Guilhem to replace the current one.

The link to TDF-page at the bottom doesn't work right. IMO it should show to http://www.documentfoundation.org/

That's not something we can change without manually poking around inside the PHP, by the looks of it. We may be able to work on a custom theme later, but for now I think we just need to get the essential branding and links (Impressum, Privacy) in place to make this work...

#28 Updated by Guilhem Moulin 12 months ago

Florian Effenberger wrote:

Can you check with Guilhem that the box is in the backups?

It wasn't, but it's now fixed :-) (Both the database and the uploaded files are now under backup.)

#29 Updated by Florian Effenberger 12 months ago

It wasn't, but it's now fixed :-) (Both the database and the uploaded
files are now under backup.)

Thanks!

#30 Updated by Mike Saunders 12 months ago

  • Target version changed from Q4/2016 to Q1/2017

This is pretty much ready to go now (for the public uploads), but bumping into early January so that we don't have to monitor it closely over the Christmas break.

#31 Updated by Mike Saunders 11 months ago

This has all been set up now, so I've created a short URL and sent it to marketing-priv@ for testing. Once we have some photos and feedback, and know it's all working well, we can go public with it.

#32 Updated by Mike Saunders 11 months ago

No uploads so far, but some people have said they will upload pics. Some concerns about lack of information on the upload page -- this is hard to customise without manually editing the PHP. I'll investigate before FOSDEM and keep poking people to upload their pics from that event.

#33 Updated by Florian Effenberger 11 months ago

No uploads so far, but some people have said they will upload pics. Some
concerns about lack of information on the upload page -- this is hard to
customise without manually editing the PHP. I'll investigate before
FOSDEM and keep poking people to upload their pics from that event.

I think customizing indeed will be a problem, we can not do more than
adding a link to a wiki page explaining things

#34 Updated by Mike Saunders 11 months ago

We've had one batch of uploads from a community member so I will investigate this after LO 5.3 launch. I will promote the service during and after FOSDEM so that we get more picture uploads.

#35 Updated by Mike Saunders 10 months ago

Talked to Guilhem at FOSDEM about this and we may have some options for custom theming, to provide more information on the upload page, that won't be overwritten when we perform updates. Will investigate more.

#36 Updated by Florian Effenberger 9 months ago

IMHO this ticket is dealt with, can it be closed?

#37 Updated by Florian Effenberger 9 months ago

Florian Effenberger wrote:

IMHO this ticket is dealt with, can it be closed?

To add on that - one further ticket, installing LibO online in Nextcloud, should be setup for Q2 then; but the rest seems done?

#38 Updated by Mike Saunders 9 months ago

Florian Effenberger wrote:

IMHO this ticket is dealt with, can it be closed?

To add on that - one further ticket, installing LibO online in Nextcloud, should be setup for Q2 then; but the rest seems done?

Yes, I think it makes sense to close this and set up a new one for online collaboration.

#39 Updated by Mike Saunders 8 months ago

  • Status changed from In Progress to Closed

Closing this now as it has been done.

Also available in: Atom PDF