ellakcy / moodle-compose

A Docker Compose recipe using the ellakcy/moodle Docker image
Other
15 stars 15 forks source link

no database support found #7

Open damaru00 opened 1 year ago

damaru00 commented 1 year ago

currently using the following version

ellakcy/moodle:postgresql_apache_latest

please see below logs:

sent 190,244,901 bytes received 409,147 bytes 22,429,888.00 bytes/sec total size is 230,933,412 speedup is 1.21 Fixing files and permissions Installing moodle with pgsql support No database support found

pc-magas commented 1 year ago

Hmm how about doing:

docker-compose down
docker-compose pull
docker-compose up -d

I want to c if using the latest will work.

Furthermore. have you specified the nessesary .env file?

In this repo there's a .env.dist where you can copy as .env and edit it accorditily. If any questions I'll answer them here.

jesusjoeyayap commented 1 year ago

Hmm how about doing:

docker-compose down
docker-compose pull
docker-compose up -d

I want to c if using the latest will work.

Furthermore. have you specified the nessesary .env file?

In this repo there's a .env.dist where you can copy as .env and edit it accorditily. If any questions I'll answer them here.

Same error. I executed this commands:

docker-compose down docker-compose pull docker-compose up -d

jesusjoeyayap commented 1 year ago

Hmm how about doing:

docker-compose down
docker-compose pull
docker-compose up -d

I want to c if using the latest will work.

Furthermore. have you specified the nessesary .env file?

In this repo there's a .env.dist where you can copy as .env and edit it accorditily. If any questions I'll answer them here.

already set the .env var

pc-magas commented 1 year ago

@jesusjoeyayap Then I would love the output of the command:

 git rev-parse HEAD

The idea behind it is to ensure that you have the latest commits from git repo.

jesusjoeyayap commented 1 year ago

@jesusjoeyayap Then I would love the output of the command:

 git rev-parse HEAD

The idea behind it is to ensure that you have the latest commits from git repo.

here is the output:

8d98d52ff190b914ffe446c2cd3d0052a2dac57d

pc-magas commented 1 year ago

Weird, commits are same. Also, I spun up a fresh VM to test if bug is present and Seem no issue whatoever:

