Skip to content
This repository has been archived by the owner on Feb 3, 2024. It is now read-only.

no database support found #7

Open
damaru00 opened this issue May 31, 2023 · 10 comments
Open

no database support found #7

damaru00 opened this issue May 31, 2023 · 10 comments

Comments

@damaru00
Copy link

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
Copy link
Member

pc-magas commented May 31, 2023

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
Copy link

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
Copy link

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
Copy link
Member

pc-magas commented Jun 2, 2023

@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
Copy link

@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:

8d98d52

@pc-magas
Copy link
Member

pc-magas commented Jun 6, 2023

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
Copy link

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
Copy link
Member

pc-magas commented Jun 7, 2023

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
Copy link

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=[email protected]

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
Copy link
Member

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants