Simple Machines Community Forum

SMF Development => Bug Reports => Topic started by: Sir Osis of Liver on June 12, 2024, 01:25:56 PM

Title: Re: Announcing the start of SMF 3.0 development
Post by: Sir Osis of Liver on June 12, 2024, 01:25:56 PM
Just tried installing current github version of 3.0, does not complete after this error -


Your settings have now been saved and the database has been populated with all the data required to get your forum up and running. Summary of population:

    Created 72 tables.
    Inserted 704 rows.

Some of the queries were not executed properly. This could be caused by an unsupported (development or old) version of your database software.

Technical information about the queries:

    Line #1604: Field 'exdates' doesn't have a default value

Click "Continue" to progress to the admin account creation page.


WSOD to create admin account.

Version Information:
GD version: 2.3.3
ImageMagick version: 7.1.1-19 Q16-HDRI x86_64 21601 https://imagemagick.org (Imagick 3.7.0)
MySQL engine: MariaDB
MySQL version: 10.6.17-MariaDB-cll-lve
SQLite3 database based caching: 3.45.2
PHP: 8.0.30 (more detailed)
Server version: LiteSpeed

Title: Re: Re: Announcing the start of SMF 3.0 development
Post by: d3vcho on June 12, 2024, 03:04:44 PM
Yup, there's an PR for that already: https://github.com/SimpleMachines/SMF/pull/8235
Title: Re: Re: Announcing the start of SMF 3.0 development
Post by: Tyrsson on June 12, 2024, 05:59:05 PM
Last time I ran it I had the same thing reported but have not had any issue, but I am not using any of the calendar functionality in this particular build.
Title: Re: Re: Announcing the start of SMF 3.0 development
Post by: Sir Osis of Liver on June 12, 2024, 09:54:12 PM
Database is populated with 72 tables, Settings.php looks correct.  Forum doesn't load, cannot create admin account.  Giving exdates a default value has no effect.  Don't think the install quite completed.
Title: Re: Re: Announcing the start of SMF 3.0 development
Post by: Sesquipedalian on June 13, 2024, 11:34:58 AM
Thanks for the report, @Sir Osis of Liver. But the announcement blog post isn't really the right place for such things, so I have split and moved it to its own topic in the bug reports board.
Title: Re: Re: Announcing the start of SMF 3.0 development
Post by: Sir Osis of Liver on June 13, 2024, 05:00:10 PM
If there's a working version available, why not start a 3.0 support topic?  Would encourage members to try it, and devs would get some early feedback.
Title: Re: Re: Announcing the start of SMF 3.0 development
Post by: Kindred on June 13, 2024, 05:46:22 PM
Because it's not ready for beta
Title: Re: Re: Announcing the start of SMF 3.0 development
Post by: shawnb61 on June 13, 2024, 05:51:03 PM
OTOH,given it's an alpha-1 release, bug reports on GitHub would be appropriate.
Title: Re: Re: Announcing the start of SMF 3.0 development
Post by: Sir Osis of Liver on June 13, 2024, 05:53:20 PM
Doesn't have to be beta, does it?  As long as it's explained that it's alpha and not for production use.  The earlier in the process you get feedback (especially negative), easier it is to address it.  Don't want any nasty surprises like 2.1 attachments, do we?  :P


Title: Re: Re: Announcing the start of SMF 3.0 development
Post by: KittyGalore on June 13, 2024, 07:17:11 PM
Quote from: Sir Osis of Liver on June 13, 2024, 05:53:20 PMDoesn't have to be beta, does it?  As long as it's explained that it's alpha and not for production use.  The earlier in the process you get feedback (especially negative), easier it is to address it.  Don't want any nasty surprises like 2.1 attachments, do we?  :P



I agree it could be given so others can test it out and see if there is any bugs.
Title: Re: Re: Announcing the start of SMF 3.0 development
Post by: Kindred on June 13, 2024, 07:42:11 PM
Well, that's the thing.  It's alpha. There are bugs - probably technical bugs.
So the people who we would want to review it are technical people, especially who are familiar with github...
Title: Re: Re: Announcing the start of SMF 3.0 development
Post by: shawnb61 on June 13, 2024, 07:59:37 PM
3.0 is already publicly available on GitHub.  Have at it!