++ Success ++
-->assignfeedback_editpdf
++ Success ++
-->assignfeedback_file
++ Success ++
-->assignfeedback_offline
++ Success ++
-->assignment_offline
++ Success ++
-->assignment_online
++ Success ++
-->assignment_upload
++ Success ++
-->assignment_uploadsingle
++ Success ++
-->booktool_exportimscp
++ Success ++
-->booktool_importhtml
++ Success ++
-->booktool_print
++ Success ++
-->datafield_checkbox
++ Success ++
-->datafield_date
++ Success ++
-->datafield_file
++ Success ++
-->datafield_latlong
++ Success ++
-->datafield_menu
++ Success ++
-->datafield_multimenu
++ Success ++
-->datafield_number
++ Success ++
-->datafield_picture
++ Success ++
-->datafield_radiobutton
++ Success ++
-->datafield_text
++ Success ++
-->datafield_textarea
++ Success ++
-->datafield_url
++ Success ++
-->datapreset_imagegallery
++ Success ++
-->forumreport_summary
++ Success ++
-->ltiservice_basicoutcomes
++ Success ++
-->ltiservice_gradebookservices
++ Success ++
-->ltiservice_memberships
++ Success ++
-->ltiservice_profile
++ Success ++
-->ltiservice_toolproxy
++ Success ++
-->ltiservice_toolsettings
++ Success ++
-->quiz_grading
++ Success ++
-->quiz_overview
++ Success ++
-->quiz_responses
++ Success ++
-->quiz_statistics
++ Success ++
-->quizaccess_delaybetweenattempts
++ Success ++
-->quizaccess_ipaddress
++ Success ++
-->quizaccess_numattempts
++ Success ++
-->quizaccess_offlineattempts
++ Success ++
-->quizaccess_openclosedate
++ Success ++
-->quizaccess_password
++ Success ++
-->quizaccess_seb
++ Success ++
-->quizaccess_securewindow
++ Success ++
-->quizaccess_timelimit
++ Success ++
-->scormreport_basic
++ Success ++
-->scormreport_graphs
++ Success ++
-->scormreport_interactions
++ Success ++
-->scormreport_objectives
++ Success ++
-->workshopform_accumulative
++ Success ++
-->workshopform_comments
++ Success ++
-->workshopform_numerrors
++ Success ++
-->workshopform_rubric
++ Success ++
-->workshopallocation_manual
++ Success ++
-->workshopallocation_random
++ Success ++
-->workshopallocation_scheduled
++ Success ++
-->workshopeval_best
++ Success ++
-->atto_accessibilitychecker
++ Success ++
-->atto_accessibilityhelper
++ Success ++
-->atto_align
++ Success ++
-->atto_backcolor
++ Success ++
-->atto_bold
++ Success ++
-->atto_charmap
++ Success ++
-->atto_clear
++ Success ++
-->atto_collapse
++ Success ++
-->atto_emojipicker
++ Success ++
-->atto_emoticon
++ Success ++
-->atto_equation
++ Success ++
-->atto_fontcolor
++ Success ++
-->atto_h5p
++ Success ++
-->atto_html
++ Success ++
-->atto_image
++ Success ++
-->atto_indent
++ Success ++
-->atto_italic
++ Success ++
-->atto_link
++ Success ++
-->atto_managefiles
++ Success ++
-->atto_media
++ Success ++
-->atto_noautolink
++ Success ++
-->atto_orderedlist
++ Success ++
-->atto_recordrtc
++ Success ++
-->atto_rtl
++ Success ++
-->atto_strike
++ Success ++
-->atto_subscript
++ Success ++
-->atto_superscript
++ Success ++
-->atto_table
++ Success ++
-->atto_title
++ Success ++
-->atto_underline
++ Success ++
-->atto_undo
++ Success ++
-->atto_unorderedlist
++ Success ++
-->tinymce_ctrlhelp
++ Success ++
-->tinymce_managefiles
++ Success ++
-->tinymce_moodleemoticon
++ Success ++
-->tinymce_moodleimage
++ Success ++
-->tinymce_moodlemedia
++ Success ++
-->tinymce_moodlenolink
++ Success ++
-->tinymce_pdw
++ Success ++
-->tinymce_spellchecker
++ Success ++
-->tinymce_wrap
++ Success ++
-->logstore_database
++ Success ++
-->logstore_legacy
++ Success ++
-->logstore_standard
++ Success ++
Installation completed successfully.
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message
[Tue Jun 06 19:18:27.787424 2023] [mpm_prefork:notice] [pid 39] AH00163: Apache/2.4.54 (Debian) PHP/7.4.33 configured -- resuming normal operations
[Tue Jun 06 19:18:27.802274 2023] [core:notice] [pid 39] AH00094: Command line: '/usr/sbin/apache2 -D FOREGROUND'

If only could talk somehow via a live chat to understand the issue. @damaru00 @jesusjoeyayap

jesusjoeyayap commented 1 year ago

Weird, commits are same. Also, I spun up a fresh VM to test if bug is present and Seem no issue whatoever:

