New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugins refuse to update #261
Comments
Hi. Thanks for issue, i will try reproduce it. For now - drop all plugins in plugin directory (here you can find path https://github.com/consulo/consulo/wiki/Paths-to-system-directories) And just install one plugin Unity(with dependencies). Sorry for inconvenience. Note. Consulo have selft-update system, no need redownload it. |
Thanks for that! Removing all the plugins from the %APPDATA%/Consulo/plugins folder meant that when I next fired up Consulo it didn't have any plugins. However, the folder remained empty even after I told it to download the Unity3D plugin plus dependencies and restarted. That's presumably the same problem - the newly downloaded plugins weren't being unpacked into the plugins folder for some reason. I renamed my entire Consulo directory aside and restarted Consulo, and went through the set-up process again. The plugins downloaded and installed themselves fine with the fresh setup. So, presumably something got messed up in my previous settings. In case you want to try to diagnose the root cause, I've zipped up my old Consulo %APPDATA% folder, but it's 21 Mb. Rather than attach it here, I've put it in my dropbox. Link: https://www.dropbox.com/s/3f2p07vi50pr0yo/Consulo.OLD.zip?dl=0 Let me know once you've grabbed it, so I can delete it out of my Dropbox again. Thanks! |
Strange. Can you attach log? |
Sure - I don't think the logs have rolled since the one I attached above, so this should be the same as that one with today's shinanigans appended. Interesting that (on Windows 10) the logs go in "(home dir)/AppData/Local/Consulo" while the plugins directory and other config is in "(home dir)/AppData/Roaming/Consulo". |
It's ok - as designed. Strange - in log, i don't saw your start without plugins. Can you attach other logs (idea.log.X) |
Done Although, idea.log.1 is dated 24/04/2017, and the other logs are older, so I don't think they'll help. |
log:
No problems in this time range (except last). Strange |
You have default UAC settings ? (and your user is admin or user)? |
I don't believe I've modified my UAC settings. My user has admin rights. When I moved the plugins out of the %APPDATA%/Consulo/plugins folder, it didn't require pop up asking for admin privileges or anything, so the files were writable by me without them. If I go into the plugins.old directory in Cygwin, it lists all the files as owned by my user and rwxrwx |
Tested. Can't reproduce this problem. After few time - new builds will be available, please notify me about Consulo update (no need redownload Consulo, just click About -> Check for updates) Thanks |
Ok, I tried Help -> Check for updates, and it's hit the same problem again. It downloaded Consulo and the plugins that had been updated 11 hours ago, prompted to restart, but while Consulo is on the new version, the plugins apparently didn't update again. The contents of the %APPDATA%/Consulo/plugins folder haven't been changed (last modified 28/04/2017). Idea and consulo logs zipped and attached.: logs.zip |
No errors. Strange. I am used Windows 10 at home, and no problems with auto-update. I will test on new Windows 10 on virtual machine. |
FYI, the contents of the AppData/Local/Consulo/plugins, which is where I guess it downloads things to, seems to get updated - the plugin .zip files are all dated 30/04/2017... well, except for consulo.opencover.zip, consulo.dotnet.core.zip, consulo.msbuild.zip and consulo.dotnet.microsoft.zip, which are all still dated 27/04/2017. It's just that they're not unzipped to AppData/Roaming/Consulo/plugins. |
Hi, today I'm having the same issue, everything was working great, and consulo notified that there are some plugins updates available, I click update and restart consulo and then the same errors that @RobRendell has shown. Then in the "Platform and Plugins" setting page, it shows the updates available and if I try to update from there, an error says: "Plugin Unity3D was not installed: Cannot download 'https://hub.consulo.io/api/repository/download?platformVersion=1634&channel=release&pluginId=consulo.unity3d': Status: 404" I'm connected to the internet, and if try that url in the browser, it cannot be found: "HTTP ERROR 404". I will try removing the plugins from the %APP_DATA% and retry, and if fail, i will try a fresh consulo installation. In either case, I'll drop a comment here. I'm on mac by the way and working great until this update. |
Hi. Can you just redownload consulo? And drop only plugins. Looks like it
tried to download old plugins.
|
And you had old Consulo build (1634) - it's had bug in macOS update, platform updates not work on this build (all Consulo had this bug before 1660). Thanks |
Hi, I downloaded consulo (1696) and just replaced the old one, then updated all the plugins and now everything is working great again. Thanks for the support! |
Nice. Now Consulo(build after 1660) have full update support (I believe in it, due no known bugs with it). Report any other issue when you found them. Thanks. |
Well, I tried to update today. Same problem - Consulo updates, downloads the latest plugin zips to (home)/AppData/Local/Consulo/plugins, asks to restart, but the old plugins remain in (home)/AppData/Roaming/Consolo/plugins and it perpetually requests that I update them. Moving the updated install of Consulo aside and getting a fresh copy of the latest didn't fix the problem either. I wondered if it might have something to do with my home directory being on the C:/ drive (appdata folder is C:\Users\Rob\AppData) but Consulo is installed on the D:/ drive (because C is an SSD and I tried to move as much of my home directory over to the regular hard drive as possible so as to not waste space on the SSD on things I didn't need to be super-fast). However, there's no Consulo folders under D:\Users\Rob\AppData, so it's not that the upgrade process is unzipping the plugins into the wrong disk. Would it be possible to add more logging around upgrades to Consulo, so that maybe my logs will show some discrepancy? |
How it works. Consulo download plugins zips, then added some actions to StartupActionScriptManager(delete old plugin, unzip zip, delete zip), he will run actions before platform starts. Looks like in this start something going wrong at this stage, but logging is enabled for this stage. Strange. Sure - I will add more logging for searching this bug |
@RobRendell added logging for plugin action stage. Now you can see new file(action.log) near "action.script" (and other zip files). File will be refreshed on every restart. You need download Consulo with build #1735 (https://hub.consulo.io/#!repo/nightly/consulo-win-no-jre-zip) Start Consulo - and update plugins, after restart - check "actions.log" file (it will be near zip files) Thanks |
Looks like i found issue. I catch this issue too. I will try to fix my problem, and we see next issue. |
…s u will get invalidcastexception #261
Ok, so when I checked for updates, it downloaded and prompted me to
restart, and on restart it popped up an alert saying "old update script -
you need to run About->Check for Updates again". So, I did that, and it
seemed to work. It also prompted me to update the Consulo plugin for
UnityEditor, which also worked.
So, it looks like your fix worked for me. Thank you very much!
BTW, the "Check for Update..." menu item is actually under the Help menu,
not the About menu (there is no About menu). So, the pop-up alert should
probably say Help->Check for Update rather than About->Check for Update.
Thanks again!
…On 28 May 2017 at 08:11, Valeriy Semenchuk ***@***.***> wrote:
Looks like i found issue. I catch this issue too. I will try to fix my
problem, and we see what next.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#261 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABw2JtekEZM_spms7gp2Ns6Q43NmBf06ks5r-J-VgaJpZM4NJl3S>
.
--
Have fun,
Rob Rendell
|
Oh. Anyway thanks for inform me about issue fix. |
Plugin Manager pluggin not shown |
When I updated my IDE from 1634 to 1650, all the plugins appeared to update, but they're still coming up as incompatible, and they're reporting the old version in some dialogs (and the new version in other dialogs). I can repeat this process repeatedly with the same results, as shown below.
If I click on the "Configure plugins..." link in the Event Log, it goes to update/install a plugin, and reports the versions as going from the latest to the latest.
Consulo/Idea log attached.
idea.log.zip
The text was updated successfully, but these errors were encountered: