Comments (6)
Ive added your suggested fix and pushed it up. https://github.com/Resgrid/Core/pull/20/files#diff-7d4c97ef391c3330c175ddf7077c0646e3d77994ea8be2c54de0bbc36fb94e1d I'll be working on testing everything out this weekend to try and get the new release pushed out.
from core.
I implemented your fix in #21.
from core.
Hey @anewio thanks for the report!! If you want to deploy and update the db, we use fluent migrator and you can deploy it like this:
dotnet tool install -g FluentMigrator.DotNet.Cli
dotnet fm migrate -p SqlServer -c "[YOUR CONNECTION STRING]" -a "C:\Resgrid\Tools\Resgrid.Providers.Migrations.dll"
I'll look at getting that above error fixed as well.
from core.
Thanks @ucswift for the quick response. With the latest commit, `Resgrid.Console.exe dbupate' moves down few steps but ends up with another exception, see attached.
Above error message tells FluentMigrator
was not able to load the embedded migration SQL file: M0001_InitialMigration.sql
for some reasons. The root cause doesn't seem obvious to me in the first place. After few research, I believe the fix is to add one more function call (see line #66) in the FluentMigrator
configuration routine at file: DbUpdateCommand.cs
as below (see line #65 and #66). After the fix, `Resgrid.Console.exe dbupate' finally works successfully.
from core.
@anewio do you get the error if you use the FluentMigrator.DotNet.Cli tool? I've been using that at the moment, but trying to get the Cli working to match documentation. Thanks for that research too, I'll get that added to the code.
from core.
@anewio do you get the error if you use the FluentMigrator.DotNet.Cli tool? I've been using that at the moment, but trying to get the Cli working to match documentation. Thanks for that research too, I'll get that added to the code.
CLI appears working.
from core.
Related Issues (20)
- containers fail to start HOT 7
- Documentation: Local install HOT 4
- Attempting to download call attachments returns HTTP 500 HOT 9
- Bug: Self hosted checking for more than one payment for department. HOT 2
- Running ResGrid in Isolation HOT 11
- AzureEventing called when IsAzure=false HOT 8
- Migration SQL script contains typo HOT 3
- Resgrid.Console.exe dbupate -> error HOT 11
- file Resgrid.Web.Services.XML code? HOT 5
- Executing ResgridConsole Docker HOT 12
- various webroot files not loading HOT 2
- HTTP Error 500.19 - Internal Server Error HOT 3
- HTTP Error 500.19 - Internal Server Error HOT 17
- Error 500 self hosted (Sorry would of posted this in discord but i cant find a link) HOT 3
- ResgridAPI Compilation Error HOT 4
- Could not find file 'C:\Resgrid\Api\App_Data\Resgrid.Web.Services.XML'. HOT 30
- The command "libman restore" exited with code 9009. Resgrid.WebCore HOT 14
- Server error HOT 52
- Unable to login default login HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core.