Bug 42246 - Provide etherpad as Docker App
Provide etherpad as Docker App
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.1
Other Linux
: P5 enhancement (vote)
: ---
Assigned To: Felix Botner
Eduard Mai
:
: 41099 (view as bug list)
Depends on:
Blocks: 42243
  Show dependency treegraph
 
Reported: 2016-09-05 07:08 CEST by Stefan Gohmann
Modified: 2023-03-25 06:42 CET (History)
2 users (show)

See Also:
What kind of report is it?: Release Management
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2016-09-05 07:08:22 CEST
The etherpad App should be provided as Docker App.
Comment 1 Dirk Wiesenthal univentionstaff 2016-09-16 10:40:52 CEST
 Update etherpad to 1.6.0
Comment 2 Dirk Wiesenthal univentionstaff 2016-09-16 10:41:06 CEST
*** Bug 41099 has been marked as a duplicate of this bug. ***
Comment 3 Dirk Wiesenthal univentionstaff 2016-09-26 10:39:37 CEST
New ini file online. Migration works by just using the old database. One problem would be plugins etc. but those did not work in the old App version. So in order to get plugins, one needed to do it manually by copying files. (Or something like that, in fact, I do not know what to do. But the admin interface could not install plugins)

Some issues were fixed in Bug#42498, Bug#42485, Bug#42488.

The ini file has to be updated to this errata level once they are released.
Comment 4 Felix Botner univentionstaff 2016-10-12 19:02:33 CEST
* there is no icon in UMC?

* Maybe we could make the directory /opt/etherpad-lite/node_module writable for 
  the etherpad-systemuser user. This is required for the installation of plugins
  via etherpad/admin/ as etherpad user (the etherpad process runs as 
  etherpad-systemuser)

* I see a lot of these error messages (host/container apache error.log)

[error] [client 192.168.0.68] (20014)Internal error: proxy: error reading status line from remote server 127.0.0.1:40002, referer: http://10.200.7.150/etherpad/p/sddasdsadsfdsfdsfdsadsadsadsdsadsaddda
Internal error: proxy: error reading status line from remote server 127.0.0.1:40002
(20014)Internal error: proxy: error reading status line from remote server 127.0.0.1:9001, referer: http://10.200.7.150/etherpad/p/sds

and sometimes i get 

An error occured
The error was reported with the following id: 'vo0rL31nkQFDjPMit2jH'

Please press and hold Ctrl and press F5 to reload this page, if the problem persists please send this error message to your webmaster:
'ErrorId: vo0rL31nkQFDjPMit2jH
URL: http://10.200.7.150/etherpad/p/eee
UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:48.0) Gecko/20100101 Firefox/48.0
TypeError: pad.collabClient is null in http://10.200.7.150/etherpad/javascripts/lib/ep_etherpad-lite/static/js/pad.js?callback=require.define at line 266'

in my browser.
etherpad.log
[CREATE] Pad "eee": Client kLa5Y0Xbl9SSKdUZAABT with IP "127.0.0.1" created the pad
[2016-10-12 18:58:45.512] [INFO] access - [CREATE] Pad "eee": Client kLa5Y0Xbl9SSKdUZAABT with IP "127.0.0.1" created the pad
[2016-10-12 18:58:45.525] [INFO] access - [LEAVE] Pad "eee": Author "a.Bdg0vQewEnEAUVCG" on client kLa5Y0Xbl9SSKdUZAABT with IP "127.0.0.1" left the pad
[2016-10-12 18:58:45.525] [INFO] access - [LEAVE] Pad "eee": Author "a.Bdg0vQewEnEAUVCG" on client kLa5Y0Xbl9SSKdUZAABT with IP "127.0.0.1" left the pad
[2016-10-12 18:58:45.533] [WARN] client - TypeError: pad.collabClient is null -- { errorId: '8YuB9vnyUWXhnMMFJMMk',
  msg: 'TypeError: pad.collabClient is null',
  url: 'http://10.200.7.150/etherpad/p/eee',
  linenumber: 266,
  userAgent: 'Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:48.0) Gecko/20100101 Firefox/48.0' }
[2016-10-12 18:58:45.533] [WARN] client - TypeError: pad.collabClient is null -- { errorId: '8YuB9vnyUWXhnMMFJMMk',
  msg: 'TypeError: pad.collabClient is null',
  url: 'http://10.200.7.150/etherpad/p/eee',
  linenumber: 266,
  userAgent: 'Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:48.0) Gecko/20100101 Firefox/48.0' }

a browser reload fixes this

