Upgrading from 1.1.21 to...

Started by ducpainter, March 03, 2025, 12:02:44 PM

Previous topic - Next topic

Sir Osis of Liver

GoDaddy  :P   Are you running a vps?

Your attachments should be failing to load with 404s.  Upgrader is supposed to add a .dat extension to all hashed filenames, but sometimes it doesn't.  I have a script to fix that, will see if I can find it.

You have a lot of crap in /httpdocs, should do some cleanup.  (Over 2.5 gigs of database dumps from June 2024.)
When in Emor, do as the Snamors.
                              - D. Lister

Sir Osis of Liver

What did you do to /attachments?  You had 2502 files before upgrade, now there are 107, and most of those are avatars that shouldn't be there.
When in Emor, do as the Snamors.
                              - D. Lister

ducpainter

Quote from: Kindred on March 06, 2025, 02:32:32 PMI have been paid to transfer 10 different sites out of goDaddy to ICD Soft st this point....

GoDaddy has always been bad ---  they've just gotten worse than bad in the last 5 years
I'll keep that in mind.

You'll get no argument from me. I'm locked in for a while longer.

Quote from: Sir Osis of Liver on March 06, 2025, 03:47:08 PMWhat did you do to /attachments?  You had 2502 files before upgrade, now there are 107, and most of those are avatars that shouldn't be there.

I didn't touch anything, as I haven't been able to log in via FTP since the upgrade due to ssl cert issues. I did download all the file before the upgrade so I might have whatever is missing.

Quote from: Sir Osis of Liver on March 06, 2025, 03:43:14 PMGoDaddy  :P   Are you running a vps?

Your attachments should be failing to load with 404s.  Upgrader is supposed to add a .dat extension to all hashed filenames, but sometimes it doesn't.  I have a script to fix that, will see if I can find it.

You have a lot of crap in /httpdocs, should do some cleanup.  (Over 2.5 gigs of database dumps from June 2024.)
Yes. VPS wirh AlmaLinux 9.5 Like I said earlier, we were with mediatemple, and they were great. When Godaddy first bought them nothing changed. It was still great. The only reason I stayed with them on this renewal was they told me the server had php 5.4, and I like the Plesk cp. Since I wanted to keep the old look I stayed.

Turns out they lied to me about the php version. [bangshead], and here we are. ;D

I can use the file manager in my control panel to remove the backups, but feel free. I also want to get rid of all the Tiny Portal stuff, and old updates for 1.1.x in the package manager. Let me know.

Sir Osis of Liver

I have a backup of /attachments from Mar 3, will upload it now and run the .dat script.  Not sure what was done with avatars.  There are 2400 files in /custom_avatar.  That directory is created by the 2.1.4 upgrade and avatars are moved from /attachments to /custom_avatar.  Looks like that was done correctly, but no idea what happened to attachments, most of them are missing.

You have registration disabled, create an admin account for me and PM the login.
When in Emor, do as the Snamors.
                              - D. Lister


Sir Osis of Liver

Make me admin.

Looks like the upgrade went a bit sideways.  It ran successfully with no errors but things aren't quite right.  This is what I've done so far:

- Uploaded attachments from backup to /attachments
- Uploaded avatars from from backup to /custom_avatar
- Added .dat extension to all attachment files.
- Deleted avatars from /attachments.

When in Emor, do as the Snamors.
                              - D. Lister

ducpainter

Quote from: Sir Osis of Liver on March 06, 2025, 04:42:09 PMMake me admin.

Looks like the upgrade went a bit sideways.  It ran successfully with no errors but things aren't quite right.  This is what I've done so far:

- Uploaded attachments from backup to /attachments
- Uploaded avatars from from backup to /custom_avatar
- Added .dat extension to all attachment files.
- Deleted avatars from /attachments.


I did...I thought. Let me check.
I'm not surprised. Going from 2015 to 2025 in milliseconds will screw with lots of stuff.

