gcloud error 500 on strapi deployment (EROFS: read-only file system, mkdir '/srv/.tmp' A ) - postgresql

I followed strap's guide to an google app engine deployment however when I pushed it to gcloud I get an error 500. It's on postgresql, Standard Environment. I don't know what other informations to include. Here's the error from gcloud.
2020-07-11T21:37:04.742759Z at DatabaseManager.initialize (/srv/node_modules/strapi-database/lib/database-manager.js:36:27) A
2020-07-11T21:37:04.742769Z at Strapi.load (/srv/node_modules/strapi/lib/Strapi.js:274:19) A
2020-07-11T21:55:09.103534Z GET 500 0 B 11.3 s Chrome 83 / I GET 500 0 B 11.3 s Chrome 83 5f0a353d00ff01946e3ca1b9ce0001737e736b756c70740001323032303037313174313635323139000100
2020-07-11T21:55:19.559829Z [2020-07-11T21:55:19.558Z] debug ⛔️ Server wasn't able to start properly. A
2020-07-11T21:55:19.562896Z [2020-07-11T21:55:19.562Z] error Error: EROFS: read-only file system, mkdir '/srv/.tmp' A
2020-07-11T21:55:19.562935Z at Object.mkdirSync (fs.js:757:3) A
2020-07-11T21:55:19.562956Z at _.forEach (/srv/node_modules/strapi-connector-bookshelf/lib/knex.js:152:16) A
2020-07-11T21:55:19.562972Z at /srv/node_modules/lodash/lodash.js:4925:15 A
2020-07-11T21:55:19.562987Z at baseForOwn (/srv/node_modules/lodash/lodash.js:2990:24) A
2020-07-11T21:55:19.563012Z at /srv/node_modules/lodash/lodash.js:4894:18 A
2020-07-11T21:55:19.563025Z at Function.forEach (/srv/node_modules/lodash/lodash.js:9368:14) A
2020-07-11T21:55:19.563034Z at module.exports.strapi (/srv/node_modules/strapi-connector-bookshelf/lib/knex.js:37:5) A
2020-07-11T21:55:19.563043Z at Object.initialize (/srv/node_modules/strapi-connector-bookshelf/lib/index.js:39:5) A
2020-07-11T21:55:19.563058Z at Object.initialize (/srv/node_modules/strapi-database/lib/connector-registry.js:30:25) A
2020-07-11T21:55:19.563071Z at DatabaseManager.initialize (/srv/node_modules/strapi-database/lib/database-manager.js:36:27) A
2020-07-11T21:55:19.563080Z at Strapi.load (/srv/node_modules/strapi/lib/Strapi.js:274:19) A
2020-07-11T21:55:20.688345Z GET 500 0 B 4.5 s Chrome 83 /favicon.ico I GET 500 0 B 4.5 s Chrome 83 5f0a354800ff0a80d9edd664c60001737e736b756c70740001323032303037313174313635323139000100
I tried launching it multiple times but same error. All of the postgresql information are correct as well. What is causing this?
Edit:
this is the instructions that I followed. https://strapi.io/documentation/v3.x/deployment/google-app-engine.html
I got up to deploy the project with gcloud app deploy

Related

Install fail: DSX Desktop (IBM_DSX_Desktop - Vs.: 1.2.3 - 3/27/18) on Windows 10

I'm trying to install DSX Desktop (IBM_DSX_Desktop - Vs.: 1.2.3 - 3/27/18)
on Windows 10 and it fails with the following error:
[2018-04-23 16:29:59:0524] [error] Error while pulling
hybridcloudibm/dsx-desktop:rstudio:Error: (HTTP code 500) server error
- {"message":"Get https://registry-1.docker.io/v2/:net/http: request canceled while waiting for connection (Client.Timeout exceeded while
awaiting headers)"}
Based on your error, it seems that Docker is unable to access the registry. You can test it by trying docker pull hello-world, which should also fail with the same error message.
This can happen if you're behind a proxy. If that's the case, this article by Microsoft on how to configure a proxy for docker, may be of use.