* do we need to make /opt/etherpad-lite/settings.json persistent?
Comment 5 Felix Botner univentionstaff 2016-10-12 19:11:47 CEST
(In reply to Felix Botner from comment #4)
> * I see a lot of these error messages (host/container apache error.log)
> 
> [error] [client 192.168.0.68] (20014)Internal error: proxy: error reading
> status line from remote server 127.0.0.1:40002, referer:
> http://10.200.7.150/etherpad/p/sddasdsadsfdsfdsfdsadsadsadsdsadsaddda
> Internal error: proxy: error reading status line from remote server
> 127.0.0.1:40002
> (20014)Internal error: proxy: error reading status line from remote server
> 127.0.0.1:9001, referer: http://10.200.7.150/etherpad/p/sds
> 
> and sometimes i get 
> 
> An error occured
> The error was reported with the following id: 'vo0rL31nkQFDjPMit2jH'
> 
> Please press and hold Ctrl and press F5 to reload this page, if the problem
> persists please send this error message to your webmaster:
> 'ErrorId: vo0rL31nkQFDjPMit2jH
> URL: http://10.200.7.150/etherpad/p/eee
> UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:48.0) Gecko/20100101
> Firefox/48.0
> TypeError: pad.collabClient is null in
> http://10.200.7.150/etherpad/javascripts/lib/ep_etherpad-lite/static/js/pad.
> js?callback=require.define at line 266'
> 
> in my browser.
> etherpad.log
> [CREATE] Pad "eee": Client kLa5Y0Xbl9SSKdUZAABT with IP "127.0.0.1" created
> the pad
> [2016-10-12 18:58:45.512] [INFO] access - [CREATE] Pad "eee": Client
> kLa5Y0Xbl9SSKdUZAABT with IP "127.0.0.1" created the pad
> [2016-10-12 18:58:45.525] [INFO] access - [LEAVE] Pad "eee": Author
> "a.Bdg0vQewEnEAUVCG" on client kLa5Y0Xbl9SSKdUZAABT with IP "127.0.0.1" left
> the pad
> [2016-10-12 18:58:45.525] [INFO] access - [LEAVE] Pad "eee": Author
> "a.Bdg0vQewEnEAUVCG" on client kLa5Y0Xbl9SSKdUZAABT with IP "127.0.0.1" left
> the pad
> [2016-10-12 18:58:45.533] [WARN] client - TypeError: pad.collabClient is
> null -- { errorId: '8YuB9vnyUWXhnMMFJMMk',
>   msg: 'TypeError: pad.collabClient is null',
>   url: 'http://10.200.7.150/etherpad/p/eee',
>   linenumber: 266,
>   userAgent: 'Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:48.0) Gecko/20100101
> Firefox/48.0' }
> [2016-10-12 18:58:45.533] [WARN] client - TypeError: pad.collabClient is
> null -- { errorId: '8YuB9vnyUWXhnMMFJMMk',
>   msg: 'TypeError: pad.collabClient is null',
>   url: 'http://10.200.7.150/etherpad/p/eee',
>   linenumber: 266,
>   userAgent: 'Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:48.0) Gecko/20100101
> Firefox/48.0' }
> 
> a browser reload fixes this
> 
> * do we need to make /opt/etherpad-lite/settings.json persistent?
seems to be a known problem, https://github.com/ether/etherpad-lite/issues/3047

but i'm not sure about the apache errors?
Comment 6 Felix Botner univentionstaff 2016-10-12 19:12:24 CEST
ah and please provide a simple step-by-step guide for the migration
Comment 7 Dirk Wiesenthal univentionstaff 2016-10-14 01:15:49 CEST
Icon: Fixed
Plugins: Done
Errors: Basically Bug#41099. Do you think we should use 1.5.7 instead? I had this issue now, too (but not before you mentioned it). It should be some timing problem, happened only with opened Dev Tools (which slows down the whole process) and was "gone" after reloading twice. Kind of a show stopper, no?
Settings: I could make the settings.template persistent (better not settings iteself). But this is not intuitive, so one would have to write it into a README. Do you think it will really help someone?
How To: Different bug, but yes, I shall
Comment 8 Felix Botner univentionstaff 2016-10-18 10:32:21 CEST
(In reply to Dirk Wiesenthal from comment #7)
> Icon: Fixed
OK

> Plugins: Done
OK

> Errors: Basically Bug#41099. Do you think we should use 1.5.7 instead? I had
> this issue now, too (but not before you mentioned it). It should be some
> timing problem, happened only with opened Dev Tools (which slows down the
> whole process) and was "gone" after reloading twice. Kind of a show stopper,
> no?
NO, i think we should wait for a new upstream version ... (and go on with 1.6.0 for now)

> Settings: I could make the settings.template persistent (better not settings
> iteself). But this is not intuitive, so one would have to write it into a
> README. Do you think it will really help someone?
> How To: Different bug, but yes, I shall
OK, settings and plugins are not backuped, if that is the will of the people ...
Comment 9 Dirk Wiesenthal univentionstaff 2016-10-19 12:12:19 CEST
Published with RequiredUCSVersion=4.1-3 errata293
Comment 10 Felix Botner univentionstaff 2016-12-14 12:05:48 CET
TODO docker migration, please add a migration guide to the wiki and set Dockermigrationlink in the app's ini
Comment 11 Nico Gulden univentionstaff 2017-02-15 14:09:30 CET
What is the status of the migration guide?
Comment 12 Nico Gulden univentionstaff 2017-08-01 11:22:32 CEST
Requested in the forum: https://help.univention.com/t/etherpad-lite-for-4-2/6313
Comment 13 Felix Botner univentionstaff 2017-08-02 16:52:35 CEST
Added 

http://wiki.univention.de/index.php?title=Etherpad-lite_App_Migration

if this is OK, i set DockerMigrationLink on the docker version.

QA
UCS 4.1 with native etherpad App
-> univention-app install etherpad-lite=1.5.6-2

and migration to docker version according to http://wiki.univention.de/index.php?title=Etherpad-lite_App_Migration
Comment 14 Eduard Mai univentionstaff 2017-08-02 18:21:59 CEST
(In reply to Felix Botner from comment #13)
> Added 
> 
> http://wiki.univention.de/index.php?title=Etherpad-lite_App_Migration

Successfully migrated etherpad-lite=1.5.6-2 to docker version with the guide.
Comment 15 Eduard Mai univentionstaff 2017-08-03 12:32:45 CEST
As already mentioned everything works fine. Please add to migration guide to the app description.
Comment 16 Felix Botner univentionstaff 2017-08-03 15:13:56 CEST
Done
Comment 17 Eduard Mai univentionstaff 2017-08-03 15:14:26 CEST
As discussed, VERIFIED