![]() |
dataDir missing - Printable Version +- Community Support for OpenDocMan (Deprecated) (https://forum.opendocman.com) +-- Forum: OpenDocMan Community Discussion (https://forum.opendocman.com/forum-5.html) +--- Forum: OpenDocMan Support - Community Based (https://forum.opendocman.com/forum-6.html) +--- Thread: dataDir missing (/thread-499.html) Pages:
1
2
|
dataDir missing - kadosh1000 - 03-15-2012 Hi, I'm new to OpenDocMan, I did a fresh install and afterwards it keeps saying: "There is a problem with your dataDir setting. It does not appear to exist." although the "data" dir does exist and have the write permissions. that is my config.php code: Code: <?php What should I do? Thanks in advance, Kadosh1000 Re: dataDir missing - russ668 - 03-16-2012 I just went through this problem in the very next post on this forum! Apparently with v1.2.6 you have to set the dataDir path in the database. It's in the settings table. Once you do that, you should be able to open the home page again, login and be presented with your setup options. This is of course assuming that you've already set your dataDir with the correct permissions for the platform you're on. I am on Windows server, so I gave IUSR and IIS_USR modify permissions on it. Good luck! Re: dataDir missing - Stephen - 03-24-2012 kadosh1000, During the installation you should have filled out the form that asked for you dataDir location. Did you perform a manual installation? Re: dataDir missing - russ668 - 03-26-2012 I downloaded v1.2.6 and unzipped it in the directory on the web server per the instructions. I then manually edited the config-sample.php file to enter all my database info and saved it as config.php. Next created a folder in the root of C: for my dataDir directory and gave it permissions. Then I was ready to open a browser and try and go to <root domain>/<openmandoc directory>/install so for me that was <!-- m --><a class="postlink" href="http://bert.redcanoecu.com/forms/install">http://bert.redcanoecu.com/forms/install</a><!-- m --> then I hit enter and got the login page with the error that my dataDir was missing. I never got presented with the setup page. It wasn't until I used phpMyAdmin to connect to the openmandoc database and manually change the field for the path to the dataDir that I got presented with that page to setup stuff. It was an interesting install. Re: dataDir missing - Stephen - 03-28-2012 russ668, Here are the installation steps listed in the opendocman.txt file. There is no need to create the config.php file unless you are doing a manual install. Please verify you have followed these steps.: Quote:2.2 New Installation The same case: dataDir missing - skiper - 05-07-2012 Good time of the day, I have the same problem: "There is a problem with your dataDir setting. It does not appear to exist.". I spend all day trying to resolve it and no result. I did automatic installation, manual, I change the path directly in database table - no result. It seems to me that I do not understand correctly how to define this directory on server and how to show it path to opendocman. When i login to my part of internet provider server, I see the following structure: imap domains mydomen.eu public_ftp Public_html I tried to make a data directory inside mydomen.eu and also inside Public_html - doesn't helped! I give to datadir all possible permissions to be read, right and execute for everybody - not worked. I tried to write path to datadir in the DB table by 2 different ways: 1. <!-- m --><a class="postlink" href="Http://mydomen.eu/odm_data">Http://mydomen.eu/odm_data</a><!-- m --> 2. /home/user/domains/mydomain.eu/odm_data Something is wrong. Could somebody please give me detailed instruction how to create right data directory? I have not access to executing commands directly on server - my provider give to all users access through DirectAdmin. Serge Re: dataDir missing - Stephen - 05-08-2012 dataDir is path, not a URL, so #2 would be the way you would enter it on a Linux server. During the installation, OpenDocMan checks your dataDir value on the server and runs the "is_dir" command. If it returns with an error, then it is not finding a directory with that name at that location. Is this being installed on a Windows server? steve Re: dataDir missing - Stephen - 05-08-2012 it looks like your error is coming from the main program, not the installer. Did you install 1.2.6.1 successfully and then received this message when you tried to login? Steve Re: dataDir missing - skiper - 05-08-2012 This problem is solved: there was 2 errors in installation - the path to dataDir was shown incorrectly (in short form) and in the DB table I occasionally tried to write path to field name, not value. The correct path syntaxes was /home/user/domains/mydomain.eu/public_html/odm_data/ Now it seems to be work. BUT! I find 2 new problems ... 1. I have not access to site settings - there is now menu as admin - settings, only admin. So, I can only administrate users, department and categories. 2. Tried to upload some files and discover, that pdf files give an error message (in message itself pdf is listed as available for upload). I did the same on live demo and result was the same - pdf gives an error. Should I open a new topic to discuss these matters? i installed version 1.2.6.1, downloaded yesterday. Serge Re: dataDir missing - Stephen - 05-08-2012 There is a "root_id" value in the odm_settings table that determines which userID is the "root" user. Only that user can edit the site settings. For your other issue, you should see some message telling you which mime type was rejected. You can add that file type using the file type editor as the root user. steve |