ComposrV11Alpha1 - Test Report #001 - Install & Setup Wizard

Post

Posted
Rating:
#9006 (In Topic #3053)
Avatar
Standard member
SoccerDad is in the usergroup ‘Community saint’

Initial installation report

Ahhh, how exciting once again: a new version of Composr to kick the tires of!!  :) The last time I took the package for a complete test spin was ocPortal V3 beta IIRC, many moons ago.

This report surrounds the install process and with the exceptions noted in the report, I left everything else as default. My next report will be from a customized install for comparison purposes.

Environment

Expand: Environment Environment


Step #1:

2023-02-20_09-31.png

List of files mentioned above:

Expand: List of files mentioned above List of files mentioned above


Step #4 - noting some good security stuff:
  • tried using the same password for all accounts including database and was presented with an error
  • step #5 noted I used the root account for the database and wouldn't let me proceed further. Suggestion here: a link or some other mechanism to allow the user to return to step #4 easily. As it stands now, it's browser back button then page refresh which might freak out some users.
Image

2023-02-20_09-39.png

2023-02-20_09-39.png


Created a database and user for the install and all went well from here on in.

Image

2023-02-20_09-53.png

2023-02-20_09-53.png


All screens produced the following in the error log:

Expand: apache2 error.log apache2 error.log


Moving to finalizing step #10 resulted in the following in the logs repeated at least 20 times:

Code

sh: 1: /usr/sbin/sendmail: not found

I should also note here that based on a previous install experience that didn't go so well (mostly due to my virtual machine setup), I manually created .htaccess in the installation root as it is not present and does cause the wizard to fail on the last step with out it producing the following:

PHP WARNING [2] fopen(.htaccess) [<a href='http://php.net/manual/en/function.fopen.php'>function.fopen.php</a>]: Failed to open stream: No such file or directory in sources/global3.php on line 377 (version: 11 alpha1, PHP version: 8.1.2-1ubuntu2.10, URL: http://area11.cato/adminzone/index.php?page=admin-setupwizard&type=step10)


General items of note:
  • this might be confusing for folks as the text does not match the options available
Image

2023-02-20_09-50.png

2023-02-20_09-50.png
  • the prompt to run the setup wizard does not go away after apparent successful completion, present on all adminzone top level screens
Image

2023-02-20_09-55.png

2023-02-20_09-55.png
  • sample of the aforementioned logged errors
Image

2023-02-20_10-14.png

2023-02-20_10-14.png

All in all and excellent experience which also shows the strength and maturity of the Composr codebase. Looking forward to rollin' up the virtual sleeves and diggin' in! ;)

Last edit: by SoccerDad


"no violence, no hate, no pain, no enemies
just peace, unity, tolerance and love" - The Beloved
Online now: No Back to the top

Post

Posted
Rating:
#9008
Avatar
Site director
Patrick Schmalstig is in the usergroup ‘Administrators’
Hello SoccerDad .

Thank you for testing out v11 and presenting your findings! The corrupt files list can be ignored for now; it's because the files.bin checksums are not generated every time we commit changes for v11. So Composr thinks you have corrupted files.

file_array_get() is a special function that exists within the quick installer. Seems to potentially be missing elsewhere, such as the manual installer. I'll investigate. It's only supposed to exist within the quick installer, so that means the function is being called in error when it does not exist. Will investigate further.

the sendmail error was probably because Composr was trying to e-mail you those other errors. And you haven't yet set up SMTP yet as you don't have sendmail available.

Did the install fail to create .htaccess this time around? If so I'll look into it. It probably should copy recommended.htaccess into .htaccess when it does not already exist (and creating the file if it is not there). I'll look into possibly modifying that behaviour.

The accept user submissions and install test content settings are odd. Is this the Setup Wizard? I'll check into it.

Setup Wizard is supposed to be saving a hidden value upon completion to make that message go away. It does not seem to be happening, so I'll look into that.

I'll update you when these issues have been addressed so you can confirm whether or not the fixes work on your end.

Last edit: by Patrick Schmalstig


  • Need support for version 10? The core development team is no-longer offering it for free (unless it's a critical bug that breaks your entire site or a serious security hole). Please consider hiring me instead if you need v10 support or a non-critical bug fix. Or, ask the community in the forums!
  • Do you enjoy Composr? Please consider contributing your talent to the project or recommending Composr to others. Even small contributions make a big impact in the Composr community.
  • Do you have feedback for us? You can report bugs, suggest features, or give feedback on the Free support options page.
  • Do you need professional service with your Composr website? Please consider contracting me for your needs through my company, PDStig, LLC. Doing so will also help fund Composr development.
  • Want to watch live streams of me developing Composr CMS? Please subscribe to me on Twitch to be notified when I stream. Composr development streams are usually spontaneous / not scheduled in advance as work priorities come first.
Online now: No Back to the top

Post

Posted
Rating:
#9013
Avatar
Standard member
SoccerDad is in the usergroup ‘Community saint’
Hi Patrick and my pleasure! :-)

