Where in the database does Umbraco store its version information? - umbraco

As the title asks, Where in the database does Umbraco store its version information?

SELECT * FROM umbracoMigration
On my Umbraco gives me:
id name version createDate
1 Umbraco 7.4.1 2016-03-21 09:06:05.770

Its stored in the web.config file (umbracoConfigurationStatus setting) not in the database.
Richard

Compares the version number in the web.config with the version being installed?

Related

504.0 GatewayTimeout when migrating to umbraco 8

I try to migrate my V7.15.7 website to 8.1.x
I followed the guides / documentation / blog posts.
I made sure there are no Obsolete document-types.
Then I installed the Pre-migration health checks and it says it ready for upgrade
Then I installed a fresh new Umbraco 8.5.5 website on my ftp, and after I logged in and made sure it works (the new empty 8.5.5 website) I logged out and changed the connection string in web.config to my old 7.15.7 database.
It started the migration process but after few minutes I got 504.0 GatewayTimeout
Then I tried the process again and after few minutes I got again 504.0 GatewayTimeout
So I tried to increase the Connection Timeout from 3600 to 33600, Connection Timeout=33600
Didn't help
<add name="umbracoDbDSN" connectionString="Server=xxxxxx;Data Source=xxxxx;Initial Catalog=xxxx;Persist Security Info=False;User ID=xxxxxxxxx;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=33600;" providerName="System.Data.SqlClient" />
What's the reason I'm getting the 504.0 GatewayTimeout ?
I'm using Azure to host my website.
Thanks for your help .
Have you checked out this article that I have recently written for the online Umbraco Skrift magazine about "How I upgraded my Umbraco v7 project to Umbraco v11"?
If you haven't, I recommend that you do so, as there are some critical steps that you need to follow in order to upgrade your projects successfully; otherwise, you'll end up seeing a lot of problems, like the one that you have seen.
https://skrift.io/issues/how-i-upgraded-my-umbraco-v7-project-to-umbraco-v11/
I have also talked at this year's Umbraco Community Day event about how to upgrade Umbraco v7 and v8 projects to the latest version of Umbraco v11. Please take a look at this recording, too.
Here are 12 steps that should help you doing your upgrades successfully;
I figured out the reason - I tried to perform the migration direct on Azure, which is pretty much not possible ...
So instead, I had to Create Local SQL Server database on my computer:
Create Local SQL Server database
Then, I installed Umbraco locally:
How to open Azure database .bacpac locally for local Umbraco website?
And I was able to migrate to 8, then 9, then 10, then 11 (don't skip steps..)

Neo4j: Unsupported administration command: CREATE DATABASE demo

I want create new database 'demo' in neo4j, but I see a bug:
I was search but can't find result, can you help me? Thank all!
In the URL you used to install Neo4j, there is a remark about the community version of Neo4j and how it doesn't support multiple databases.
Note: The Community Edition of Neo4j supports running a single
database at a time. Additionally, the Community version does not
include the capability to assign roles and permissions to users so
those steps are not included in this tutorial. For more information
about various features that are supported by the Community Edition of
Neo4j, consult the Neo4j Documentation here.
Go to the neo4j.conf file and uncomment this line
dbms.default_database=neo4j
Change the neo4j to whatever database name you want for a new database.
Note: names must have between 3 and 63 characters.
For example: dbms.default_database=mydatabase
after that add a new database name. then we can maintain new DB but we can't switch to old one, if we need to do that we have to comment above mentioned line again

Umbraco - Installation & database

I've begin the development of my Umbraco Website. I've forgot to include a database on the setup so I think that all my stuff is in the cache. Am I right ?
However, I've tried to include a connection string, all is fine, Umbraco can connect to my database, but now Umbraco is looping on the Installation page and do nothing.
My database is empty and on any url Umbraco is trying to install.
I'm using Umbraco 7.6.3
How can i add my database so all the stuff I've made is not lost ?
Thanks !
Alex,
when you use the default settings during installation of Umbraco, then it wil use SQL CE.
This method will save all data not in SQL server but in a local sdf file which is located in the App_Data folder.
If you want to change this, then the best way will be to start over the entire installation incase you haven't add any elements to your existing version.
Then during installation you can choose to specify other options for the database, like adding the database to your Sql Server instance.
If you want to convert your existing SQL CE database to sql server, have a look here:
https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/53818-Convert-Umbraco-SQL-CE-database-to-SQL-Express

nopcommerce 3.5 database connection string (settings.txt missing)

I have installed nopCommerce 3.5 on visual studio 2010 but after a successful configuration i could not find any database connection string file which should be under Nop.Web/App_Data/Settings.txt. so there is no Settings.txt file in my project at all and I am using MSSql 2012, Database has been created as expected including sample data. so where is my database connection string please?
Thanks for your time and help
Just create a file called "Settings.txt" in App_Data and copy the following 2 lines in it. You need to modify the connection string to suit your environment. I have replaced my details with capitals.
DataProvider: sqlserver
DataConnectionString: Data Source=SERVER_NAME\DB_INSTANCE;Initial Catalog=YOUR_DB_NAME;Integrated Security=True;User ID=USERNAME;Password=PASSWORD;MultipleActiveResultSets=True
refer this post : http://www.nopcommerce.com/boards/t/34563/where-is-database-connection-string-settingstxt-on-nopcommerce35.aspx
Its actually there, I had the same issue just now after installing 3.5 and wanting to point it at an existing db, but not being able to find settings.txt and wondering if it had been moved to web.config or something more usual.
What you need to do is highlight presentation > nop.web > App_Data and then click show all files in the solution explorer. there you will see Setting.txt . Right click it and select include in project and you are good to go.

Jira Rest Api Delete version not working as expected

I'm using the Jira (version 5) Rest API to Delete a version and like the documentation tell me, I pass the moveFixIssuesTo and moveAffectedIssuesTo to transfer issue from the deleted version to a other version. This just doesn't work. The issues that has AffectedVersion / FixVersion set to the deleted version have no version after the delete.
/rest/api/2/version/{id}?moveFixIssuesTo&moveAffectedIssuesTo
Here an example of the call :
http:// /rest/api/2/version/16238?16237&16237
My {id} is an existing versionId I want to delete.
moveFixIssuesTo and moveAffectedIssuesTo are versionId of the version I want the issues to be transfer.
If I do the same kind of action from the Web UI of Jira ( Deleting a version and setting in the form the version to transfer the AffectedVersion and FixVersion, It work correctly and I see the new version in the field of the issues.
Any idea why this does not work as expected ?
I think if you changed implementation of service operation - you must use another url for this operaton. For this thing you can change value of attribute version in rest tag in the file atlassian-plugin.xml:
<rest name="My Rest Resource" key="custom-rest-resource" path="/my-custom-resource" version="1.0"/>

Resources