We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10564
    • 1 Posts
    Web Server:

    * PHP version 5
    * Linux

    Database:

    * MySQL version 5

    MODx:

    * 2.0.3


    Error Message:
    Your assets/ directory was not able to be created at: /blablabla/assets/
    You will need to create this directory and make it writable if you want to use Package Management or 3rd Party Components.
    Your assets/components/ directory was not able to be created at: /blablabla/assets/components/
    You will need to create this directory and make it writable if you want to use Package Management or 3rd Party Components.

    Tried to google it but it didn’t had anything rather than translation projects.

    I logged in through FTP, and it let me change to 0777 all these folders. The problem kept on and i tried to chmod through the manager from which i got this msg : "The webserver does not have the necessary permissions to update the directory."
      • 15083
      • 697 Posts
      Have you created your /assets/ dir.
      The base Rev install does not have the above setup, you have to do it manually.
      This I am told makes the core more "mobile" smiley

      Hope this helps.
        • 28493
        • 1 Posts
        I’m also having this problem. Even creating the /assets/ and /assets/components/ directories manually with 777 permissions. Any tips?
          • 36293
          • 6 Posts
          i am having the same issue, i believe i have all the correct folders and permissions.
          how do i get passed this?
          i am very new to this and trying to follow the simple tutorial on the modx site but cant finish it due to this hurdle.

          my web host tell me i have cURL activated - i read this might be a problem if missing.

          here is a pic of what i get when trying to download any extras:

          all the download buttons seem to activate when i try downloading wayfinder and it just stays like this

          Thank you
            • 12379
            • 460 Posts
            I had a similar problem on a Zeus server install and also using MODx's file manager threw a similar error when expanding all the directories, "Please specify a valid directory". What I noticed was a missing "/" before "components" and "assets", ie "/server/path/to/wwwassets" and "server/path/to/wwwcomponents".

            In core/config/config.inc.php I added a trailing "/" after "www" on line 44 to make it:

            $modx_base_path= '/clientdata/zeus-dynamic-1/rest/of/path/www/';


            Hope this helps.
              Mostly harmless.
              • 36811
              • 5 Posts
              hi everyone,

              Is this fixed?
              I have a similar problem, but instead of an invalid directory. it keeps pointing to the old directory where I placed modx [local install then migrated to the live server] before. It's looking for the C:/path/soen/so. all my config files have been updated as per the modx migration instructions.

              oh and I can download the add-ons. but when I install it, that's when the directory path error shows up
                • 28215
                • 4,149 Posts
                takakir, change the path of the only row in the modx_workspaces table.
                  shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com