We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 42301
    • 2 Posts
    @opengeek, yes, I've just checked it. I even didn't login to the manager at all after installing 2.2.5. Just run upgrade to 2.2.6 immediately. Same errors and the policy is empty.
      • 10208 ☆ A M B ☆
      • 1,780 Posts
      Anyone notice that when you close a browser without logging out, that you can open the manager up again without having to log in?

      Here's a thought... I don't always use the flush sessions and log out all users before upgrading. If I'm in one browser only, I would just log out. But what if I'd logged in previously in another browser with another username and not actually "logged out" when I closed it.

      Wouldn't that leave a user logged in?

      I just looked at the upgrading docs, and nowhere does it say to log out before running setup.

      Why do I clearly remember the docs saying to make sure to log out all users before running setup when upgrading?

      ??? (where did the scratching head smiley go anyway? He was cute.)
        Frogabog- MODX Websites in Portland Oregon
        "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
        Having server issues? These guys have MODX Hosting perfected - SkyToaster
        • 52634
        • 60 Posts
        Hi, we have the same problem on a 2.2.6-pl installation, no updates, directly installed from tarball. Empty Media Source Admin Template, and the Media Source User Policy is based on the AdministratorTemplate? Strange...
        Never had this before on any other version.
          • 37117
          • 24 Posts
          I think I've managed to find a solution for that problem. It worked on three different Revo installations.

          Here you have a little screencast I've prepared - http://www.youtube.com/watch?v=Fnf2MdQ7VgY
            • 36816
            • 109 Posts
            Greetings,

            This issue just impacted me. Not encountered on other Revo installs.

            Background:

            1. Site had been installed as v2.2.5 Advanced (core outside document_root) and not previously upgraded
            2. No user-defined media sources existed at this time, nor did users, user groups, roles or access policies. I.e. - install defaults and the default Sudo user.
            3. Quite a vanilla installation. 4 resources, extremely simple template. Packages: Wayfinder, TinyMCE, GoogleSiteMap, securitypatch20130604 - all up-to-date
            4. Upgraded to 2.2.8
            5. Added Roles, mgr access policy, user group, users and a new file system media source
            6. Could not select media source policy as others described
            7. core/cache/logs/install*.log from 2.2.5 -> 2.2.8 did contain errors. Content pasted below (much the same as https://forums.modx.com/thread/77606/media-source-user-group-policy-missing?page=3#dis-post-446412 in this thread)
            8. Re-running setup (without copying any files) fixed the problem. No errors in the install log.

            Contents of install log:
            [2013-08-20 10:16:57] (ERROR @ /setup/index.php) Error 42S22 executing statement: 
            Array
            (
                [0] => 42S22
                [1] => 1054
                [2] => Unknown column 'modAccessPermission.policy' in 'where clause'
            )
            
            [2013-08-20 10:16:57] (ERROR @ /setup/index.php) Error 42S22 executing statement: 
            Array
            (
                [0] => 42S22
                [1] => 1054
                [2] => Unknown column 'modAccessPermission.policy' in 'where clause'
            )