Patrick Schmalstig said

Did the install fail to create .htaccess this time around? If so I'll look into it. It probably should copy recommended.htaccess into .htaccess when it does not already exist (and creating the file if it is not there). I'll look into possibly modifying that behaviour.
I jumped ahead and created it myself as the previous install in the busted virtual machine did not. I'm going to run two more installs today, one just changing the database info and admin passwords and the second I'll run as if I was setting up a site and customizing during install. That way we'll have a solid idea of what's happening and I'll also be able to rule out my virtual machine as the culprit.
The accept user submissions and install test content settings are odd. Is this the Setup Wizard? I'll check into it.
Correct, setup wizard. There used to be the two choices there, full guest and single site IIRC.
I'll update you when these issues have been addressed so you can confirm whether or not the fixes work on your end.
Sounds good!



"no violence, no hate, no pain, no enemies
just peace, unity, tolerance and love" - The Beloved
Online now: No Back to the top

Post

Posted
Rating:
#9015
Avatar
Standard member
SoccerDad is in the usergroup ‘Community saint’
==== Follow-Up Install Testing ====
First Install
  • changed only the passwords and database information on screen #4 and let the rest of the installation proceed automagically which it did without error.
  • clicked “Go to my new website now” which resulted in the setup wizard starting as expected
  • upon clicking Proceed on the last screen, step 9 to 10, the page hangs for approx. 2 mins then produces the following:
 An error has occurred

