Insufficient permission to create configuration.php Topic is solved

Need help installing Joomla! 4.x? For all Joomla! 4.x installation issues please use this forum.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
a_qq
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Thu Aug 17, 2023 8:24 pm

Insufficient permission to create configuration.php

Post by a_qq » Thu Aug 17, 2023 9:14 pm

Hello, I am installing clean Joomla 4.3.3 (by kickastart and simple unpacking) to the domain directory created on the main hosting site (755), on the main directory there is also a tmp directory (755). PHP version 8.2. When I try to run the site, I always get the message: Insufficient permission to create configuration.php. On the hosting there is only Joomla 3.10 installation which installs without any problem. Hosting technical support says that the problem is with the files I'm trying to install :((( Please help. The domain is set to a separated directory. When I change to directory without separation I get error: 500.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 43231
Joined: Sat Apr 05, 2008 9:58 pm

Re: Insufficient permission to create configuration.php

Post by Webdongle » Thu Aug 17, 2023 11:25 pm

Are you trying to install it on top of an existing Joomla?
Please run the fpa https://forumpostassistant.github.io/docs/
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

a_qq
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Thu Aug 17, 2023 8:24 pm

Re: Insufficient permission to create configuration.php

Post by a_qq » Sat Aug 19, 2023 7:09 pm

Forum Post Assistant (v1.6.6) : 19-Aug-2023 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 4.3.3-Stable (Bora) 11-July-2023
Joomla! Configured :: Not Found

Host Configuration :: OS: Linux | OS Version: 5.12.13 husak_new_cgroup+ | Technology: x86_64 | Web Server: Apache | Encoding: gzip, deflate | System TMP Writable: Yes | Free Disk Space : 49.23 GiB |

PHP Configuration :: Version: 8.2.7 | PHP API: uwsgi | Session Path Writable: Yes | Display Errors: 0 | Error Reporting: 22527 | Log Errors To: | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: 1 | Open Base: | Uploads: 1 | Max. Upload Size: 64M | Max. POST Size: 64M | Max. Input Time: 60 | Max. Execution Time: 30 | Memory Limit: 256M

Database Configuration :: Database Credentials incomplete or not available Nothing to display.
Missing credentials detected: Connection Type missing | Database Name missing |MySQL Host missing | Table Prefix missing | Database Username missing | Database Password missing |User Privileges : Unknown
Detailed Environment :: wrote:PHP Extensions :: Core (8.2.7) | date (8.2.7) | libxml (8.2.7) | openssl (8.2.7) | pcre (8.2.7) | sqlite3 (8.2.7) | ctype (8.2.7) | dom (20031129) | fileinfo (8.2.7) | filter (8.2.7) | hash (8.2.7) | iconv (8.2.7) | json (8.2.7) | SPL (8.2.7) | session (8.2.7) | PDO (8.2.7) | pdo_sqlite (8.2.7) | bz2 (8.2.7) | posix (8.2.7) | random (8.2.7) | readline (8.2.7) | Reflection (8.2.7) | standard (8.2.7) | SimpleXML (8.2.7) | tokenizer (8.2.7) | xml (8.2.7) | xmlreader (8.2.7) | xmlwriter (8.2.7) | mysqlnd (mysqlnd 8.2.7) | uwsgi (2.1-dev) | amqp (1.11.0) | bcmath (8.2.7) | zlib (8.2.7) | calendar (8.2.7) | curl (8.2.7) | dba (8.2.7) | dbase (7.1.1) | ftp (8.2.7) | gd (8.2.7) | geoip (1.1.2-dev) | gettext (8.2.7) | gmp (8.2.7) | intl (8.2.7) | imagick (3.7.0) | imap (8.2.7) | ldap (8.2.7) | mbstring (8.2.7) | mailparse (3.1.4) | exif (8.2.7) | memcached (3.2.0) | mysqli (8.2.7) | oci8 (3.3.0) | odbc (8.2.7) | pcntl (8.2.7) | pdo_dblib (8.2.7) | pdo_mysql (8.2.7) | PDO_ODBC (8.2.7) | pdo_pgsql (8.2.7) | pgsql (8.2.7) | pspell (8.2.7) | redis (5.3.7) | shmop (8.2.7) | soap (8.2.7) | sockets (8.2.7) | sodium (8.2.7) | ssh2 (1.4) | sysvmsg (8.2.7) | sysvsem (8.2.7) | sysvshm (8.2.7) | tidy (8.2.7) | translit (0.7.1) | xmlrpc (1.0.0RC3) | xsl (8.2.7) | zip (1.21.1) | Phar (8.2.7) | Zend OPcache (8.2.7) | Zend Engine (4.2.7) |
Potential Missing Extensions ::

