Jump to content

tim-xtr

Members
  • Posts

    17
  • Joined

  • Last visited

Recent Profile Visitors

508 profile views

tim-xtr's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Well, yes, you've got a point here, but still I wonder why 2 other similar billing systems worked without issues... plus Wordpress... This is why I am not sure if it's a web server misconfiguration... Also note that in Ubuntu I got the same error that the files are not writable by the webserver. But the installation was completed.
  2. Thank you all for your answers... I had to create the info php from the start, to check the configuration and it was ok, before even I try to install Blesta... Wordpress was already installed so php configuration was OK... PHP version was 5.4.41 However, I did got into trouble to create another VM on Ubuntu 14.04 The result was the same when using the installer, The following minimum requirements failed: config_writable: The config file (/home/user/web/dommain.com/public_html/blesta/config/blesta-new.php) and directory (/home/user/web/dommain.com/public_html/blesta/config/) must be writable by the webserver (you can change these back after installation is complete). Failed minimum system requirements. You must correct these issues before continuing. BUT... instead of a blank page I was connected to Blesta admin area... The server configuration is a bit different, Apache 2.4.7, PHP 5.5.9, NginX 1.8.0 Virtual hosts and NginX configuration are the same. OK, I have phpMyAdmin not working now, but I'll fix it... After all these, I don't know what to suppose... CentOS or Blesta configuration issue...? Regards, Tim
  3. Hi, Thanx for the reply, PHP error reporting was already on but I didn't get any errors... although I got errors with iHost system for example, related to timezone, No errors at all...
  4. I thought so at first, but "blesta" is also writable... and I tried the installation after changing 'blesta' to 777. Both blesta and config are drwxrwxrwx and at the end I get again a blank page... My client has a control panel to manage backups, users and emails because he is not familiar with the linux cli. The domain, virtual hosts, etc.were all created and are managed via the control panel. Wordpress, iHost, AWBS, were installed via the web browser without any issues. What I understand by that, is that virtual hosts and nginx have the correct configuration and there are no permission issues. Usually with cgi and wrong permissions you get the error on your browser, but in this case a blank age doesn't say much. And I cannot find any related errors at the logs (any log). Right now I have run out of ideas... I can't think of something else that could cause this issue... Anything else I can try? Regards, Tim PS: I have been working as a linux sysadmin for many years, with cpanel, directadminn, plesk, webmin, with, LAMP, LEMP, but seriously, I cannot understand where the problem is in this specific situation. The current project is on 1 server for testing, but later will be added Percona replication, nginx and a HAproxy with memcached for future use with web server cluster and nfs for the application files, on separate servers, but the website and the billing system files will be in one place. I haven't tested the installation on Ubuntu, but it is not really a choice, because the client would like CentOS. Do you think it might be a CentOS issue? Selinux is already disabled, but it shouldn't cause any trouble in this case...
  5. Php is cgi so all directories have permissions 755, all files 644 and they are writable - by the owner of course. The file blesta-new.php is processed, renamed to blesta.php and populated with the correct data (db, user, password) I have even changed the permissions to 777 for the directory and 777 for the file and granted permissions to group apache, installed again blesta via the command line and I got the same error: ..... ..... 1/1 [========================================] 100% Completed. Attempting to write config... Success. Generating encryption keys. This may take a minute or two... Done. Installing default plugins... Done. Finished. To complete setup visit /admin/login/ in your browser, or if you do not have mod_rewrite, /index.php/admin/login/. ---------------------------------------- Blesta CLI Installer ---------------------------------------- Please acknowledge your agreement to the terms and conditions as explained at http://www.blesta.com/license/ Do you agree? (Y/N): y Performing system requirements check... The following minimum requirements failed: config_writable: The config file (/home/user/web/domain.com/public_html/blesta/config/blesta-new.php) and directory (/home/user/web/domain.com/public_html/blesta/config/) must be writable by the webserver (you can change these back after installation is complete). Failed minimum system requirements. You must correct these issues before continuing. I see above: Attempting to write config... Success. and then: The config file must be writable by the webserver When I try the installation via the web browser, I see that this requirement is met: The config file (/home/user/web/domain.com/public_html/blesta/config/blesta-new.php) and directory (/home/user/web/domain.com/public_html/blesta/config/) must be writable by the webserver (you can change these back after installation is complete). PASS What is going on? Why is a requirement to be writable by the webserver? Another thing I noticed is that it doesn't write the admin data into the database, although it can connect and the db-user has ALL privileges to that database. The database after the installation is populated with other data like staff groups, etc., but not with the blesta admin username, password, email, etc. Is it possible to enter manually the data for the blesta administrator? Which one is the correct table? Staff or users, or both?
  6. All directories are 755 and all files are 644. The file blesta-new.php is writable, at least by the user. I did change the directory config to 777 and the file to 666 but I got the same error.
  7. So you mean that I should give the config directory and blesta-new.php file user:apache permissions? Right now all files under web have user:user permissions.
  8. Yes, and today I tried to install an older version (3.4.0) and install via the command line and at the end I got this: 1/1 [========================================] 100% Completed. Attempting to write config... Success. Generating encryption keys. This may take a minute or two... Done. Installing default plugins... Done. Finished. To complete setup visit /admin/login/ in your browser, or if you do not have mod_rewrite, /index.php/admin/login/. ---------------------------------------- Blesta CLI Installer ---------------------------------------- Please acknowledge your agreement to the terms and conditions as explained at http://www.blesta.com/license/ Do you agree? (Y/N): Y Performing system requirements check... The following minimum requirements failed: config_writable: The config file (/home/user/web/mydomain.com/public_html/blesta/config/blesta-new.php) and directory (/home/user/web/mydomain.com/public_html/blesta/config/) must be writable by the webserver (you can change these back after installation is complete). Failed minimum system requirements. You must correct these issues before continuing. So, the server does not meet the minimum requirements? What does it mean "must be writable by the webserver"? All files are owned by the user and with the correct permissions. And although I have changed the permissions, I still get the above error. Any ideas about this? Regards, Tim
  9. cgi.fix_pathinfo = 0 Apache listens to 8080 and Nginx to 80 used as proxy for caching. There's only one php.ini as the VM is hardware virtualization - no shared resources. I believe I tried everything till now with no luck. Both AWBS and iHost work on the same server without changing the configuration. Wordpress works too. Is there a configuration file within the blesta directory I should try to change? Regards, Tim
  10. You are right..... My bad..... However tried that, added the line restarted nginx and httpd, even the server, still the same blank page after initial install... (no apache - nginx errors at the logs) As I noted above, iHost worked on the VM, AWBS (the system that my client uses right now) also works. Any other suggestions? I would be happy to try them all... Regards, Tim
  11. The whole file looks like this on CentOS 6 and the parameter above is included: fastcgi_param QUERY_STRING $query_string; fastcgi_param REQUEST_METHOD $request_method; fastcgi_param CONTENT_TYPE $content_type; fastcgi_param CONTENT_LENGTH $content_length; fastcgi_param SCRIPT_NAME $fastcgi_script_name; fastcgi_param REQUEST_URI $request_uri; fastcgi_param DOCUMENT_URI $document_uri; fastcgi_param DOCUMENT_ROOT $document_root; fastcgi_param SERVER_PROTOCOL $server_protocol; fastcgi_param HTTPS $https if_not_empty; fastcgi_param GATEWAY_INTERFACE CGI/1.1; fastcgi_param SERVER_SOFTWARE nginx/$nginx_version; fastcgi_param REMOTE_ADDR $remote_addr; fastcgi_param REMOTE_PORT $remote_port; fastcgi_param SERVER_ADDR $server_addr; fastcgi_param SERVER_PORT $server_port; fastcgi_param SERVER_NAME $server_name; # PHP only, required if PHP was built with --enable-force-cgi-redirect fastcgi_param REDIRECT_STATUS 200; However I tried to install iHost and the process was completed within seconds. As I mentioned on previous post, WP is also installed and working, so is there any special reason for Blesta to throw a blank page? Regards, Tim
  12. Never mind... found it, but this topic mentions ubuntu and standard LEMP setup, while on my VM is installed a control panel with custom configurations and file paths and a Wordpress site, both working correctly. Plus it's only php-cgi, not fastcgi or fpm... So, I wonder why shouldn't Blesta work?
  13. No, can you please provide me with a link to it? Regards, Tim
  14. Well, php.ini doesn't include this line, however I have added it and also changed the php location, but it didn't work. Please note that I have already installed a WP site that works with no errors whatsoever... EDITED: By the way, I have NginX as a proxy for Apache... Could this be the problem? Regards, Tim
  15. Anyone encountered the same error in the past? I have setup (I mean I tried to...) blesta on a new vps (CentOS 6.6) and it seems that php supports all necessary extensions: # php -m [PHP Modules] bcmath bz2 calendar Core ctype curl date dom ereg exif fileinfo filter ftp gd gettext gmp hash iconv imap intl ionCube Loader json ldap libxml mbstring mcrypt mhash mysql mysqli openssl pcntl pcre PDO pdo_mysql pdo_sqlite Phar posix pspell readline recode Reflection session shmop SimpleXML soap sockets SPL sqlite3 standard sysvmsg sysvsem sysvshm tidy tokenizer wddx xml xmlreader xmlrpc xmlwriter xsl zip zlib [Zend Modules] the ionCube PHP Loader + Intrusion Protection from ioncube24.com (disabled) PHP is set to display errors and error reporting is ON, but no errors are displayed when I finish the initial setup. Only a blank page. The server has php as CGI and all Dirs are 755 and files 644. Could this be a permission issue? I believe it would throw an error in this case... I have noticed also that the staff account is not created. If I am not mistaken there should be entries in staff - users tables, instead they are empty... however tables are created and populated with data and the user assigned to the database has all privileges. Anyway, currently I have undertaken this project for a client and I would like to find the cause of the blank page because the client prefers Blesta, but if I see that the issues cannot be solved, I will have to switch to Whmcs. I have never installed Blesta before and I would really appreciate any help with regards to where to look for errors, check for specific permissions if needed or configuration, etc. Kind regards, Tim
×
×
  • Create New...