PHP WARNING [2] fopen(.htaccess) [<a href='http://php.net/manual/en/function.fopen.php'>function.fopen.php</a>]: Failed to open stream: No such file or directory in sources/global3.php on line 377 (version: 11 alpha1, PHP version: 8.1.2-1ubuntu2.10, URL: http://area11.cato/adminzone/index.php?page=admin-setupwizard&type=step10)

Expand: Stack Trace Stack Trace

  • no .htaccess created:
ls -al | grep .htaccess
-rw-rw-r–  1 www-data www-data    9942 Feb 18 03:45 recommended.htaccess
  • directory permissions
drwxrwxr-x 28 www-data www-data      4096 Feb 22 10:06 area11

Second install
  • changed passwords and database settings
  • customized for “community” along with a couple of other choices
 
Setup Wizard worked AOK until the same last step error:

 An error has occurred

PHP WARNING [2] fopen(.htaccess) [<a href='http://php.net/manual/en/function.fopen.php'>function.fopen.php</a>]: Failed to open stream: No such file or directory in sources/global3.php on line 377 (version: 11 alpha1, PHP version: 8.1.2-1ubuntu2.10, URL: http://area11.cato/adminzone/index.php?page=admin-setupwizard&type=step10)

Confirming that .htaccess was not copied/generated during install
ls -al | grep .htaccess
-rw-rw-r–  1 www-data www-data    9942 Feb 18 03:45 recommended.htaccess

Expand: Stack Trace Stack Trace


Last edit: by Patrick Schmalstig


"no violence, no hate, no pain, no enemies
just peace, unity, tolerance and love" - The Beloved
Online now: No Back to the top

Post

Posted
Rating:
#9016
Avatar
Site director
Patrick Schmalstig is in the usergroup ‘Administrators’
SoccerDad Are you using the quick installer, manual installer, or installing directly from the git repository?

Also, I had to edit your post above because you had broken HTML in your last stack trace, causing the entire topic to not render correctly.

  • Need support for version 10? The core development team is no-longer offering it for free (unless it's a critical bug that breaks your entire site or a serious security hole). Please consider hiring me instead if you need v10 support or a non-critical bug fix. Or, ask the community in the forums!
  • Do you enjoy Composr? Please consider contributing your talent to the project or recommending Composr to others. Even small contributions make a big impact in the Composr community.
  • Do you have feedback for us? You can report bugs, suggest features, or give feedback on the Free support options page.
  • Do you need professional service with your Composr website? Please consider contracting me for your needs through my company, PDStig, LLC. Doing so will also help fund Composr development.
  • Want to watch live streams of me developing Composr CMS? Please subscribe to me on Twitch to be notified when I stream. Composr development streams are usually spontaneous / not scheduled in advance as work priorities come first.
Online now: No Back to the top

Post

Posted
Rating:
#9017
Avatar
Standard member
SoccerDad is in the usergroup ‘Community saint’
Hey Patrick!

I pulled the zip from the git repo on the 18th and launch the installer via web browser → I'm lazy so just open URL to doc root then click the installer link that accompanies the critical error page :)

Thanx for fixing that up for me, appreciated!

"no violence, no hate, no pain, no enemies
just peace, unity, tolerance and love" - The Beloved
Online now: No Back to the top

Post

Posted
Rating:
#9018
Avatar
Site director
Patrick Schmalstig is in the usergroup ‘Administrators’
SoccerDad No problem. Sounds like a hybrid manual/git install then.

I think I addressed the issues you mentioned. On your own time, feel free to do another test install.

Only issue I did not address yet was a back button on the installer. That's going to be a bit complicated.

  • Need support for version 10? The core development team is no-longer offering it for free (unless it's a critical bug that breaks your entire site or a serious security hole). Please consider hiring me instead if you need v10 support or a non-critical bug fix. Or, ask the community in the forums!
  • Do you enjoy Composr? Please consider contributing your talent to the project or recommending Composr to others. Even small contributions make a big impact in the Composr community.
  • Do you have feedback for us? You can report bugs, suggest features, or give feedback on the Free support options page.
  • Do you need professional service with your Composr website? Please consider contracting me for your needs through my company, PDStig, LLC. Doing so will also help fund Composr development.
  • Want to watch live streams of me developing Composr CMS? Please subscribe to me on Twitch to be notified when I stream. Composr development streams are usually spontaneous / not scheduled in advance as work priorities come first.
Online now: No Back to the top

Post

Posted
Rating:
#9022
Avatar
Standard member
SoccerDad is in the usergroup ‘Community saint’
Sounds good Patrick, thanx and will do, hopefully I'll have some time today to test!

Before I do though, one more post on this version just so you are aware as this one could be a show stopper. I ran a third install and this time along with selecting "community" in the setup wizard, I also added a couple of components as well as removed some, most notably the eCommerce module. The final step in the setup wizard produced the following:

Image

2023-02-23_10-10.png

2023-02-23_10-10.png
Image

2023-02-23_10-12.png

2023-02-23_10-12.png

Another interesting item here: one can't do anything else from this point forward. The top admin menu dropdowns do not work although one can click on the items displayed which will take you to the desired screen however nothing can be done here either. Any page that has a save or proceed button results in the following when clicked:

Image

2023-02-23_10-14.png

2023-02-23_10-14.png

Clicking cancel results in nothing while none of the section rollup icons work either when clicked.

Here's a shot from the admin dashboard:
Image

2023-02-23_10-21.png

2023-02-23_10-21.png
The browser has appeared to stop loading but nothing changes.
Image

2023-02-23_10-33.png

2023-02-23_10-33.png

I've tried clearing caches both on Composr and browser but no change.

Expand: Stack Trace Stack Trace


"no violence, no hate, no pain, no enemies
just peace, unity, tolerance and love" - The Beloved
Online now: No Back to the top

Post

Posted
Rating:
#9025
Avatar
Standard member
SoccerDad is in the usergroup ‘Community saint’
Installation re-test - git pull 2023.02.23

Other than step #4, I left everything else at default. Process went smooth except for the following two items still remaining:
  • step #10 fails, no .htaccess. As a test, I left the browser page as it stood, did a touch .htaccess on the testing box, refreshed the browser page which in turn took me back to step #9. I clicked proceed and the wizard then completed successfully.
  • check boxen not matching descriptive text during setup wizard step 5

 :thumbs:

"no violence, no hate, no pain, no enemies
just peace, unity, tolerance and love" - The Beloved
Online now: No Back to the top

Post

Posted
Rating:
#9033
Avatar
Site director
Patrick Schmalstig is in the usergroup ‘Administrators’
Can you give me stack traces of your errors with the missing Hook and the .htaccess error? Try putting &keep_fatalistic=1 in the URL when you first bring up the installer. That will help me better understand what's going on; right now I have no clue why either of those errors are happening.

Also which check box in the setup wizard is not matching the descriptive text?

  • Need support for version 10? The core development team is no-longer offering it for free (unless it's a critical bug that breaks your entire site or a serious security hole). Please consider hiring me instead if you need v10 support or a non-critical bug fix. Or, ask the community in the forums!
  • Do you enjoy Composr? Please consider contributing your talent to the project or recommending Composr to others. Even small contributions make a big impact in the Composr community.
  • Do you have feedback for us? You can report bugs, suggest features, or give feedback on the Free support options page.
  • Do you need professional service with your Composr website? Please consider contracting me for your needs through my company, PDStig, LLC. Doing so will also help fund Composr development.
  • Want to watch live streams of me developing Composr CMS? Please subscribe to me on Twitch to be notified when I stream. Composr development streams are usually spontaneous / not scheduled in advance as work priorities come first.
Online now: No Back to the top

Post

Posted
Rating:
#9036
Avatar
Standard member
SoccerDad is in the usergroup ‘Community saint’
Here is the info from the Setup Wizard. I ran the wizard leaving all the defaults intact:
Image

2023-02-25_09-04.png

2023-02-25_09-04.png

Expand: Stack Trace Stack Trace


As for the mismatched check boxes and descriptive text, prolly easiest to compare V10 & V11 to illustrate:

V10:
Image

2023-02-25_09-00.png

2023-02-25_09-00.png

V11:
Image

2023-02-20_09-50.MOD.png

2023-02-20_09-50.MOD.png

Hope this helps and please let me know if you need anything else! :)

"no violence, no hate, no pain, no enemies
just peace, unity, tolerance and love" - The Beloved
Online now: No Back to the top

Post

Posted
Rating:
#9045
Avatar
Site director
Patrick Schmalstig is in the usergroup ‘Administrators’
Hello SoccerDad

Thanks again. I identified there was another place in the code trying to use .htaccess without first doing a check to see if it exists. Should be fixed now. If it still happens, do another keep_fatalistic for me and post a stack trace; there could always be even more places that need a check on that file.

As for the descriptive text issue… I made changes to that language which should have reflected in your install. Did you get the most recent git files? And did you clear the cache (you can run php decache.php in your Composr install directory as www-data, or run upgrader.php to clear the cache)? I cannot reproduce on my end. It should look like this now:

Screenshot_20230228_230259.png
As far as the ecommerce issue, that's a complex bug. I will need to discuss it with Chris to see how to best resolve the issue. What's happening is there is a special field type for catalogues called "tax code". This belongs to the ecommerce addon. You uninstalled it, but the products catalogue still exists (and has a tax code field). When test content attempted to get installed, it failed because catalogues could not find the missing tax code field type.

Last edit: by Patrick Schmalstig


  • Need support for version 10? The core development team is no-longer offering it for free (unless it's a critical bug that breaks your entire site or a serious security hole). Please consider hiring me instead if you need v10 support or a non-critical bug fix. Or, ask the community in the forums!
  • Do you enjoy Composr? Please consider contributing your talent to the project or recommending Composr to others. Even small contributions make a big impact in the Composr community.
  • Do you have feedback for us? You can report bugs, suggest features, or give feedback on the Free support options page.
  • Do you need professional service with your Composr website? Please consider contracting me for your needs through my company, PDStig, LLC. Doing so will also help fund Composr development.
  • Want to watch live streams of me developing Composr CMS? Please subscribe to me on Twitch to be notified when I stream. Composr development streams are usually spontaneous / not scheduled in advance as work priorities come first.
Online now: No Back to the top

Post

Posted
Rating:
#9049
Avatar
Standard member
SoccerDad is in the usergroup ‘Community saint’
Hi Patrick!

  1. Success on the setup wizard, whoohoo! :-)
  2. Descriptive text, the issue is with the wording itself:
If you do not want to force users to join and do not want a separate welcome page, choose the ‘Single public zone’ (if applicable) and enable ‘Full guest access’.
         The problem is there is no longer a "Single public zone" option to choose like V10 has, just "Full guest access"
    
       3. 10-4, I'll ignore that one for now!

"no violence, no hate, no pain, no enemies
just peace, unity, tolerance and love" - The Beloved
Online now: No Back to the top

Post

Posted
Rating:
#9073
Avatar
Site director
Patrick Schmalstig is in the usergroup ‘Administrators’

SoccerDad said

Hi Patrick!


 
  1. Success on the setup wizard, whoohoo! :-)
  2. Descriptive text, the issue is with the wording itself:
If you do not want to force users to join and do not want a separate welcome page, choose the ‘Single public zone’ (if applicable) and enable ‘Full guest access’.
          The problem is there is no longer a "Single public zone" option to choose like V10 has, just "Full guest access"
    
       3. 10-4, I'll ignore that one for now!

The "single public zone" is still an option but only for certain set-ups, thus why I hoped to clarify it with the "(if applicable)" at the end. I don't seem to be conveying the message clearly enough, so I will consider different wording.

  • Need support for version 10? The core development team is no-longer offering it for free (unless it's a critical bug that breaks your entire site or a serious security hole). Please consider hiring me instead if you need v10 support or a non-critical bug fix. Or, ask the community in the forums!
  • Do you enjoy Composr? Please consider contributing your talent to the project or recommending Composr to others. Even small contributions make a big impact in the Composr community.
  • Do you have feedback for us? You can report bugs, suggest features, or give feedback on the Free support options page.
  • Do you need professional service with your Composr website? Please consider contracting me for your needs through my company, PDStig, LLC. Doing so will also help fund Composr development.
  • Want to watch live streams of me developing Composr CMS? Please subscribe to me on Twitch to be notified when I stream. Composr development streams are usually spontaneous / not scheduled in advance as work priorities come first.
Online now: No Back to the top

Post

Posted
Rating:
Item has a rating of 5 (Liked by Adam EdingtonLiked by Patrick Schmalstig)
#9269
Avatar
Standard member
Malatesa is in the usergroup ‘Well-settled’
@Patrick I have tomorrow off. I'll also try to install v11 on a VPS, tonight. Prepare for forum posts. I don't use sendmail, I use postfix, so I'll see how that error impacts my install.

I want to recreate a site that I used to have. I was a very poor administrator, back them, and a terrible communicator. I learned a lot, since then, and I'm going to try it again. I'd like to use Composr. I have a question for you, though. And please, pardon my directness. In person, I'm about the most happy person you'll ever meet. I'll do anything for good people. But my focus is very intentional when I start a project. I just need to know something.

Are you committed to v11 Composr as lead?

Can you outline a roadmap for v11. Not a timeline, neccessacerily, but a roadmap of things that need to be done to make v11 safe for production use?

 
Online now: No Back to the top

Post

Posted
Rating:
#9285
Avatar
Site director
Patrick Schmalstig is in the usergroup ‘Administrators’
@Malatesa sorry for the delay in replying.

Sounds good. Any additional feedback and testing would be greatly appreciated. Note that Chris Graham is currently in the process of merging some things on GitLab.

Am I committed to v11 Composr? The short and unfortunate answer right now is no, at least not in the common sense of the word "committed". My priorities at this time include improving my financial situation as my expenses exceed my income. As such, I am job hunting, and will be losing a lot (more) of my limited free time for said job once I find one.

Chris and I will do as much as we can reasonably do regarding v11 development. But we are both very strapped for available time to commit to v11. As such, development is very slow at this time. Chris has been additionally working on a new approach / model for Composr development in hopes to encourage the general public to become Composr developers / contributors. But it is not ready yet.

Regarding a roadmap, you can check out the tracker at https://compo.sr/tracker . In the projects, select the Alpha Testing project. Now, a lot of the issues (especially features) are not necessary for v11 and will probably even be skipped for v11. But some of the ones categorized as bugs are in need of knocking out. Issues that will be skipped for v11 will generally have a Roadmap tag for a later version, such as v12. Additionally, Chris and I plan to postpone more of the features / issues not yet postponed… as our main focus is shifting to getting a first v11 beta out so the general public can begin testing. e.g. We are planning to hold off on most, if not all, additional feature ideas for a later time so we can work on getting v11 stable.

I have been exploring / playing around with v11 myself on a production server to a small degree. It is definitely not ready for general use. But this allows me to run v11 as a live (low importance) site for testing and find additional bugs or general issues.

I hope this helps you out.

  • Need support for version 10? The core development team is no-longer offering it for free (unless it's a critical bug that breaks your entire site or a serious security hole). Please consider hiring me instead if you need v10 support or a non-critical bug fix. Or, ask the community in the forums!
  • Do you enjoy Composr? Please consider contributing your talent to the project or recommending Composr to others. Even small contributions make a big impact in the Composr community.
  • Do you have feedback for us? You can report bugs, suggest features, or give feedback on the Free support options page.
  • Do you need professional service with your Composr website? Please consider contracting me for your needs through my company, PDStig, LLC. Doing so will also help fund Composr development.
  • Want to watch live streams of me developing Composr CMS? Please subscribe to me on Twitch to be notified when I stream. Composr development streams are usually spontaneous / not scheduled in advance as work priorities come first.
Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Forum statistics:
  • 2,051 topics, 7,194 posts, 10,824 members
  • Our newest member is gracenayjanjoh
Birthdays:
Back to Top