ducpainter


Sir Osis of Liver

Cleared error log, let's let it run for a while.  Will try installing ezportal.
When in Emor, do as the Snamors.
                              - D. Lister

ducpainter

Already did that.

Didn't pick up the settings from simple. Got a message to ask for an importer from the author.

It's on the list.






























Sir Osis of Liver

Ezportal installs but doesn't work, not in main menu, no admin panel.  Just see it in permissions.  Installs fine on 2.1.4 test install.

Cleaning up.
When in Emor, do as the Snamors.
                              - D. Lister

ducpainter


Sir Osis of Liver

It doesn't work on your forum, no idea why.  Installs without errors, but it's not in ACP or main menu.  You can ask in mod support topic -

https://www.simplemachines.org/community/index.php?topic=271882.0

I've left it installed.
When in Emor, do as the Snamors.
                              - D. Lister

Sir Osis of Liver

Getting a lot of these -


Guest
216.244.66.196
fda25c918408e92dcd903dc7f0b9bd41
https://ducatimonsterforum.org/index.php?topic=10531.msg1467559
/var/www/vhosts/ducatimonsterforum.org/httpdocs/Sources/Load.php (Line 3199)
Backtrace information

Type of error: General
Error message Select
2: Trying to access array offset on value of type null


Now running mysqli client API library version - mysqlnd 8.2.27
When in Emor, do as the Snamors.
                              - D. Lister

ducpainter

I have no idea why either.

I may contact the developer...or not.

So many changes from where we were and now.

Not really worried.

My goal is to find someone to implement what was.

I do not have the skills.

You know that.

Sir Osis of Liver

Not on my computer, will have another look tomorrow.  Just let it run and see if any problems are reported.
When in Emor, do as the Snamors.
                              - D. Lister

Sir Osis of Liver

Any problems with the forum?  Error log looks ok.  Pretty sure I deleted the sql dumps from /httpdocs, they've come back. 

I'm thinking the problem with ezportal is a conflict with another mod.  What I'd like to do is uninstall all mods, remove hooks with repair_settings, upload clean files, install ezportal first.  Will try that tonight if everything else is ok.
When in Emor, do as the Snamors.
                              - D. Lister

ducpainter

Seems to be running fine.

The ezportal files are there, but aren't actually installed according to the package manager. I had it installed, but I read in the mod thread that you could request an importer from simple portal. I was hoping to do that rather than build it all over again. I haven't done that yet because I'm trying to decide which way to go with the theme.

The default theme on the old forum was modified with css. I have all the values that were used. I'm trying to figure where they go in index.css. The file I have is style.css. They look like different formats. I may try to rename it and replace the default copies with the renamed file to see what happens.

There's also the option of the curve color changer, but that only works on the default theme, and not copies, and I don't know how flexible it is.

Sir Osis of Liver

The 1.1 css in style.css is not compatible with a 2.1 (or 2.0) theme, you'll have to customize your theme from scratch.  Curve color changer may work, you'd have to try it -

This mod is mainly for the default theme, custom themes might be compatible depending on the author of the custom theme.

Not sure but I believe ezportal will inherit the SP settings.  It's not installing correctly, will try to fix that now.  Don't do anything with the forum til I'm done.'
When in Emor, do as the Snamors.
                              - D. Lister

ducpainter

Quote from: Sir Osis of Liver on March 07, 2025, 09:28:27 PMThe 1.1 css in style.css is not compatible with a 2.1 (or 2.0) theme, you'll have to customize your theme from scratch.  Curve color changer may work, you'd have to try it -

This mod is mainly for the default theme, custom themes might be compatible depending on the author of the custom theme.

Not sure but I believe ezportal will inherit the SP settings.  It's not installing correctly, will try to fix that now.  Don't do anything with the forum til I'm done.'

Are you familiar with the color changer? Can you specify colors, or are there canned pallettes?

Advertisement: