We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36926
    • 701 Posts
    Hi,

    I'm getting the following error message during the install wizard.

    core/export directory is writable: Failed!
    and
    core/packages directory is writable: Failed!

    I can pass this if i set the directories permissions to 777, but i don't want to do this if I shouldn't have to as i've not had any issues on other installs. But i'm using a new VPS server so i'm guessing there's something up with setup. I cross checked with the wikis server requirements and everything seems ok. Anyone any ideas?

    revo - 2.1.5
    php 5.3.2
    mysql 5.1.52.
    Apache/2.2.15 (Unix)

    Thanks

    Ben
      • 9674
      • 170 Posts
      Sorry, can't help but I will be interrested when you have an answer...
      • Hello,

        How do you have php configured on the server?
          Patrick | Server Wrangler
          About Me: Website | TweetsMODX Hosting
          • 36926
          • 701 Posts
          Hi,

          Even after making those folders 777 i get similar warning about making core/packages/core.transport.zip writable. So would have to also make that 777.


          info below from php info file.

          Thanks
          Ben

          php core info below.

          Core

          PHP Version 5.3.2

          Directive Local Value Master Value
          allow_call_time_pass_reference Off Off
          allow_url_fopen On On
          allow_url_include Off Off
          always_populate_raw_post_data Off Off
          arg_separator.input & &
          arg_separator.output & &
          asp_tags Off Off
          auto_append_file no value no value
          auto_globals_jit On On
          auto_prepend_file no value no value
          browscap no value no value
          default_charset no value no value
          default_mimetype text/html text/html
          define_syslog_variables Off Off
          disable_classes no value no value
          disable_functions no value no value
          display_errors Off Off
          display_startup_errors Off Off
          doc_root no value no value
          docref_ext no value no value
          docref_root no value no value
          enable_dl Off Off
          error_append_string no value no value
          error_log no value no value
          error_prepend_string no value no value
          error_reporting 22527 22527
          exit_on_timeout Off Off
          expose_php Off Off
          extension_dir /usr/lib64/php/modules /usr/lib64/php/modules
          file_uploads On On
          highlight.bg #FFFFFF #FFFFFF
          highlight.comment #FF8000 #FF8000
          highlight.default #0000BB #0000BB
          highlight.html #000000 #000000
          highlight.keyword #007700 #007700
          highlight.string #DD0000 #DD0000
          html_errors Off Off
          ignore_repeated_errors Off Off
          ignore_repeated_source Off Off
          ignore_user_abort Off Off
          implicit_flush Off Off
          include_path .: .:
          log_errors On On
          log_errors_max_len 1024 1024
          magic_quotes_gpc Off Off
          magic_quotes_runtime Off Off
          magic_quotes_sybase Off Off
          mail.add_x_header On On
          mail.force_extra_parameters no value no value
          mail.log no value no value
          max_execution_time 60 60
          max_file_uploads 20 20
          max_input_nesting_level 64 64
          max_input_time 60 60
          memory_limit 128M 128M
          open_basedir /var/www/vhosts/mydomain.com/httpdocs/:/tmp/ no value
          output_buffering 4096 4096
          output_handler no value no value
          post_max_size 8M 8M
          precision 14 14
          realpath_cache_size 16K 16K
          realpath_cache_ttl 120 120
          register_argc_argv Off Off
          register_globals Off Off
          register_long_arrays Off Off
          report_memleaks On On
          report_zend_debug On On
          request_order GP GP
          safe_mode Off On
          safe_mode_exec_dir no value no value
          safe_mode_gid Off Off
          safe_mode_include_dir no value no value
          sendmail_from no value no value
          sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
          serialize_precision 100 100
          short_open_tag On On
          SMTP localhost localhost
          smtp_port 25 25
          sql.safe_mode Off Off
          track_errors Off Off
          unserialize_callback_func no value no value
          upload_max_filesize 10M 10M
          upload_tmp_dir no value no value
          user_dir no value no value
          user_ini.cache_ttl 300 300
          user_ini.filename .user.ini .user.ini
          variables_order GPCS GPCS
          xmlrpc_error_number 0 0
          xmlrpc_errors Off Off
          y2k_compliance On On
          zend.enable_gc On On
          • Do you know how php is configured with apache? (dso, phpsuexec, suexec, etc...) The php.ini info looks fine based on a quick scan.

            Also what if any control panel do you have on the system?
              Patrick | Server Wrangler
              About Me: Website | TweetsMODX Hosting
              • 36926
              • 701 Posts
              Thanks AMDbuilder for your time looking at this.

              I've finally got somewhere with this.

              It was to do with the issue mentioned here:
              http://stackoverflow.com/questions/5165183/apache-permissions-php-file-create-mkdir-fail

              I then spoke to the host who said enabling FastCGI should help, the guide here was useful for plesk control panel:
              http://kb.mediatemple.net/questions/1890/(dv)+How+do+I+enable+FastCGI%3F#dv_40

              I then encountered another problem as could no longer view the setup page, was getting a session path error. Again the hosts helped me out. This time they needed the system admin team to do something behind the scenes. I was told they create a symlink between the tmp and the current set session path folder. This solved that issue and so far so good with my revo instal.

              The hosts in question were Heart Internet, thought i should mention their name as they particularly helpful.


              Oh and control panel installed is plesk, which from googling might of been part of the problem with the session path.

              Thanks

              Ben
              • Hello Ben,

                I'm glad to hear you got the problem resolved. If you have a moment you should share your experience with Heart Internet in the Hosting Experience section (http://forums.modx.com/board/?board=13).

                I've never had good luck running MODX on Plesk powered servers, so I am glad you got it working.
                  Patrick | Server Wrangler
                  About Me: Website | TweetsMODX Hosting