Google cloud storage

Can it possible to store all files to google cloud storage.
If possible how will do?

Hi @sathyarajo,

Which of our applications are you using, and what version? (Please include this information with your posts.)

Alec Smecher
Public Knowledge Project Team

We have using OJS 3.0.2

Hi @sathyarajo,

This is something you’d need to do at the server filesystem level – see e.g. Cloud Storage FUSE  |  Google Cloud for details.

Alec Smecher
Public Knowledge Project Team

Yes. I have tried this one. But I got “HTTP Error” while uploading files and journal logo.
Is there any other way to do this?
Can you please help?

Yes. I have tried this one. But I got follwing error while installations.
Is there any other way to do this?

Errors occurred during installation
The directory specified for uploaded files does not exist or is not writable.

Can you please help?

If your files_dir in is point to the mounted directory, this is really an operating system question instead of an OJS question.

Essentially, gcs-fuse will make Google storage appear to the application as any other part of the disk. OJS won’t know the difference. If you can use the storage location normally, OJS should be able to use mounted location for files_dir. Can you use the filesystem via the shell or file manager?

Yes. I did use filesystem via shell and i have create one file in mount folder and that file is reflected in our storage bucket.
But I have tried via our ojs code but didnt working. I got following error.
“Upload directory is does not exists or give writable access”.
I gave full permissions on that folder.

May i know which framework are using OJS 3 application.
I cant understand coding structure and i need some customization in OJS.
Can you say which development knowledge is need for PHP Developer.

I am PHP developer.

The PKP applications are written in a homegrown framework, styled along the lines of an MVC application. Generally, URIs map against the “pages” folder, which is split in two: either under the root application directory, or in the shared library (lib/pkp) directory. (Request URI mapping can also be handled by plugins.) From the “pages” folder, use the “index.php” to find the Handler, which then generally calls the classes from the application and shared library.

For your particular question about the mounted folder, can you confirm that your web user has access to this mounted location? You’ll need to consider not only file/directory owenrship and permissions, but also any PHP restrictions on traversing the filesystem.

Solved. I have modified umask value from 0022 to 0 and its wrking fine

Hi Sathyarajo,

I’m trying to install OJS in Google Cloud and I need some outlines… could you help me?


I will help you to install. Can i get any support like $35.

It would be great if anyone in the forum can help with the deployment process of OJS in google app engine. Especially guide to write required yaml file.
@sathyarajo can you consider providing free help in this forum similarly you are taking advantage of free support in the forum.
@Gecuimar If you get successful deployment, can you post process in the forum which might be useful for other OJS user?

Thanks @sathyarajo! For now, I’m using an Apache server. I will be back in a few days to run on the Google Cloud. If I need to, I’ll contact you.
@aabahishti As soon I solve this question I’ll post a tutorial, okay?

have you been able to fix the problem and make a tutorial?