++ Success ++
-->assignfeedback_editpdf
++ Success ++
-->assignfeedback_file
++ Success ++
-->assignfeedback_offline
++ Success ++
-->assignment_offline
++ Success ++
-->assignment_online
++ Success ++
-->assignment_upload
++ Success ++
-->assignment_uploadsingle
++ Success ++
-->booktool_exportimscp
++ Success ++
-->booktool_importhtml
++ Success ++
-->booktool_print
++ Success ++
-->datafield_checkbox
++ Success ++
-->datafield_date
++ Success ++
-->datafield_file
++ Success ++
-->datafield_latlong
++ Success ++
-->datafield_menu
++ Success ++
-->datafield_multimenu
++ Success ++
-->datafield_number
++ Success ++
-->datafield_picture
++ Success ++
-->datafield_radiobutton
++ Success ++
-->datafield_text
++ Success ++
-->datafield_textarea
++ Success ++
-->datafield_url
++ Success ++
-->datapreset_imagegallery
++ Success ++
-->forumreport_summary
++ Success ++
-->ltiservice_basicoutcomes
++ Success ++
-->ltiservice_gradebookservices
++ Success ++
-->ltiservice_memberships
++ Success ++
-->ltiservice_profile
++ Success ++
-->ltiservice_toolproxy
++ Success ++
-->ltiservice_toolsettings
++ Success ++
-->quiz_grading
++ Success ++
-->quiz_overview
++ Success ++
-->quiz_responses
++ Success ++
-->quiz_statistics
++ Success ++
-->quizaccess_delaybetweenattempts
++ Success ++
-->quizaccess_ipaddress
++ Success ++
-->quizaccess_numattempts
++ Success ++
-->quizaccess_offlineattempts
++ Success ++
-->quizaccess_openclosedate
++ Success ++
-->quizaccess_password
++ Success ++
-->quizaccess_seb
++ Success ++
-->quizaccess_securewindow
++ Success ++
-->quizaccess_timelimit
++ Success ++
-->scormreport_basic
++ Success ++
-->scormreport_graphs
++ Success ++
-->scormreport_interactions
++ Success ++
-->scormreport_objectives
++ Success ++
-->workshopform_accumulative
++ Success ++
-->workshopform_comments
++ Success ++
-->workshopform_numerrors
++ Success ++
-->workshopform_rubric
++ Success ++
-->workshopallocation_manual
++ Success ++
-->workshopallocation_random
++ Success ++
-->workshopallocation_scheduled
++ Success ++
-->workshopeval_best
++ Success ++
-->atto_accessibilitychecker
++ Success ++
-->atto_accessibilityhelper
++ Success ++
-->atto_align
++ Success ++
-->atto_backcolor
++ Success ++
-->atto_bold
++ Success ++
-->atto_charmap
++ Success ++
-->atto_clear
++ Success ++
-->atto_collapse
++ Success ++
-->atto_emojipicker
++ Success ++
-->atto_emoticon
++ Success ++
-->atto_equation
++ Success ++
-->atto_fontcolor
++ Success ++
-->atto_h5p
++ Success ++
-->atto_html
++ Success ++
-->atto_image
++ Success ++
-->atto_indent
++ Success ++
-->atto_italic
++ Success ++
-->atto_link
++ Success ++
-->atto_managefiles
++ Success ++
-->atto_media
++ Success ++
-->atto_noautolink
++ Success ++
-->atto_orderedlist
++ Success ++
-->atto_recordrtc
++ Success ++
-->atto_rtl
++ Success ++
-->atto_strike
++ Success ++
-->atto_subscript
++ Success ++
-->atto_superscript
++ Success ++
-->atto_table
++ Success ++
-->atto_title
++ Success ++
-->atto_underline
++ Success ++
-->atto_undo
++ Success ++
-->atto_unorderedlist
++ Success ++
-->tinymce_ctrlhelp
++ Success ++
-->tinymce_managefiles
++ Success ++
-->tinymce_moodleemoticon
++ Success ++
-->tinymce_moodleimage
++ Success ++
-->tinymce_moodlemedia
++ Success ++
-->tinymce_moodlenolink
++ Success ++
-->tinymce_pdw
++ Success ++
-->tinymce_spellchecker
++ Success ++
-->tinymce_wrap
++ Success ++
-->logstore_database
++ Success ++
-->logstore_legacy
++ Success ++
-->logstore_standard
++ Success ++
Installation completed successfully.
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message
[Tue Jun 06 19:18:27.787424 2023] [mpm_prefork:notice] [pid 39] AH00163: Apache/2.4.54 (Debian) PHP/7.4.33 configured -- resuming normal operations
[Tue Jun 06 19:18:27.802274 2023] [core:notice] [pid 39] AH00094: Command line: '/usr/sbin/apache2 -D FOREGROUND'

