Try the fastest and simplest way to install ONLYOFFICE

[Solved] Plugins for Onlyoffice doesn't appears

Issues during installation, usage and configuring

[Solved] Plugins for Onlyoffice doesn't appears

Postby alexis.rosano » Tue Dec 19, 2017 1:27 pm

Hi all!

I'm following this article https://api.onlyoffice.com/plugin/installation (precisely step 1) to add the template plugin.

I've added the plugin folder to /var/www/onlyoffice/documentserver/sdkjs-plugins in my docker instance (attachment)

But, I can't see the plugin in the Onlyoffice installation (attachment).

I'm forgetting something? I've already logout, restart Apache, restart docker instance but without success. BTW: I've deleted a folder and it does not appear anymore.

Regards.
Attachments
screenshot-192.168.52.146-2017-12-19-10-14-43.png
screenshot-192.168.52.146-2017-12-19-10-14-43.png (151.97 KiB) Viewed 750 times
Screenshot from 2017-12-19 10-10-52.png
Screenshot from 2017-12-19 10-10-52.png (46.63 KiB) Viewed 750 times
Last edited by alexis.rosano on Thu Dec 21, 2017 12:51 pm, edited 1 time in total.
alexis.rosano
 
Posts: 27
Joined: Wed Nov 01, 2017 8:25 pm

Re: Plugins for Onlyoffice doesn't appears

Postby Maxim » Tue Dec 19, 2017 2:02 pm

Hello alexis.rosano!
1. What version of Document Server is running?
2. Where did you get plugins?
There is one moment - plugins must be the same version as Document Server.
Now there is Document Server - 5.0.6 it means that if you download plugins now your doc server should be 5.0.6
Maxim
 
Posts: 1531
Joined: Tue Oct 11, 2016 2:34 pm

Re: Plugins for Onlyoffice doesn't appears

Postby alexis.rosano » Tue Dec 19, 2017 2:06 pm

1. Onlyoffice Document Server is 5.0.6
2. Plugins from: https://github.com/ONLYOFFICE/sdkjs-plugins, precisely: templates and helloworld
alexis.rosano
 
Posts: 27
Joined: Wed Nov 01, 2017 8:25 pm

Re: Plugins for Onlyoffice doesn't appears

Postby alexis.rosano » Thu Dec 21, 2017 11:29 am

May be I have to change the config too?

I've executed the next steps:

1. Download the sdkjs-plugins folder from https://github.com/ONLYOFFICE/sdkjs-plu ... /templates.
2. Compare the files in docker-component:/var/www/onlyoffice/documentserver/sdkjs-plugins/ocr with sdkjs-plugins/ocr
3. Verified that config.json, index.html and ocr.js are equals in both places.
4. Deleted the folder docker-component:/var/www/onlyoffice/documentserver/sdkjs-plugins/ocr
5. Checked in Nextcloud + Onlyoffice that the ocr plugin doesn't appears anymore.
6. Copy sdkjs-plugins/ocr folder from the host to the docker instance with the command

Code: Select all
docker cp ocr c563e3574d97:/var/www/onlyoffice/documentserver/sdkjs-plugins

7. Go to NextCloud -> Onlyoffice -> Plugins.
8. The plugin doesn't appears :cry: :cry: :cry:
alexis.rosano
 
Posts: 27
Joined: Wed Nov 01, 2017 8:25 pm

Re: [Solved] Plugins for Onlyoffice doesn't appears

Postby alexis.rosano » Thu Dec 21, 2017 12:52 pm

It was a permission issue from the host.

Regards!
alexis.rosano
 
Posts: 27
Joined: Wed Nov 01, 2017 8:25 pm

Re: Plugins for Onlyoffice doesn't appears

Postby Maxim » Thu Dec 21, 2017 12:59 pm

Hello alexis.rosano!
My result - OCR plugin
OCR.png
OCR.png (25.84 KiB) Viewed 726 times

1. I took OCR plugin using branch "Master"
2. And installed on the Document Server 5.0.6.14
It works.
Maxim
 
Posts: 1531
Joined: Tue Oct 11, 2016 2:34 pm

Re: [Solved] Plugins for Onlyoffice doesn't appears

Postby alexis.rosano » Thu Dec 21, 2017 2:03 pm

Hello Maxim, thanks for your help.

Now I'm working with the template plugin.

My problem is that I can't see my updates. Example: I deleted the calendar template, but I still see it in the OnlyOffice plugins.

This is the template.js (I delete the line with the calendar and added two more templates developed by me):

Screenshot from 2017-12-21 10-59-06.png
Screenshot from 2017-12-21 10-59-06.png (78.1 KiB) Viewed 721 times


Then I copy the folder to the document server sdkjs-plugins

2.png
2.png (39.98 KiB) Viewed 721 times


But, In the onlyoffice I still seeing the template that I've erased before.

3.png
3.png (160.88 KiB) Viewed 721 times
alexis.rosano
 
Posts: 27
Joined: Wed Nov 01, 2017 8:25 pm

Re: [Solved] Plugins for Onlyoffice doesn't appears

Postby Maxim » Mon Dec 25, 2017 7:59 am

Hello alexis.rosano!
Try to clean browser's cache
Maxim
 
Posts: 1531
Joined: Tue Oct 11, 2016 2:34 pm

Re: [Solved] Plugins for Onlyoffice doesn't appears

Postby alexis.rosano » Tue Dec 26, 2017 2:17 pm

I did it.

The firts time, clean the browser cache works. But then, I added another change but without success (cleaning caché too).

Very strange.
alexis.rosano
 
Posts: 27
Joined: Wed Nov 01, 2017 8:25 pm

Re: [Solved] Plugins for Onlyoffice doesn't appears

Postby alexis.rosano » Wed Dec 27, 2017 12:58 pm

I've already tried:

1- Opening only office in new browsers (without caché)
2- Cleaning cache manually and with bleachbit
3- Uninstalling the onlyoffice docker image.

Everything without success.
alexis.rosano
 
Posts: 27
Joined: Wed Nov 01, 2017 8:25 pm

Next

Return to ownCloud/Nextcloud ONLYOFFICE integration app

Who is online

Users browsing this forum: No registered users and 1 guest