Switch User Environment :: PHP CGI: Yes | Server SU: Yes | PHP SU: No | Potential Ownership Issues: No
Folder Permissions :: wrote:Core Folders :: images/ (755) | components/ (755) | modules/ (755) | plugins/ (755) | language/ (755) | templates/ (755) | cache/ (755) | logs/ (---) | tmp/ (755) | administrator/components/ (755) | administrator/modules/ (755) | administrator/language/ (755) | administrator/templates/ (755) | administrator/logs/ (755) | api/ (755) |

Elevated Permissions (First 10) ::
Extensions Discovered :: wrote:Components :: Site ::
Core ::
3rd Party::

Components :: Admin ::
Core :: com_cpanel (4.0.0) ? | com_modules (4.0.0) ? | com_media (3.0.0) ? | com_ajax (4.0.0) ? | com_contenthistory (4.0.0) ? | com_tags (4.0.0) ? | com_redirect (4.0.0) ? | com_fields (4.0.0) ? | com_messages (4.0.0) ? | com_plugins (4.0.0) ? | com_admin (4.0.0) ? | com_wrapper (4.0.0) ? | com_workflow (4.0.0) ? | com_banners (4.0.0) ? | com_scheduler (4.1.0) ? | com_actionlogs (3.9.0) ? | com_languages (4.0.0) ? | com_menus (4.0.0) ? | com_joomlaupdate (4.0.3) ? | com_postinstall (4.0.0) ? | com_cache (4.0.0) ? | com_login (4.0.0) ? | com_guidedtours (4.3.0) ? | com_associations (4.0.0) ? | com_content (4.0.0) ? | com_finder (4.0.0) ? | com_users (4.0.0) ? | com_installer (4.0.0) ? | com_privacy (3.9.0) ? | com_config (4.0.0) ? | com_categories (4.0.0) ? | com_templates (4.0.0) ? | com_mails (4.0.0) ? | com_newsfeeds (4.0.0) ? | com_checkin (4.0.0) ? |
3rd Party::

Modules :: Site ::
Core :: mod_banners (3.0.0) ? | mod_stats (3.0.0) ? | mod_login (3.0.0) ? | mod_random_image (3.0.0) ? | mod_related_items (3.0.0) ? | mod_articles_latest (3.0.0) ? | mod_syndicate (3.0.0) ? | mod_custom (3.0.0) ? | mod_articles_popular (3.0.0) ? | mod_languages (3.5.0) ? | mod_wrapper (3.0.0) ? | mod_tags_popular (3.1.0) ? | mod_footer (3.0.0) ? | mod_breadcrumbs (3.0.0) ? | mod_articles_news (3.0.0) ? | mod_whosonline (3.0.0) ? | mod_finder (3.0.0) ? | mod_tags_similar (3.1.0) ? | mod_menu (3.0.0) ? | mod_articles_categories (3.0.0) ? | mod_users_latest (3.0.0) ? | mod_feed (3.0.0) ? | mod_articles_category (3.0.0) ? | mod_articles_archive (3.0.0) ? |
3rd Party::

Modules :: Admin ::
Core :: mod_quickicon (3.0.0) ? | mod_user (4.0.0) ? | mod_login (3.0.0) ? | mod_loginsupport (4.0.0) ? | mod_privacy_dashboard (3.9.0) ? | mod_popular (3.0.0) ? | mod_frontend (4.0.0) ? | mod_sampledata (3.8.0) ? | mod_stats_admin (3.0.0) ? | mod_custom (3.0.0) ? | mod_guidedtours (4.3.0) ? | mod_privacy_status (4.0.0) ? | mod_title (3.0.0) ? | mod_latestactions (3.9.0) ? | mod_messages (4.0.0) ? | mod_multilangstatus (3.0.0) ? | mod_post_installation_messages (4.0.0) ? | mod_version (3.0.0) ? | mod_submenu (3.0.0) ? | mod_toolbar (3.0.0) ? | mod_latest (3.0.0) ? | mod_menu (3.0.0) ? | mod_feed (3.0.0) ? | mod_logged (3.0.0) ? |
3rd Party::

Libraries ::
Core ::
3rd Party::