If only could talk somehow via a live chat to understand the issue. @damaru00 @jesusjoeyayap

I also created fresh vm and it has no error. The 1st deployment was made Oct 22 2022 and when i did docker-compose down then docker-compose up -d this month it trigger the error. Tried to pull latest image ang repo but same problem.

pc-magas commented 1 year ago

Weird, commits are same. Also, I spun up a fresh VM to test if bug is present and Seem no issue whatoever:

++ Success ++
-->assignfeedback_editpdf
++ Success ++
-->assignfeedback_file
++ Success ++
-->assignfeedback_offline
++ Success ++
-->assignment_offline
++ Success ++
-->assignment_online
++ Success ++
-->assignment_upload
++ Success ++
-->assignment_uploadsingle
++ Success ++
-->booktool_exportimscp
++ Success ++
-->booktool_importhtml
++ Success ++
-->booktool_print
++ Success ++
-->datafield_checkbox
++ Success ++
-->datafield_date
++ Success ++
-->datafield_file
++ Success ++
-->datafield_latlong
++ Success ++
-->datafield_menu
++ Success ++
-->datafield_multimenu
++ Success ++
-->datafield_number
++ Success ++
-->datafield_picture
++ Success ++
-->datafield_radiobutton
++ Success ++
-->datafield_text
++ Success ++
-->datafield_textarea
++ Success ++
-->datafield_url
++ Success ++
-->datapreset_imagegallery
++ Success ++
-->forumreport_summary
++ Success ++
-->ltiservice_basicoutcomes
++ Success ++
-->ltiservice_gradebookservices
++ Success ++
-->ltiservice_memberships
++ Success ++
-->ltiservice_profile
++ Success ++
-->ltiservice_toolproxy
++ Success ++
-->ltiservice_toolsettings
++ Success ++
-->quiz_grading
++ Success ++
-->quiz_overview
++ Success ++
-->quiz_responses
++ Success ++
-->quiz_statistics
++ Success ++
-->quizaccess_delaybetweenattempts
++ Success ++
-->quizaccess_ipaddress
++ Success ++
-->quizaccess_numattempts
++ Success ++
-->quizaccess_offlineattempts
++ Success ++
-->quizaccess_openclosedate
++ Success ++
-->quizaccess_password
++ Success ++
-->quizaccess_seb
++ Success ++
-->quizaccess_securewindow
++ Success ++
-->quizaccess_timelimit
++ Success ++
-->scormreport_basic
++ Success ++
-->scormreport_graphs
++ Success ++
-->scormreport_interactions
++ Success ++
-->scormreport_objectives
++ Success ++
-->workshopform_accumulative
++ Success ++
-->workshopform_comments
++ Success ++
-->workshopform_numerrors
++ Success ++
-->workshopform_rubric
++ Success ++
-->workshopallocation_manual
++ Success ++
-->workshopallocation_random
++ Success ++
-->workshopallocation_scheduled
++ Success ++
-->workshopeval_best
++ Success ++
-->atto_accessibilitychecker
++ Success ++
-->atto_accessibilityhelper
++ Success ++
-->atto_align
++ Success ++
-->atto_backcolor
++ Success ++
-->atto_bold
++ Success ++
-->atto_charmap
++ Success ++
-->atto_clear
++ Success ++
-->atto_collapse
++ Success ++
-->atto_emojipicker
++ Success ++
-->atto_emoticon
++ Success ++
-->atto_equation
++ Success ++
-->atto_fontcolor
++ Success ++
-->atto_h5p
++ Success ++
-->atto_html
++ Success ++
-->atto_image
++ Success ++
-->atto_indent
++ Success ++
-->atto_italic
++ Success ++
-->atto_link
++ Success ++
-->atto_managefiles
++ Success ++
-->atto_media
++ Success ++
-->atto_noautolink
++ Success ++
-->atto_orderedlist
++ Success ++
-->atto_recordrtc
++ Success ++
-->atto_rtl
++ Success ++
-->atto_strike
++ Success ++
-->atto_subscript
++ Success ++
-->atto_superscript
++ Success ++
-->atto_table
++ Success ++
-->atto_title
++ Success ++
-->atto_underline
++ Success ++
-->atto_undo
++ Success ++
-->atto_unorderedlist
++ Success ++
-->tinymce_ctrlhelp
++ Success ++
-->tinymce_managefiles
++ Success ++
-->tinymce_moodleemoticon
++ Success ++
-->tinymce_moodleimage
++ Success ++
-->tinymce_moodlemedia
++ Success ++
-->tinymce_moodlenolink
++ Success ++
-->tinymce_pdw
++ Success ++
-->tinymce_spellchecker
++ Success ++
-->tinymce_wrap
++ Success ++
-->logstore_database
++ Success ++
-->logstore_legacy
++ Success ++
-->logstore_standard
++ Success ++
Installation completed successfully.
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message
[Tue Jun 06 19:18:27.787424 2023] [mpm_prefork:notice] [pid 39] AH00163: Apache/2.4.54 (Debian) PHP/7.4.33 configured -- resuming normal operations
[Tue Jun 06 19:18:27.802274 2023] [core:notice] [pid 39] AH00094: Command line: '/usr/sbin/apache2 -D FOREGROUND'

