Did something significant change about the 10.7 version as compared to the 10.6 version?

45 views
Skip to first unread message

Douglas Thompson

unread,
Nov 25, 2025, 1:36:55 PMNov 25
to ResourceSpace
I ask, because when I do the "svn switch ^/releases/10.7" thing listed on this page:


And then try to load RS, instead of seeing the login screen or anything, I get a "500 internal server error".

If I back it to 10.6 using "svn switch ^/releases/10,.6", everything works fine.

(So, I'm unable to upgrade it to 10.7 for some reason)

It's entirely possible that there's some server component that's preventing this because it's not recent enough, but I didn't have time to try to track that down or anything.

Just curious,

SimLofi.Com

unread,
Nov 26, 2025, 5:45:25 AMNov 26
to resour...@googlegroups.com

A 500 Internal Server Error after switching to RS 10.7 via SVN usually indicates a PHP error or incompatible server component (like an outdated PHP version or missing extension). Since it works fine when you switch back to 10.6, 10.7 likely introduced something that your current server environment can't support.

A few things you can check:

  1. PHP Version
    ResourceSpace 10.7 may require a newer PHP version than 10.6. Could you make sure your server is running at least PHP 8.1? See the composer.json                                                                                                                             "require": {

            "php": "8.1 - 8.3",
            "ext-mbstring": "*",
            "ext-intl": "*",
            "ext-curl": "*",
            "ext-dom": "*",
            "ext-zip": "*",
            "ext-gd": "*",
            "ext-mysqli": "*",
            "ext-json": "*"
        },
  2. Error Logs
    Check your Apache error logs. That’ll help confirm what exactly is failing.

  3. Required Extensions
    ResourceSpace sometimes adds new PHP extension dependencies (like intl, mbstring, etc.) between versions. See point 1.     

  4. File Permissions
    SVN switch sometimes results in files with incorrect ownership or permissions. Running:

    sudo chown -R www-data:www-data /path/to/resourcespace sudo find /path/to/resourcespace -type d -exec chmod 755 {} \; sudo find /path/to/resourcespace -type f -exec chmod 644 {} \;

    (adjust user/group based on your server config) might help rule that out.

Regards

Ade Owolabi

Moto: Listen. Think. Create


--
ResourceSpace: Open Source Digital Asset Management
http://www.resourcespace.com
---
You received this message because you are subscribed to the Google Groups "ResourceSpace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to resourcespac...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/resourcespace/05c4f685-c92c-4e31-b877-1b8c456299f5n%40googlegroups.com.

Dan Huby

unread,
Dec 12, 2025, 7:21:29 AM (10 days ago) Dec 12
to ResourceSpace
Hi Douglas, 

Sorry for the late reply. The clue will be in your web server error log. For Apache that's normally something like:

/var/log/apache2/error.log

That will tell you what the specific issue is. It's likely PHP version. 

Dan

Douglas Thompson

unread,
Dec 12, 2025, 9:52:17 AM (10 days ago) Dec 12
to ResourceSpace
For me, it ended up being (I think) in the ssl_error_log file in the /var/log/httpd directory on the server:

But, as far as I can tell, it's not PHP version:

AH01276: Cannot serve directory /var/www/html/rsspace: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive

But that error doesn't happen with RS 10.6, so if I'm reading this correctly (and I'm not very well-versed in server/programming stuff, btw), then it thinks it's missing the index.php file in that directory, but I just checked and that's there (and nearly identical) in both instances.

Another nail in the "it's likely PHP Version" coffin is the fact that a php -v says we have PHP v8.2.28


Says that RS requires PHP v8.1, v8.2, v8.3, or v8.4 for RS v10.6+, so v8.2.28 should be okay in that regard.

While on that page, I checked our MariaDB version, our Apache version, and our PHP extensions: That page says RS requires MariaDB v10.0.1+ (and we have v15.1, according to a "mysql -V"). That page says RS requires Apache v2.4+ (and we have v2.4.37 according to a "httpd -v"). That page lists PHP extensions that RS requires and a "php -m" reveals that we have them all except for php-ldap, php-imap, and php-cli (which, to my understanding, are all bits of RS functionality that we don't use: LDAP, IMAP, and Command Line Interface stuff). That's the only discrepancy that I'm seeing, though...maybe one (or more) of those extensions are required even if they're not actively being used by us for anything?

Dan Huby

unread,
Dec 12, 2025, 9:59:24 AM (10 days ago) Dec 12
to ResourceSpace
It couldn't find index.php in 10.7 but it could in 10.6? That doesn't make any sense at all to me and I think something else must be going on other than the ResourceSpace upgrade.
Is this repeatable, as in, can you "svn switch" between the two, changing nothing else, and the problem occurs every time?

Douglas Thompson

unread,
Dec 12, 2025, 10:01:59 AM (10 days ago) Dec 12
to ResourceSpace
Yeah I can svn switch between the two and the problem only happens when I switch to 10.7. I can switch back to 10.6 and it works with no errors.

The more I think about it, I'm thinking the index.php thing may be unrelated and just crept in when I was trying various things.

So I guess the big question is whether those three PHP extensions that we don't currently have are needed (despite them being, I think, for RS functionality that we do not use)

Dan Huby

unread,
Dec 12, 2025, 10:02:07 AM (10 days ago) Dec 12
to 'Dan Huby' via ResourceSpace

Did you check file permissions? Perhaps the files are no longer readable by the web server after the switch.

--
ResourceSpace: Open Source Digital Asset Management
http://www.resourcespace.com
---
You received this message because you are subscribed to a topic in the Google Groups "ResourceSpace" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/resourcespace/Efv0P2an084/unsubscribe.
To unsubscribe from this group and all its topics, send an email to resourcespac...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/resourcespace/02636237-031c-4c4d-9e6d-06c39f465f3bn%40googlegroups.com.

Douglas Thompson

unread,
Dec 12, 2025, 10:36:40 AM (10 days ago) Dec 12
to ResourceSpace
So the error that's coming up in my browser when I try to access RS after the "svn switch" thing is:

"500 Internal Server Error"

(in case that helps anything)

Either way, though the ownership is the same for v10.7 as it is for v10.6, so that's not the culprit...

And the file permissions on the "include" folder are identical (I did a "sudo chmod -R 750 include/" just to be sure) for the two RS versions yet the problem persists, so that's not the culprit...

Reply all
Reply to author
Forward
0 new messages