Plugins ::
Core :: plg_sampledata_multilang (4.0.0) ? | plg_webservices_users (4.0.0) ? | plg_webservices_media (4.1.0) ? | plg_webservices_newsfeeds (4.0.0) ? | plg_webservices_plugins (4.0.0) ? | plg_webservices_redirect (4.0.0) ? | plg_webservices_config (4.0.0) ? | plg_webservices_banners (4.0.0) ? | plg_webservices_installer (4.0.0) ? | plg_webservices_privacy (4.0.0) ? | plg_webservices_templates (4.0.0) ? | plg_webservices_content (4.0.0) ? | plg_webservices_languages (4.0.0) ? | plg_webservices_modules (4.0.0) ? | plg_webservices_menus (4.0.0) ? | plg_webservices_messages (4.0.0) ? | plg_webservices_tags (4.0.0) ? | plg_user_joomla (3.0.0) ? | plg_user_profile (3.0.0) ? | plg_user_terms (3.9.0) ? | plg_user_token (3.9.0) ? | plg_user_contactcreator (3.0.0) ? | plg_extension_joomla (3.0.0) ? | plg_extension_finder (4.0.0) ? | plg_extension_namespacemap (4.0.0) ? | plg_workflow_notification (4.0.0) ? | plg_workflow_featuring (4.0.0) ? | plg_workflow_publishing (4.0.0) ? | plg_multifactorauth_webauthn (4.2.0) ? | plg_multifactorauth_yubikey (3.2.0) ? | plg_multifactorauth_totp (3.2.0) ? | plg_multifactorauth_fixed (4.2.0) ? | plg_multifactorauth_email (4.2.0) ? | plg_editors-xtd_article (3.0.0) ? | plg_editors-xtd_pagebreak (3.0.0) ? | plg_editors-xtd_readmore (3.0.0) ? | plg_editors-xtd_fields (3.7.0) ? | plg_editors-xtd_image (3.0.0) ? | plg_editors-xtd_menu (3.7.0) ? | plg_editors-xtd_module (3.5.0) ? | plg_authentication_joomla (3.0.0) ? | plg_authentication_ldap (3.0.0) ? | plg_authentication_cookie (3.0.0) ? | plg_task_site_status (4.1) ? | plg_task_demo_tasks (4.1) ? | plg_task_requests (4.1) ? | plg_task_check_files (4.1) ? | plg_installer_packageinstaller (3.6.0) ? | plg_installer_override (4.0.0) ? | plg_installer_webinstaller (4.0.0) ? | plg_installer_urlinstaller (3.6.0) ? | plg_installer_folderinstaller (3.6.0) ? | plg_behaviour_taggable (4.0.0) ? | plg_behaviour_versionable (4.0.0) ? | plg_fields_textarea (3.7.0) ? | plg_fields_color (3.7.0) ? | plg_fields_imagelist (3.7.0) ? | plg_fields_media (3.7.0) ? | plg_fields_user (3.7.0) ? | plg_fields_subform (4.0.0) ? | plg_fields_checkboxes (3.7.0) ? | plg_fields_url (3.7.0) ? | plg_fields_radio (3.7.0) ? | plg_fields_calendar (3.7.0) ? | plg_fields_usergrouplist (3.7.0) ? | plg_fields_editor (3.7.0) ? | plg_fields_integer (3.7.0) ? | plg_fields_sql (3.7.0) ? | plg_fields_text (3.7.0) ? | plg_fields_list (3.7.0) ? | plg_quickicon_overridecheck (4.0.0) ? | plg_quickicon_downloadkey (4.0.0) ? | plg_quickicon_phpversioncheck (3.7.0) ? | plg_quickicon_privacycheck (3.9.0) ? | plg_quickicon_extensionupdate (3.0.0) ? | plg_quickicon_joomlaupdate (3.0.0) ? | plg_privacy_consents (3.9.0) ? | plg_privacy_user (3.9.0) ? | plg_privacy_content (3.9.0) ? | plg_privacy_actionlogs (3.9.0) ? | plg_privacy_message (3.9.0) ? | plg_content_loadmodule (3.0.0) ? | plg_content_pagebreak (3.0.0) ? | plg_content_joomla (3.0.0) ? | plg_content_pagenavigation (3.0.0) ? | plg_content_vote (3.0.0) ? | plg_content_fields (3.7.0) ? | plg_content_emailcloak (3.0.0) ? | plg_content_finder (3.0.0) ? | plg_content_confirmconsent (3.9.0) ? | plg_media-action_rotate (4.0.0) ? | plg_media-action_crop (4.0.0) ? | plg_media-action_resize (4.0.0) ? | plg_filesystem_local (4.0.0) ? | plg_actionlog_joomla (3.9.0) ? | plg_finder_categories (3.0.0) ? | plg_finder_newsfeeds (3.0.0) ? | plg_finder_content (3.0.0) ? | plg_finder_contacts (3.0.0) ? | plg_finder_tags (3.0.0) ? | plg_api-authentication_token (4.0.0) ? | plg_api-authentication_basic (4.0.0) ? | plg_system_webauthn (4.0.0) ? | plg_system_jooa11y (4.2.0) ? | plg_system_redirect (3.0.0) ? | plg_system_logout (3.0.0) ? | plg_system_updatenotification (3.5.0) ? | plg_system_accessibility (4.0.0) ? | plg_system_skipto (4.0.0) ? | plg_system_cache (3.0.0) ? | plg_system_schedulerunner (4.1) ? | plg_system_highlight (3.0.0) ? | plg_system_fields (3.7.0) ? | plg_system_sef (3.0.0) ? | plg_system_guidedtours (4.3.0) ? | plg_system_languagecode (3.0.0) ? | plg_system_stats (3.5.0) ? | plg_system_remember (3.0.0) ? | plg_system_debug (3.0.0) ? | plg_system_httpheaders (4.0.0) ? | plg_system_languagefilter (3.0.0) ? | plg_system_shortcut (4.2.0) ? | plg_system_actionlogs (3.9.0) ? | plg_system_sessiongc (3.8.6) ? | plg_system_privacyconsent (3.9.0) ? | plg_system_task_notification (4.1) ? | plg_system_logrotation (3.9.0) ? | plg_system_log (3.0.0) ? | plg_captcha_recaptcha (3.4.0) ? | plg_captcha_recaptcha_invisible (3.8) ? |
3rd Party:: plg_editors_codemirror (5.65.12) ? | plg_editors_tinymce (5.10.7) ? |
Templates Discovered :: wrote:Templates :: Site :: cassiopeia (1.0) ? |
Templates :: Admin :: atum (1.0) ? |

