We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

updating a plugin manually | Forum

Topic location: Forum home » Support » General Questions
Unus
Unus Feb 25 '16
hi, I've been reading this manual page

https://docs.oxwall.org/install:update


on the manual update section it is written 

4.Login to Admin Panel and click “Update PLugin DB” button;


where is this "Update Plugin DB" button?


if it doesn't exist anymore, what should I do after step 3. ? cause in the installed plugins panel it still showing that this plugin I want to update it is not updated.


I have tried the following, restart apache2 service (to reset the cache, cause I do not have yet the script which is allowing me to reset the cache)


also, I am thinking to uninstall the current installed plug in and re-install it (this will pick up the new sources/files) however it seems like a really harsh way


thank you

Unus

Steve
Steve Feb 25 '16
Up in the left hand corner of the screen just right of the little house is a little round arrow and on the arrow you will see a 1, 2 or 3 depending on how many updates or what ever other message it has for you...Click on it and a small menu will open up and you should see it there. The manual way is to download the new version and extract it and copy and paste it to the plugin folder you want to upgrade and replace all the files and then go to the admin panel and it will upgrade it that way too.


The Forum post is edited by Steve Feb 25 '16
Unus
Unus Feb 25 '16
Thanks Steve, but I do not think I follow. 

all I am asking is where is that “Update PLugin DB” button which is mentioned in the last step for the __manual plug in update__ procedure. 


even what you are saying about the __manual plug in update__ procedure is not clear.

"and then go to the admin panel and it will upgrade it that way too." 

so going to admin panel after copying the files will upgrade the plug-in automatically?... this is not clear; what steps has to be done after the files are copied over the existing plugin files?

Steve
Steve Feb 25 '16
Go to this page you will see where the update button is.


https://docs.oxwall.org/user-manual:plugins

Unus
Unus Feb 25 '16

if that "Update PLugin DB" is the "Update" link showing next to "Settings" "Deactivate" "Uninstall" then the instructions to update the plug-in manually are wrong.I followed the steps 1. 2. and 3. and then when I went back and clicked "Update" it asked me the FTP login credentials which are needed to upload the files :) so why it needed to upload the file for if I manually copied them over the existing one? that;s the whole point here: I do not want to set up ftp access for a virtual ftp user that has home in the directory where my oxwall site is installed (it is a long and complicated procedure, risky and error prone) but because I have access to the server I can much easier place the updated plugin sources myself so I bypass that ftp login step that the automated update procedure is requiring to place the new sources over the existing one.

so, to me, something is still missing here...

The Forum post is edited by Unus Feb 25 '16
ross Team
ross Feb 25 '16
Update Plugin Db button will appear if you upload newest version of the plugins to ow_plugins folder and override your current folder with the plugin. Did you do that?
Unus
Unus Feb 26 '16
I am not sure what do you mean by "upload newest version". 

I did override the current folder of the plugin with the new sources, which I downloaded myself from the store, but not through the oxwall ftp upload, I did it via winscp console because I have direct access to the server. 

After that the "update plugin Db" button did not show up, I could see still "update, deactive, uninstall" 

tammy harris
tammy harris Feb 26 '16
when you update plugin manual 
ftp the new version to plugin folder then go admin anypage and should be popup say update db

if no popup
look the plugin 
xml versions and plugin db versions see if there the same 
maybe update only half run if there the same numbers
try lower the number in db and try manual update again 


Unus
Unus Feb 26 '16
Tammy, now that makes more sense to me, however... I feel something is missing; I think I might end up looking in the code to see what is it doing to figure out what to expect and how to troubleshoot.


why I am saying that? 
because of this " then go admin anypage and should be popup say update db "

that would mean that every time when I go to admin "anypage" there is a check for every plugin looking in the xml of each plugin and verifying that the version written there is the same with the version of the installed plugin... somehow I doubt the code is doing this :) why? it's an overhead.


The Forum post is edited by Unus Feb 26 '16
tammy harris
tammy harris Feb 26 '16
Well that's how it works and if update dB fails then your


 stuffed can't do anything in admin

The check is only activated plug-ins not deactivated ones

The Forum post is edited by tammy harris Feb 26 '16
ross Team
ross Feb 29 '16
Unus, when you uploaded the new files for the plugin, did you get the message like "do you overwrite the existing files" seems like you did not overwrite the files, 


please try again, the button should appear if you uploaded files to the correct destination and of course if the files have been changed at all. 


Have you tried to update plugin automatically via admin panel, by clicking on update button next to the plugin?

Unus
Unus Mar 2 '16
hi ross, 

I will re-iterate what I have done

1. I have downloaded the plugin new sources, and copied them over the existing ones; I have done that been logged as root/admin on my linux box NOT via the ftp upload which opens up when update from the plugin manager in oxwall is clicked

2. I went then to the plubin manager in oxwall and there I could still see the Update, Deactivate, Uninstall links not the "update db" button


thanks

The Forum post is edited by Unus Mar 3 '16
ross Team
ross Mar 2 '16
Unus, if you pm me the FTP access details, admin website access details and send me the plugin archive along with the license key(just in case) I'll check the issue, keep me updated
Unus
Unus Mar 3 '16
it's ok, I am trying to not get that kind of help. I want to build myself to a higher degree of independence. if I get to the point where I need to give you the ftp access details... I am out of here, it means something is terribly wrong either with me or with this platform :)

besides I think you did not understood what I have said. 

I do not use ftp, I use ssh... I do not upload the new sources via FTP... sorry but it seems you are not reading what I am saying here. that is a bit disappointing.

I will figure this one on my own