Forum

Thread tagged as: Problem, Error

s3 upload not working on production server

I have a strange problem where assets uploading to s3 is not working on a specific server, it seemed to work on demo server, but when moved to production server it does not work. There is no debug or php error. So I am confused. Server is php 7.0 version and I am using perch

Perch information
Perch Runway: 3.0.10
Production mode: Production (100)
Installed apps: content (3.0.10), assets (3.0.10), categories (3.0.10), perch_forms (1.9.1), perch_gallery (2.8.6)
DB driver: PDO
DB tables: ahs_backup_plans (0), ahs_backup_resources (0), ahs_backup_runs (0), ahs_categories (0), ahs_category_counts (0), ahs_category_sets (0), ahs_collection_index (18898), ahs_collection_items (1262), ahs_collection_revisions (267), ahs_collections (13), ahs_content_index (14831), ahs_content_items (1569), ahs_content_locks (1), ahs_content_regions (395), ahs_forms (0), ahs_forms_responses (0), ahs_gallery_albums (0), ahs_gallery_image_versions (0), ahs_gallery_images (0), ahs_menu_items (10), ahs_navigation (5), ahs_navigation_pages (28), ahs_page_routes (3), ahs_page_templates (31), ahs_pages (63), ahs_resource_log (19017), ahs_resource_tags (43), ahs_resources (5629), ahs_resources_to_tags (172), ahs_settings (26), ahs_user_passwords (1), ahs_user_privileges (34), ahs_user_role_buckets (0), ahs_user_role_privileges (2), ahs_user_roles (2), ahs_users (2)
Users: 2
App runtimes:
<?php
    $apps_list = array(
        'content', 
        'perch_forms',
        'categories',
        'perch_gallery',
        'perch_s3'
    );
