Opened 7 years ago

Closed 7 years ago

#2147 closed task (fixed)

Unable to upload a custom word-press theme to staging word-press instance for FOSS4G2018 Dar es salaam website

Reported by: mloweedgar Owned by: robe
Priority: normal Milestone:
Component: SysAdmin Keywords: word-press
Cc: msilikalemsilanga@…

Description

Hi,

We would like to upload a custom word-press theme for FOSS4G2018 Dar es salaam website to a staging instance at [​https://staging.2018.foss4g.org], but we can not upload the theme due to upload size limit issue. Could you please increase upload size limit so as we can be able to upload the theme.

Change History (10)

comment:1 by robe, 7 years ago

I increased the max upload size to 600M. Can you try again and see if that fixes your problem. If it doesn't let me know the size of the file you are trying to upload.

comment:2 by robe, 7 years ago

Owner: changed from sac@… to robe

comment:3 by mloweedgar, 7 years ago

Thank you robe, we have been able to upload the theme.We still have one more request, we are requesting FTP credentials so as we will be able download, change and upload individual files of our custom theme. Thanks in advance.

comment:4 by robe, 7 years ago

I'm thinking if it would be better to do via Git. I can set up a cron job to pull the files every 5 minutes or so. That would be better since you can assign permissions as needed to others.

I have the site under a private git repo already, though I selectively only committed some files since I didn't want to bother with plugins that are constantly updated.

If you log into https://git.osgeo.org/gitea I can give you access to that git repo like I already had done for Tim. I should probably move into it's own org as well.

comment:5 by mloweedgar, 7 years ago

Thank you robe, using git will be the best option, I would like to know what information should I provide, so as you can give me access to the repo. I was able to login into ​https://git.osgeo.org/gitea, and created this repository https://git.osgeo.org/gitea/mloweedgar/foss4g2018_dar_wordpress_theme which contains the custom theme we have developed.

comment:6 by robe, 7 years ago

mloweedgar,

I've added you to this repo as a collaborator with edit rights.

I had checked in what's on server - the theme, so I presume it's the same as what you have in the repo.

https://git.osgeo.org/gitea/osgeo/FOSS4G2018_WordPress

Can you see if you can access the repo? If you can and can edit I'll work on setting up a cronjob later today to pull any changes from the git repo.

Last edited 7 years ago by robe (previous) (diff)

comment:7 by mloweedgar, 7 years ago

Hi robe,

Thank you for giving me collaborator access to the repo. we have been able to access the repo and we have done some edits on the theme. we think you can now set up a cronjob to pull changes from the repo. Thank you.

Last edited 7 years ago by mloweedgar (previous) (diff)

comment:8 by robe, 7 years ago

mloweedgar,

Thanks for confirming. Will try to get to it later today.

I presume you made local edits via wordpress and I can discard those, repo is up to date? getting a merge conflict.

comment:9 by robe, 7 years ago

Okay I have set up cronjob to poll every 5 minutes. So whatever changes you make that repo should appear on site within 5 minutes of change.

I was thinking of putting in a reset --hard in case if you make local changes for testing, but decided against that. So try to only make changes to the theme via the git repo.

Feel free to reopen this if you still have issues.

comment:10 by robe, 7 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.