upgrade

What are best practices for self-updating PHP+MySQL applications?

限于喜欢 提交于 2019-11-29 22:19:43
It is pretty standard practice now for desktop applications to be self-updating. On the Mac, every non-Apple program that uses Sparkle in my book is an instant win. For Windows developers, this has already been discussed at length . I have not yet found information on self-updating web applications, and I hope you can help. I am building a web application that is meant to be installed like Wordpress or Drupal - unzip it in a directory, hit some install page, and it's ready to go. In order to have broad server compatibility, I've been asked to use PHP and MySQL -- is that **MP? In any event, it

RPM upgrade uninstalls the RPM

懵懂的女人 提交于 2019-11-29 20:27:05
I am upgrading our project RPM. The problem is when I upgrade from projectname-1.0-0 to projectname-1.0-1, it first installs the new project and uninstalls the old project, which, in overall view, removes my project entirely. I have used "vv" option while upgrading and the output showed the uninstallation is done after installation. Somebody please help with this problem. Is there anything I should change specifically in the RPM spec or rpmbuild options? Yes, when an RPM upgrade occurs, RPM first installs the new version of the package and then uninstalls the old version of the package. Only

Updating my EF model to use 4.1 when I built it in 4.0

China☆狼群 提交于 2019-11-29 19:52:20
问题 I built my EF Model in EF 4.0, and then installed the 4.1 upgrade that includes the new DBContext interface. How do I update my model so that it uses the 4.1 features going forward? Thank You 回答1: You can use DbContext with your EDMX model. After installing EFv4.1 you should have new T4 template available: DbContext generator. This will take your EDMX and create context derived from DbContext and all POCO entities for you. Here you have walkthrough. But if you want to switch to DbContext just

Table 'performance_schema.session_variables' doesn't exist

落花浮王杯 提交于 2019-11-29 19:02:21
After upgrading MySQL to 5.7.8-rc and loging to server I got error: Table 'performance_schema.session_variables' doesn't exist I can't find any solution for this. Can you help ? The mysql_upgrade worked for me as well: # mysql_upgrade -u root -p --force # systemctl restart mysqld Regards, MSz. I was able to log on to the mysql server after running the command @robregonm suggested: mysql_upgrade -u root -p --force A MySQL server restart is required. mysql -u app -p mysql> set @@global.show_compatibility_56=ON; as per http://bugs.mysql.com/bug.php?id=78159 worked for me. Marcello Grechi Lins

Can't update Macports (with Mac OS X Mavericks)

你说的曾经没有我的故事 提交于 2019-11-29 18:45:27
After upgrading Mac OS X to newest version Mavericks, I attempted to selfupdate my Macports, but it failed: $ sudo port -v selfupdate ---> Updating MacPorts base sources using rsync receiving file list ... done sent 36 bytes received 69 bytes 210.00 bytes/sec total size is 4925440 speedup is 46908.95 receiving file list ... done sent 36 bytes received 76 bytes 74.67 bytes/sec total size is 512 speedup is 4.57 MacPorts base version 2.2.0 installed, MacPorts base version 2.2.1 downloaded. ---> Updating the ports tree Synchronizing local ports tree from rsync://rsync.macports.org/release/tarballs

Is there a standard way for .NET Winforms apps to auto-upgrade?

我的未来我决定 提交于 2019-11-29 18:29:58
问题 If you have a Winforms app that is installed on a large number of machines, is there a standard way of implementing an automatic upgrade function? e.g. Each time it is started, it checks a web site or web service and if there is a new version available, it downloads and installs it? I could figure out how to roll my own version of this, but I'm wondering if there are any frameworks already in place to help with this. 回答1: +1 on the ClickOnce answer, but I wanted to make a few comments on that

upgrade to dev version of scikit-learn on Anaconda?

▼魔方 西西 提交于 2019-11-29 17:44:12
问题 I'm using python through Anaconda, and would like to use a new feature (http://scikit-learn.org/dev/modules/neural_networks_supervised.html) in scikit-learn that's currently only available in the development version 0.18.dev0. However, doing the classical conda update doesn't seem to work, as conda doesn't list any dev packages. What would be the simplest way to install a development version into my Anaconda? (For what it's worth, I'm using 64-bit windows 7.) 回答1: You can only use conda to

Upgrading jq to 1.5 on Ubuntu

こ雲淡風輕ζ 提交于 2019-11-29 16:52:50
问题 So it reads here: jq 1.5 is in the official Debian and Ubuntu repositories. Install using sudo apt-get install jq. yet: $ sudo apt-get install jq Reading package lists... Done Building dependency tree Reading state information... Done jq is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. AND: $ jq --version jq version 1.3 Description: Ubuntu 14.04 LTS Release: 14.04 Codename: trusty What am I missing? thanks 回答1: I ended up here when googling on why

Upgrading Visual studio 2008 Professional to Visual studio 2010 Premium

巧了我就是萌 提交于 2019-11-29 15:51:47
I currently have Visual Studio 2008 Professional installed on my Windows 7 (x64) laptop. I also have SQL Server 2008 Express and Crystal Reports 2008 installed. Can I upgrade Visual Studio 2008 Pro to Visual Studio 2010 Premium and if so do I have to make any configuration changes to any other apps I have installed? no, you cannot "upgrade" Visual Studio in the traditional sense. Visual Studio exists side-by-side (sxs) with older versions, so you have both versions installed. What does get upgraded is the CSPROJ (or VBPROJ) files that represent your projects. It's a side-by-side install, you

How to prevent Visual Studio to prompt to upgrade projects .NET 4 to .NET 4.5

丶灬走出姿态 提交于 2019-11-29 14:43:11
I have a solution in with project in C#, C++/CLI targeted to .NET 4 and with some dependencies in .NET4. When I open this solution in Visual Studio 2013 it prompts for upgrading the solution. Some developers in our remote teams don't read the messagebox and just press OK. The dependencies are not compatible after project upgrade and then they are mailing me that the solution cannot be built. Is there some way to turn off this prompts for .NET Framework upgrade? Put the following line in the global property section of your project file. <VCProjectUpgraderObjectName>NoUpgrade<