Comments (2)
Just to elaborate:
After following the installation guide on read the docs I have done the following:
-> set up a mysql database, "midas" with midas as a user granting all permissions top that user.
I then goto the site http://midas/index.php/install and get the following screen:
Then I select "goto next step":
I get the following screen:
I then select the mysql database from the dropdown:
I fill in my credentials:
I then select "setup database and account" underneath the mysql filled in credentials. I do not set up any other databases. The following error appears:
These are lines 114-115 from the InstallController.php file
if (!isset($sqlFile) || !file_exists($sqlFile)) {
throw new Zend_Exception('Unable to find sql file');
}
Which in itself seems to be where the it fails. Further up in the code on lines 111 and line 112, the following appears:
$sqlFile = $upgradeComponent->getNewestVersion(true);
$sqlFile = BASE_PATH.'/core/database/'.$type.'/'.$sqlFile.'.sql';
the other variable set there seems to be $type
Which is defined earlier in the script as $type = $this->getParam('type');
looking at the front end name="type" is not defined as I haven't selected a DB type.
I then select a DB type, but the value of the hidden input with POST name "type" doesn't update, which is what the InstallController.php script $type variable refers to.
Does any of that help?
I can replicate this EVERY time I goto install the Midas from the Docs. Help!
from midas.
Does anyone have this current version working, that was built from a scratch machine or VM?
Vagrant box is working for me but I'm still struggling to do the same with Docker images
Would it be possible for one of the Devs to follow the instructions given to setup from scratch (on read the docs), with a VM?
You should be able to try it by yourself with the Vagrant box that's defined in the Vagrantfile
file at the root of this repository. Provisioning is made with Ansible and files present in the provisioning directory.
If your vm-host OS is Windows, you'll need to reuse #236 😉
I can share my script for setting it up
If your scripts consists of one or more Dockerfile
, publishing them might help #237
from midas.
Related Issues (20)
- InstallController.php HOT 1
- API key generation only give JSON text. HOT 1
- My Account selection from Menu HOT 1
- Browse tab HOT 1
- logout tab HOT 1
- Cannot retrieve password HOT 2
- FIle permissions
- Master installation failling - "Unable to find sql file" HOT 1
- Solr folder and item search
- Delete Cleanup and Geolocation modules
- midas.kitware.com new user registration fails
- The VIRAT folder on midas3.kitware.com is empty
- Propose a Docker image to end-users
- Fail to upgrade PrivateModules with Midas 3.4.2 HOT 3
- Fail to install Midas 3.2.20: "Could not find mixer" error HOT 8
- Can't download bitstream from API HOT 2
- User deletion fails
- I can not modify users information to add them to administrator a collection HOT 6
- Midas 3.4.2 Unable to connect. In UtilityComponent.php, line: 393 HOT 2
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 midas.