How to debug an error in VLC for Chrome OS

I have a chrome app that mounts a filesystem in Chrome OS.
When I try to run a movie from that drive, I get the following error from VLC:
Playback error
VLC encountered an error with this media.
Please try refreshing the media library.
The location file:///data/data/org.chromium.arc/external/[Some_ID]/[File_Name] cannot be played.
I tried enabling logcat in the inspection window with:
plugin.shell('logcat');
but it didn't catch any errors.
How can I debug why this generic error has occurred in VLC?
Thanks!
UPDATE:
I can see the file using the following command:
plugin.shell("ls -l '/data/data/org.chromium.arc/external/[Some_ID]/[File_Name]'");
I get the following answer:
-------- 0 root gr0 0 Jan 01 02:00 /data/data/org.chromium.arc/external/[Some_ID]/[File_Name]

Cannot Delete Mongo Service and App Due To Error Code 10001

Attempting to issue cf d against the US South Bluemix node and I am getting the following error:
$ cf d myconf2014
Really delete the app myconf2014?> y
Deleting app myconf2014 in org <redacted> / space dev as <redacted>...
FAILED
Server error, status code: 500, error code: 10001, message: Service broker error: instance_id <redacted> not found
How do I get that fixed?
Your best option here is to open a ticket with the support team as they'll have to help you remove this service instance. IBM.biz/bluemixsupport

Knife-solo prepare fails

I'm trying to configure a fresh CentOS 6.5 x64 node via knife-solo. But when I run knife solo prepare root#centos I get a strange error.
Bootstrapping Chef...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15934 100 15934 0 0 36862 0 --:--:-- --:--:-- --:--:-- 95413
Downloading Chef 11.14.0.alpha.2 for el...
downloading https://www.opscode.com/chef/metadata?v=11.14.0.alpha.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64
to file /tmp/install.sh.1750/metadata.txt
trying curl...
ERROR 404
Unable to retrieve a valid package!
Please file a bug report at http://tickets.opscode.com
Project: Chef
Component: Packages
Label: Omnibus
Version: 11.14.0.alpha.2
Please detail your operating system type, version and any other relevant details
Metadata URL: https://www.opscode.com/chef/metadata?v=11.14.0.alpha.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64
When I try to debug that thing and run knife solo prepare -VV root#centos I get this: https://gist.github.com/Almaron/5709a69e09bad92f3475
I've tried to google it and found that it might be a proxy issue, but I have not set up any proxies what so ever.
UPDATE
Tried running knife solo prepare root#centos--bootstrap-version 11.12.0
Here's the result: https://gist.github.com/Almaron/2f7987f314132c80b8ed
Had the same problem. It seems there is a problem on the opscode site with version 11.14.0.alpha.2 - the http code returned is 404 Not Found.
A solution is to pin the chef version when preparing knife solo:
knife solo prepare root#centos --bootstrap-version 11.12.0

solarisstudio12.3 installation on Solaris 11 machine

I am trying to install solaris studio 12.3 on a Solaris 11 x86 machine.
I have downloaded oracle cert and key from mentioned link, but while publishing am getting following error.
pkg set-publisher -k Oracle_Solaris_Studio.key.pem -c Oracle_Solaris_Studio.certificate.pem -g **PORTAL** solarisstudio
pkg set-publisher: The origin URIs for 'solarisstudio' do not appear to point to a valid pkg repository.
Please verify the repository's location and the client's network configuration.
Additional details:
Unable to contact valid package repository
Encountered the following error(s):
Unable to contact any configured publishers.
This is likely a network configuration problem.
1: Framework error: code: 7 reason: Failed connect to pkg.oracle.com:443; Connection refused
URL: '**PORTAL**' (happened 4 times)
2: Framework error: code: 28 reason: Connection timed out after 60000 milliseconds
URL: '**PORTAL**' (happened 4 times)
Please let me know if further information is required.
NOTE PORTAL - https://pkg.oracle.com/solarisstudio/release
Configuring correct proxy settings as pointed out by alanc, resolved the issue.