Editor plug-ins:
H1: 0570b7c88e95f5751741898592a34791
L1: e541e3315f9bf856a7c589acdb31ba0e
F1: 3b606135b33e6a102526838f4152a807
headerColour: #0a0a0a
content_singlePageEdit: 1
helpURL:
siteURL: /
hideBranding: 0
content_collapseList: 1
lang: en-gb
installedAt: 3.0.10
update_3.0.10: done
headerScheme: dark
update_runway_3.0.10: done
latest_version:
on_sale_version:
perch_gallery_bucket_mode: single
perch_gallery_bucket: default
dashboard: 0
hide_pwd_reset: 0
keyboardShortcuts: 0
siteOffline: 0
content_hideNonEditableRegions: 0
content_frontend_edit: 0
content_skip_region_list: 0
assets_restrict_buckets: 0
perch_gallery_basicUpload: 0
perch_gallery_update: 2.8.5
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_DB_USERNAME: hairadvancedstud_cms
PERCH_DB_SERVER: localhost
PERCH_DB_DATABASE: hairadvancedstud_cms
PERCH_DB_PREFIX: ahs_
PERCH_SSL: 1
PERCH_DEBUG:
PERCH_EMAIL_FROM: sawan@win2konline.net
PERCH_EMAIL_FROM_NAME: Sawan Ruparel
PERCH_LOGINPATH: /content
PERCH_PATH: /home/hairadvancedstud/public_html/content
PERCH_CORE: /home/hairadvancedstud/public_html/content/core
PERCH_RESFILEPATH: /home/hairadvancedstud/public_html/content/resources
PERCH_RESPATH: /content/resources
PERCH_HTML5: 1
PERCH_TZ: UTC
PERCH_DATE_LONG: 1
PERCH_DEFAULT_BUCKET: images
PERCH_YOUTUBE_API_KEY: AIzaSyDLG6Ep212GjIXDWXyQ8BcP_kyvv693Bwg
PERCH_GMAPS_API_KEY: AIzaSyDLG6Ep212GjIXDWXyQ8BcP_kyvv693Bwg
PERCH_RWD: 1
PERCH_RUNWAY: 1
PERCH_ERROR_MODE: DIE
PERCH_DATE_SHORT: %d %b %Y
PERCH_TIME_SHORT: %H:%M
PERCH_TIME_LONG: %H:%M:%S
PERCH_RUNWAY_ROUTED:
PERCH_STRONG_PASSWORDS:
PERCH_ASSET_VERSION: 23f8a1427c17ade109a3
PERCH_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /home/hairadvancedstud/public_html/content/templates
PERCH_TEMPLATE_FILTERS:
PERCH_DEFAULT_DOC: index.php
PERCH_DEFAULT_EXT: .php
PERCH_PRODUCTION_MODE: 100
PERCH_XHTML_MARKUP:
PERCH_HTML_ENTITIES:
PERCH_STRIPSLASHES:
PERCH_PROGRESSIVE_FLUSH: 1
PERCH_PARANOID:
PERCH_FORCE_SECURE_COOKIES:
PERCH_TRANSLATION_ASSIST:
PERCH_PASSWORD_MIN_LENGTH: 6
PERCH_MAX_FAILED_LOGINS: 10
PERCH_AUTH_LOCKOUT_DURATION: 1 HOUR
PERCH_VERIFY_UPLOADS:
PERCH_PRIV_ASSIST:
PERCH_CUSTOM_EDITOR_CONFIGS:
PERCH_ENABLE_EXIF: 1
PERCH_AUTH_PLUGIN:
PERCH_DB_CHARSET: utf8
PERCH_DB_PORT:
PERCH_DB_SOCKET:
PERCH_APPS_EDITOR_PLUGIN: markitup
PERCH_APPS_EDITOR_MARKUP_LANGUAGE: markdown
Hosting settings
PHP: 7.0.28
Zend: 3.0.0
OS: Linux
SAPI: fpm-fcgi
Safe mode: not detected
MySQL client: mysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $
MySQL server: 5.5.5-10.0.34-MariaDB
Free disk space: 97.41 GB
Extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, cgi-fcgi, bcmath, bz2, calendar, ctype, curl, dba, dom, enchant, mbstring, fileinfo, ftp, gd, gettext, gmp, iconv, imap, intl, json, ldap, exif, mcrypt, mysqlnd, odbc, PDO, Phar, posix, pspell, shmop, SimpleXML, snmp, soap, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xml, xmlwriter, xsl, zip, mysqli, pdo_mysql, PDO_ODBC, pdo_sqlite, wddx, xmlreader, xmlrpc, phalcon, SourceGuardian, ionCube Loader, Zend OPcache
GD: Yes
ImageMagick: No
PHP max upload size: 20M
PHP max form post size: 8M
PHP memory limit: 128M
Total max uploadable file size: 8M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: Yes
USER: hairadvancedstud
HOME: /home/hairadvancedstud
SCRIPT_NAME: /content/core/settings/diagnostics/index.php
REQUEST_URI: /content/core/settings/diagnostics/?extended
QUERY_STRING: extended
REQUEST_METHOD: GET
SERVER_PROTOCOL: HTTP/2.0
GATEWAY_INTERFACE: CGI/1.1
REMOTE_PORT: 64135
SCRIPT_FILENAME: /home/hairadvancedstud/public_html/content/core/settings/diagnostics/index.php
SERVER_ADMIN: webmaster@advancedhairstudioindia.com
CONTEXT_DOCUMENT_ROOT: /home/hairadvancedstud/public_html
REQUEST_SCHEME: https
DOCUMENT_ROOT: /home/hairadvancedstud/public_html
REMOTE_ADDR: 110.172.26.7
SERVER_PORT: 443
SERVER_ADDR: 185.81.167.51
SERVER_NAME: www.advancedhairstudioindia.com
SERVER_SOFTWARE: Apache
PATH: /usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin
HTTP_HOST: www.advancedhairstudioindia.com
HTTP_COOKIE: logged_in=d4554451d22215adad738dd274c8cdd70d00d0a2c98799c990536d84e207d76f60531c0a89888f7b986bbabfdfe59b12fe5bf18b4f993b650cbd8e1fee95535c; _ga=GA1.2.504082279.1520582759; __zlcmid=lLhB4PmHwTpp2l; pum-3825=true; probtnId=1520582761912--1271214821; __unam=360460-16209cbba7f-2486ca02-7; _gid=GA1.2.1856059706.1522647874; version=3.0.6; zaps=13348%2C13346%2C13353%2C13350%2C13363%2C13359%2C14673%2C13364%2C13361%2C13362; SL_C_23361dd035530_VID=p14i-ooI9ulu; SL_C_23361dd035530_KEY=cdb1544636bdd4b5ae4782a643b332ecf06d614a; SL_C_23361dd035530_SID=aYsVkNMs9B8B; cmsa=1; PHPSESSID=o6d2ppba8hrdcngi41fq4m0r27
HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.9
HTTP_ACCEPT_ENCODING: gzip, deflate, br
HTTP_REFERER: https://www.advancedhairstudioindia.com/content/core/settings/diagnostics/
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36
HTTP_UPGRADE_INSECURE_REQUESTS: 1
proxy-nokeepalive: 1
H2_STREAM_TAG: 133-13
H2_STREAM_ID: 13
H2_PUSH: on
H2PUSH: on
HTTP2: on
SSL_TLS_SNI: www.advancedhairstudioindia.com
HTTPS: on
UNIQUE_ID: WsSfNP34nW9QxCfNi3FfoAAAAA0
FCGI_ROLE: RESPONDER
PHP_SELF: /content/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1522835252.9015
REQUEST_TIME: 1522835252
argc: 1
sawan ruparel

sawan ruparel 0 points

  • 3 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Looks like you're actually using Perch Runway, not Perch. (S3 isn't available in Perch.)

Is the same happening on the current version of Runway?

What's the difference between your two servers?

I have only used perch runway, so please accept my apologies.

I found out that it was php pool settings that needed to be turned on. so its working now