Add-on Install & Upgrade

Add-on Install & Upgrade 1.4.3

No permission to download
Getting:

#0 [internal function]: XenForo_Application::handlePhpError(2, 'mkdir(): Permis...', '/home/vhosts/in...', 72, Array)

The full path of the directory the add-on is trying to create is truncated in the error message. I need to know where it tries to upzip things to by default so I can correct permissions issues.
 
Ok, I created a /install/addons directory that has permissions of 777 and I get a little further but again get stopped with the following error while trying to upgrade the Tapatalk plugin.

copy(./library/addon-Tapatalk.xml): failed to open stream: Permission denied
 
A large percentage of my add-on are paid, CTA for example. The downloads for those are not in the resource manager here on Xenforo. Any way we can get those to work?
 
No, but you can download them from here and install them by simply uploading the ZIP file.
 
I upgraded tapatalk but after that it failed to work. Had to do it manually to at least get tapatalk to see it as "ok" again, although still not working (might be tapatalk that part)
 
When start the installation via the Resource Manager URL I get the following error message:

Login to XenForo.com has failed. Make sure you login with your XenForo username and password.

But I am sure the XenForo Username and XenForo Password is correct.
 
i'm not sure if it is supported but whey i try to add a third party resource link it fails to add.

i am trying to add a link to https://*******.com/resources/conversation-live-update.71/

since xenforo has deleted all his resources... i still trust this developer as i haven't had any issues...

if it isn't implemented is there a way you could put it in?
 
I've got some custom addons that I use on a few sites, so they have no resource manager entry on XF. Is there a way I can get this script to check a custom URL (where I can upload the file to), so that I can check from my own resource repository? A remote ZIP would be fine.

edit: I guess not, judging from the reply I spotted above - maybe one day :).
 
Last edited:
I have a lot of upgrade notifications but all of the notifications are for addons that I already upgraded via this plugin. The notifications don't go away unless I "ignore this update" every time. I'm using the latest version of XF and this plugin.
 
@Chris D I'm using an install callback to update some config settings on upgrade. When upgrading via a .zip file, it seems that the add-on's install callback is executed before the add-on's files are replaced, making it impossible for the new code to be run.
 
Are you sure that's the case every time?

I'm aware of a race condition that happens rarely where usually trying again solves the problem.

It's something I am planning to resolve for the next version anyway, but I don't know when that will be ready, yet.
 
In my case it was every time. I was alerted to this behaviour by a user who had trouble upgrading (the upgrade procedure didn't run) and I could reproduce it a couple of times. It confirmed that the upgrade procedure didn't run but I didn't know why. I looked into it and I confirmed that the old version of the file was run by uploading an add-on that writes to a log when its install callback is run. The log showed that it was the original version of the installer that was executed.

By the way, have you identified what that race condition is? I could confirm that it was the old version of the class that was run, but I don't actually know what file is on disk at the time it's run. It's very possible that the class was loaded earlier in the request. Perhaps a call to is_callable() autoloaded the class, or something like that?
 
Any updates on the issue I was having where upgrade notifications are still appearing when I have the latest version of the application installed?
OR at least I ran the upgrader and it didn't give me any errors stating it wasn't installed.
 
Hi there , great addon I use it allot so easy.

Question on occasion I get the error :
Error
The files associated with this add-on could not be found. Please upload them and try again.

On addons the developers say are compatible with your installer. However example the new quiz program
Quiz Master
gives the error the developer just messaged me today saying its compatible. so what is occurring when this error
comes up running you program?

Thanks
 
i believe adding something like this to this add-on will make it even better:

g4YA2.png



Now Audentio Has done this to keep there clients themes up to date, an add one API based links to your account via API key and checks what products you have from them.

with the add one you can install & update the themes on your site without actually uploading it your self.

now i would suggest 2 different options:

Option 1: just enter in your account details Or ApI into one of the all ready pre-configured Known API sites that support this kind of thing

Option 2: Configure the API your self, so if you have paid Addons from a site you know of, you can get there API details from them and configure it your self either it is Account based login or Key + there API server URL
and any other config

and as an addition to those features i suggest support for third party Sites URL's instead of the domain Xenforo when adding the Resource URL inside the Update form of the add one
this would be a great combination with the ability to Store Third party Credentials besides xenforo Credentials alone.
this way you will be able to use the update feature from third party sites...
 
Back
Top Bottom