If you have feedback, at this time the proper place is to log an issue on GitHub, IMO.

It's all public already. 

We expect a lot of bugs early.  The problem with the bug reports board this early are that the SMF support staff are unlikely to be able to help diagnose at this point, and that somebody (any volunteers?) needs to verify and re-enter the issues up on GitHub. 

This can be a lot of duplicate effort. 

Help testing is welcome at any time!  Nobody is saying don't test or share feedback.  It's just that during alpha, if you want to do so, it's best to work directly with the devs on GitHub.


(I'm not sure I agree that 2.1 needed any more alpha & beta testing than it had...)
Title: Re: Re: Announcing the start of SMF 3.0 development
Post by: Tomy Tran on June 14, 2024, 04:38:43 AM
I see 3.0 on gihub, but did anyone install it successfully? I mean I have a live host on hawk but it requires higher requirement at PHP above 8.1 then I did not see 3.0 demo in action yet
Title: Re: Re: Announcing the start of SMF 3.0 development
Post by: KittyGalore on June 14, 2024, 07:21:51 AM
Quote from: Tomy Tran on June 14, 2024, 04:38:43 AMbut did anyone install it successfully
Not working because it asks that i upgrade

Critical Error!
Your MySQL version does not meet the minimum requirements of SMF.

Please ask your host to upgrade.
Title: Re: Re: Announcing the start of SMF 3.0 development
Post by: Kindred on June 14, 2024, 07:36:59 AM
Well, you need to make sure that you are running the basic requirements...

As I said, alpha testing really depends on technically inclined folks.
Title: Re: Re: Announcing the start of SMF 3.0 development
Post by: shawnb61 on June 14, 2024, 09:09:09 AM
No, no demo yet.  It's still in alpha.

Minimum mysql is 8.0.35.

I believe it will *install* on php 8.0.0, but I wouldn't suggest testing on a version that is already eol.

Php 8.0 is EOL.  Php 8.1 is already in security fixes only & will be eol on 1/1/26.

I test using php 8.3 & mysql 8.4.  Yes, it installs fine.  Minor issues with installer are visible up on GitHub.
Title: Re: Re: Announcing the start of SMF 3.0 development
Post by: Sesquipedalian on June 14, 2024, 12:01:36 PM
Quote from: Kindred on June 14, 2024, 07:36:59 AMalpha testing really depends on technically inclined folks.

Quote from: shawnb61 on June 14, 2024, 09:09:09 AMNo, no demo yet.  It's still in alpha.

This bears repeating.

Code in the alpha stage is like a house under construction. Only construction workers should be there. The wiring is probably all exposed. The new countertops certainly aren't in yet. Heck, there may not even be a kitchen sink at the moment. There might be gaping holes in the living room walls, not because it's "broken" but because the new bay windows haven't been installed yet.
Title: Re: Re: Announcing the start of SMF 3.0 development
Post by: Kindred on June 14, 2024, 12:15:44 PM
And, sir Osis ... this is exactly why we have not made a wide announcement.   We'd get people testing who have no idea what's going on and immediately start reporting that hole in the wall that will eventually be the bay window and the missing sink or thr exposed wiring
Title: Re: Re: Announcing the start of SMF 3.0 development
Post by: Sir Osis of Liver on June 14, 2024, 01:05:02 PM
Quote from: shawnb61 on June 13, 2024, 07:59:37 PMIt's just that during alpha, if you want to do so, it's best to work directly with the devs on GitHub.
Well, that's part of the problem.  Github is built for development, it's not at all user friendly for us dumber people ??? .  But I think dumb feedback is useful once you have a useable alpha.  Which leads to second point ....

QuoteI'm not sure I agree that 2.1 needed any more alpha & beta testing than it had
Don't know if that would have made any difference, anyway.  Alpha testers are mostly tech-inclined people, less so betas, but they may not be representative of the typical user who first sees the product on official release.  Coders are known to get wrapped up in coding and lose sight of the end user (ref. Win 8.0).  The aforementioned 2.1 attachments feature was very impressive from a technical standpoint, but it was a mess for the aforementioned dumber people ??? .

Will try installing alpha in higher php version, but readme requires "PHP 7.0 or higher".  Hopefully final will not be too fussy, there are a lot of hosts running eol php versions.
Title: Re: Re: Announcing the start of SMF 3.0 development
Post by: shawnb61 on June 14, 2024, 01:13:26 PM
As stated above, minimum php 8.0 is a hard requirement.  I suggest 8.2 or 8.3.   Minimum mysql is 8.0.35.
Title: Re: Re: Announcing the start of SMF 3.0 development
Post by: Sir Osis of Liver on June 14, 2024, 01:33:53 PM
Installed successfully in php 8.1.29, up and running.  Still got the exdates error, but was able to continue to admin setup.  Looks exactly like 2.1.  Will play with it tonight.

Title: Re: Re: Announcing the start of SMF 3.0 development
Post by: All Colours Sam on June 14, 2024, 01:36:05 PM
Quote from: Sir Osis of Liver on June 14, 2024, 01:05:02 PMWell, that's part of the problem.  Github is built for development, it's not at all user friendly for us dumber people ??? .  But I think dumb feedback is useful once you have a useable alpha.  Which leads to second point ....

By definition, anything in Alpha state cannot be "Usable".
Title: Re: Re: Announcing the start of SMF 3.0 development
Post by: shawnb61 on June 14, 2024, 02:41:52 PM
As a refresher, the goals of 3.0 were shared last November:
https://www.simplemachines.org/community/index.php?topic=587334.0
Title: Re: Re: Announcing the start of SMF 3.0 development
Post by: Sir Osis of Liver on June 14, 2024, 09:10:45 PM
Quote from: Suki on June 14, 2024, 01:36:05 PMBy definition, anything in Alpha state cannot be "Usable".

I'm not suggesting it should be useable for production (think I said that), just useable in the sense that there's a current package available that will install and run for people who are interested in an early look.

And it looks/works exactly like 2.1.  But not in php 8.0.30.
Title: Re: Re: Announcing the start of SMF 3.0 development
Post by: Kindred on June 14, 2024, 10:16:18 PM
But that's the point that we are making sir Osis...   alpha IS NOT INTENDED for "dumb" users. It's not ready.


THAT is why we don't make a huge announcement about it.
Technically inclined users can and should use github.
Title: Re: Re: Announcing the start of SMF 3.0 development
Post by: Sir Osis of Liver on June 14, 2024, 10:23:20 PM
Well, this dumb user has it installed.  It's never to early to start complaining about it. :D

Title: Re: Re: Announcing the start of SMF 3.0 development
Post by: Diego Andrés on June 14, 2024, 11:58:14 PM
Quote from: Sir Osis of Liver on June 14, 2024, 09:10:45 PMBut not in php 8.0.30.

MySQL 8.0.30*
The db error/warning isn't about PHP.

Unless you mean that's what you're running... which should be fine for now.

Quote from: Sir Osis of Liver on June 14, 2024, 09:10:45 PMAnd it looks/works exactly like 2.1.
That's intended, in the roadmap you'll see which alpha is supposed to have more theme changes.
Title: Re: Re: Announcing the start of SMF 3.0 development
Post by: Sesquipedalian on June 15, 2024, 03:46:56 AM
At this point in time, the changes that an end user could easily see are:



Title: Re: Re: Announcing the start of SMF 3.0 development
Post by: Sir Osis of Liver on June 15, 2024, 10:57:54 PM
Quote from: Diego Andrés on June 14, 2024, 11:58:14 PMMySQL 8.0.30*
The db error/warning isn't about PHP.

Unless you mean that's what you're running... which should be fine for now.

Install fails in php 8.0.30, all tables are populated, but cannot create admin account.  Installed it successfully in php 8.1, but it won't load in 8.0, wsod.  Hopefully 3.0 will not end up being that fussy, we're still seeing forums running in php 5.x.

Title: Re: Re: Announcing the start of SMF 3.0 development
Post by: Tyrsson on June 15, 2024, 11:50:26 PM
Quote from: Sir Osis of Liver on June 15, 2024, 10:57:54 PMwe're still seeing forums running in php 5.x.
Which is one reason you see so many projects evolve so slowly. Because the projects concern themselves tooooo much on supporting every php version in the wild.

If your host does not provide at minimum php 8.1 you need a new host. Period. Why? Because they are lazy.