a_qq
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Thu Aug 17, 2023 8:24 pm

Re: Insufficient permission to create configuration.php

Post by a_qq » Sat Aug 19, 2023 7:14 pm

Each time I delete everything from the domain directory (I also deleted the domain directory and re-created it) and copy only Joomla_4.3.3-Stable-Full_Package.zip and extract the contents of the kickstart-core-8.0.2.zip file

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 43231
Joined: Sat Apr 05, 2008 9:58 pm

Re: Insufficient permission to create configuration.php

Post by Webdongle » Sat Aug 19, 2023 7:26 pm

a_qq wrote:
Sat Aug 19, 2023 7:14 pm
...copy only Joomla_4.3.3-Stable-Full_Package.zip and extract the contents of the kickstart-core-8.0.2.zip file
Either
Upload and unzip the Joomla_4.3.3-Stable-Full_Package.zip then point your browser at yoursite.com
Or
Upload the backup.jpa and kickstart.php then point your browser at yoursite.com/kickstart.php
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

a_qq
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Thu Aug 17, 2023 8:24 pm

Re: Insufficient permission to create configuration.php

Post by a_qq » Sun Aug 20, 2023 6:34 pm

I already did it, I did it again - I extracted the content of the Joomla_4.3.3-Stable-Full_Package.zip file from the hard drive directly to an empty domain directory. After entering the page, the message: Insufficient permission to create configuration.php .:(

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 43231
Joined: Sat Apr 05, 2008 9:58 pm

Re: Insufficient permission to create configuration.php

Post by Webdongle » Sun Aug 20, 2023 7:27 pm

a_qq wrote:
Thu Aug 17, 2023 9:14 pm
... When I change to directory without separation I get error: 500.
Please define 'directory without separation'
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9325
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Insufficient permission to create configuration.php

Post by AMurray » Sun Aug 20, 2023 9:21 pm

Maybe the "separation" refers perhaps to the backslash (forward slash?) in a file path folder/folder/folder/ ???

So the absence of "/" at the end causes 500, placing one there does not?
Regards - A Murray

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 43231
Joined: Sat Apr 05, 2008 9:58 pm

Re: Insufficient permission to create configuration.php

Post by Webdongle » Sun Aug 20, 2023 10:54 pm

When there is no slash then the server treats it as a file. That has nothing to do with the configuration.php not being written.

I have seen file Ownership show as none in the ftp but the server being badly configured and not allowing Joomla Ownership.

Using the file manager (in the Host's cp) to upload/unpack the Joomla full package should overcome the issue.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

a_qq
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Thu Aug 17, 2023 8:24 pm

Re: Insufficient permission to create configuration.php

Post by a_qq » Thu Aug 24, 2023 5:19 pm

I unpacked the Joomla_4.3.3-Stable-Full_Package.zip directly in empty domain directory. When I go to the website address, I get the following error:
SERVER ERROR 500
INTERNAL SERVER ERROR
The server encountered an unexpected condition that prevented it from fulfilling the request.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 43231
Joined: Sat Apr 05, 2008 9:58 pm

Re: Insufficient permission to create configuration.php

Post by Webdongle » Thu Aug 24, 2023 6:08 pm

Did you use the Host's file manager to upload and unpack the Joomla full zip?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

a_qq
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Thu Aug 17, 2023 8:24 pm

Re: Insufficient permission to create configuration.php

Post by a_qq » Thu Aug 24, 2023 8:32 pm

I use homeftp from my host panel. https://hosting2374852.online.pro/homeftp/index.php

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 43231
Joined: Sat Apr 05, 2008 9:58 pm

Re: Insufficient permission to create configuration.php

Post by Webdongle » Thu Aug 24, 2023 9:24 pm

That is the problem. afaik ftp is being set as a different user You can create the configuration.php manually. But you might need to get the Host to CHOWN the Joomla folders
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

a_qq
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Thu Aug 17, 2023 8:24 pm

Re: Insufficient permission to create configuration.php

Post by a_qq » Thu Aug 24, 2023 11:02 pm

Thank you very much for your answers Master. Since I'm not very good at these details and hosting tech support is sending me cheeky mocking replies, could you point me to a link explaining what I should do? Otherwise, I will have to change hosting to a normal one.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 43231
Joined: Sat Apr 05, 2008 9:58 pm

Re: Insufficient permission to create configuration.php

Post by Webdongle » Thu Aug 24, 2023 11:06 pm

If your Host's tech support are not helpful then change Host. Meantime try wamp on your PC https://www.wampserver.com you can practice using Joomla

Install wamp
Create a new folder in \wamp64\www
Unzip the Joomla zip to \wamp64\www\newfolder
Start wamp
Point your browser at localhost/newfolder
On localhost the Joomla installer will create the database
User: root
Pass: left blank

You can have several folders in \wamp64\www to try Joomla different ways.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

a_qq
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Thu Aug 17, 2023 8:24 pm

Re: Insufficient permission to create configuration.php

Post by a_qq » Fri Aug 25, 2023 9:55 am

Yes I do that!!! Thank you very much Master and have a nice weekend.

User avatar
xfsgpr
Joomla! Ace
Joomla! Ace
Posts: 1099
Joined: Mon Feb 14, 2011 4:02 am
Location: London

Re: Insufficient permission to create configuration.php

Post by xfsgpr » Fri Aug 25, 2023 6:00 pm

I read the entire thread but didn't manage to workout whether you are running your own server or using a hosting service.

Assuming you are using your own server then the best way to solve "Insufficient Permission" problem is to make joomla folders part of "www-data" group. This can be achieved by running a simple command like in the terminal or SSH like this:

Code: Select all

 sudo chown -R www-data:www-data /var/www/joomla4 
In the above command everything is self explanatory except the last parameter that is "joomla4". this is the folder where user has installed joomla. Your case might be different so change it as necessary.

People should get used to using Groups rather than numbers to create rights to folders and files. Linux has moved away from numbers (they still work but difficult to remember). Group names are easier to remember.

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9325
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Insufficient permission to create configuration.php

Post by AMurray » Fri Aug 25, 2023 10:04 pm

@xfsgpr: The OP already said his hosting support is not helpful: "sending cheeky and mocking replies".
Regards - A Murray

a_qq
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Thu Aug 17, 2023 8:24 pm

Re: Insufficient permission to create configuration.php

Post by a_qq » Sun Oct 01, 2023 6:08 pm

After moving to the new hosting, everything works without any problems. Once again, thank you for your help and best regards.


Post Reply

Return to “Installation Joomla! 4.x”