If only could talk somehow via a live chat to understand the issue. @damaru00 @jesusjoeyayap

I also created fresh vm and it has no error. The 1st deployment was made Oct 22 2022 and when i did docker-compose down then docker-compose up -d this month it trigger the error. Tried to pull latest image ang repo but same problem.

Hmm may I have the .env contents (with dummy values for passwords)

jesusjoeyayap commented 1 year ago

Weird, commits are same. Also, I spun up a fresh VM to test if bug is present and Seem no issue whatoever:

++ Success ++
-->assignfeedback_editpdf
++ Success ++
-->assignfeedback_file
++ Success ++
-->assignfeedback_offline
++ Success ++
-->assignment_offline
++ Success ++
-->assignment_online
++ Success ++
-->assignment_upload
++ Success ++
-->assignment_uploadsingle
++ Success ++
-->booktool_exportimscp
++ Success ++
-->booktool_importhtml
++ Success ++
-->booktool_print
++ Success ++
-->datafield_checkbox
++ Success ++
-->datafield_date
++ Success ++
-->datafield_file
++ Success ++
-->datafield_latlong
++ Success ++
-->datafield_menu
++ Success ++
-->datafield_multimenu
++ Success ++
-->datafield_number
++ Success ++
-->datafield_picture
++ Success ++
-->datafield_radiobutton
++ Success ++
-->datafield_text
++ Success ++
-->datafield_textarea
++ Success ++
-->datafield_url
++ Success ++
-->datapreset_imagegallery
++ Success ++
-->forumreport_summary
++ Success ++
-->ltiservice_basicoutcomes
++ Success ++
-->ltiservice_gradebookservices
++ Success ++
-->ltiservice_memberships
++ Success ++
-->ltiservice_profile
++ Success ++
-->ltiservice_toolproxy
++ Success ++
-->ltiservice_toolsettings
++ Success ++
-->quiz_grading
++ Success ++
-->quiz_overview
++ Success ++
-->quiz_responses
++ Success ++
-->quiz_statistics
++ Success ++
-->quizaccess_delaybetweenattempts
++ Success ++
-->quizaccess_ipaddress
++ Success ++
-->quizaccess_numattempts
++ Success ++
-->quizaccess_offlineattempts
++ Success ++
-->quizaccess_openclosedate
++ Success ++
-->quizaccess_password
++ Success ++
-->quizaccess_seb
++ Success ++
-->quizaccess_securewindow
++ Success ++
-->quizaccess_timelimit
++ Success ++
-->scormreport_basic
++ Success ++
-->scormreport_graphs
++ Success ++
-->scormreport_interactions
++ Success ++
-->scormreport_objectives
++ Success ++
-->workshopform_accumulative
++ Success ++
-->workshopform_comments
++ Success ++
-->workshopform_numerrors
++ Success ++
-->workshopform_rubric
++ Success ++
-->workshopallocation_manual
++ Success ++
-->workshopallocation_random
++ Success ++
-->workshopallocation_scheduled
++ Success ++
-->workshopeval_best
++ Success ++
-->atto_accessibilitychecker
++ Success ++
-->atto_accessibilityhelper
++ Success ++
-->atto_align
++ Success ++
-->atto_backcolor
++ Success ++
-->atto_bold
++ Success ++
-->atto_charmap
++ Success ++
-->atto_clear
++ Success ++
-->atto_collapse
++ Success ++
-->atto_emojipicker
++ Success ++
-->atto_emoticon
++ Success ++
-->atto_equation
++ Success ++
-->atto_fontcolor
++ Success ++
-->atto_h5p
++ Success ++
-->atto_html
++ Success ++
-->atto_image
++ Success ++
-->atto_indent
++ Success ++
-->atto_italic
++ Success ++
-->atto_link
++ Success ++
-->atto_managefiles
++ Success ++
-->atto_media
++ Success ++
-->atto_noautolink
++ Success ++
-->atto_orderedlist
++ Success ++
-->atto_recordrtc
++ Success ++
-->atto_rtl
++ Success ++
-->atto_strike
++ Success ++
-->atto_subscript
++ Success ++
-->atto_superscript
++ Success ++
-->atto_table
++ Success ++
-->atto_title
++ Success ++
-->atto_underline
++ Success ++
-->atto_undo
++ Success ++
-->atto_unorderedlist
++ Success ++
-->tinymce_ctrlhelp
++ Success ++
-->tinymce_managefiles
++ Success ++
-->tinymce_moodleemoticon
++ Success ++
-->tinymce_moodleimage
++ Success ++
-->tinymce_moodlemedia
++ Success ++
-->tinymce_moodlenolink
++ Success ++
-->tinymce_pdw
++ Success ++
-->tinymce_spellchecker
++ Success ++
-->tinymce_wrap
++ Success ++
-->logstore_database
++ Success ++
-->logstore_legacy
++ Success ++
-->logstore_standard
++ Success ++
Installation completed successfully.
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message
[Tue Jun 06 19:18:27.787424 2023] [mpm_prefork:notice] [pid 39] AH00163: Apache/2.4.54 (Debian) PHP/7.4.33 configured -- resuming normal operations
[Tue Jun 06 19:18:27.802274 2023] [core:notice] [pid 39] AH00094: Command line: '/usr/sbin/apache2 -D FOREGROUND'

If only could talk somehow via a live chat to understand the issue. @damaru00 @jesusjoeyayap

I also created fresh vm and it has no error. The 1st deployment was made Oct 22 2022 and when i did docker-compose down then docker-compose up -d this month it trigger the error. Tried to pull latest image ang repo but same problem.

Hmm may I have the .env contents (with dummy values for passwords)

In case of a reverse proxy please change the following setting

It should have the url that the USER provides into her/his browser.

MOODLE_URL=http://serverip:8082

Database configuration

MOODLE_DB_USER=user MOODLE_DB_PASSWORD=password MOODLE_DB_NAME=db

Default user

MOODLE_ADMIN=admin MOODLE_ADMIN_PASSWORD=pasword MOODLE_ADMIN_EMAIL=user@email.com

Indicate whethers runs Behind SSL Proxy (set values in true by default are set as false)

MOODLE_REVERSE_LB=false MOODLE_SSL=false

mail settings

MOODLE_EMAIL_TYPE_QMAIL=false # Set true is qmail MTA a used MOODLE_EMAIL_HOST=#host where the email is being sent

pc-magas commented 1 year ago

@damaru00 Copy-paste of the README.md does not help. I wanna see your setup so I can diagnose the prob.