mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Fix image references in content
The theme used to have a <base> tag, which tells the browser which base to use for relative URLs, but this was actually a buggy and incorrect theme behavior, so we need to update our links. $ sed -i 's/(\(201[567]\)/(\/cgspace-notes\/\1/' content/post/*.md
This commit is contained in:
parent
053d5fbc9a
commit
d3d413c991
@ -73,7 +73,7 @@ $ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle
|
||||
- Last week it was an average of 8 seconds... now this is 1/4 of that
|
||||
- CCAFS noticed that one of their items displays only the Atmire statlets: https://cgspace.cgiar.org/handle/10568/42445
|
||||
|
||||

|
||||

|
||||
|
||||
- The authorizations for the item are all public READ, and I don't see any errors in dspace.log when browsing that item
|
||||
- I filed a ticket on Atmire's issue tracker
|
||||
@ -122,10 +122,10 @@ postgres@linode01:~$ psql -c 'SELECT * from pg_stat_activity;' | grep cgspace |
|
||||
- I have reverted all the pgtune tweaks from the other day, as they didn't fix the stability issues, so I'd rather not have them introducing more variables into the equation
|
||||
- The PostgreSQL stats from Munin all point to something database-related with the DSpace 5 upgrade around mid–late November
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
## 2015-12-07
|
||||
|
||||
|
@ -65,8 +65,8 @@ tags = ["Notes"]
|
||||
- Add five missing center-specific subjects to XMLUI item view ([#174](https://github.com/ilri/DSpace/issues/174))
|
||||
- This [CCAFS item](https://cgspace.cgiar.org/handle/10568/67062) Before:
|
||||
|
||||

|
||||

|
||||
|
||||
- After:
|
||||
|
||||

|
||||

|
||||
|
@ -11,7 +11,7 @@ tags = ["Notes"]
|
||||
- Lots of issues with spaces, newlines, etc causing the import to fail
|
||||
- I noticed we have a very *interesting* list of countries on CGSpace:
|
||||
|
||||

|
||||

|
||||
|
||||
- Not only are there 49,000 countries, we have some blanks (25)...
|
||||
- Also, lots of things like "COTE D`LVOIRE" and "COTE D IVOIRE"
|
||||
@ -108,8 +108,8 @@ $ ~/dspace/bin/dspace index-discovery -b
|
||||
- Finish cleaning up and importing ~400 DAGRIS items into CGSpace
|
||||
- Whip up some quick CSS to make the button in the submission workflow use the XMLUI theme's brand colors ([#154](https://github.com/ilri/DSpace/issues/154))
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
## 2016-02-09
|
||||
|
||||
|
@ -39,7 +39,7 @@ Exception in thread "Lucene Merge Thread #19" org.apache.lucene.index.MergePolic
|
||||
- Start cleaning up the configuration for Atmire's CUA module ([#184](https://github.com/ilri/DSpace/issues/185))
|
||||
- It is very messed up because some labels are incorrect, fields are missing, etc
|
||||
|
||||

|
||||

|
||||
|
||||
- Update documentation for Atmire modules
|
||||
|
||||
@ -58,7 +58,7 @@ Exception in thread "Lucene Merge Thread #19" org.apache.lucene.index.MergePolic
|
||||
- Make titles in Discovery and Browse by more consistent (singular, sentence case, etc) ([#186](https://github.com/ilri/DSpace/issues/186))
|
||||
- Also four or so center-specific subject strings were missing for Discovery
|
||||
|
||||

|
||||

|
||||
|
||||
## 2016-03-15
|
||||
|
||||
@ -106,11 +106,11 @@ Exception in thread "Lucene Merge Thread #19" org.apache.lucene.index.MergePolic
|
||||
- Discuss thumbnails with Francesca from Bioversity
|
||||
- Some of their items end up with thumbnails that have a big white border around them:
|
||||
|
||||

|
||||

|
||||
|
||||
- Turns out we can add `-trim` to the GraphicsMagick options to trim the whitespace
|
||||
|
||||

|
||||

|
||||
|
||||
- Command used:
|
||||
|
||||
@ -136,14 +136,14 @@ $ gm convert -trim -quality 82 -thumbnail x300 -flatten Descriptor\ for\ Butia_E
|
||||
- Google says the first time it saw this particular error was September 29, 2015... so maybe it accidentally saw it somehow...
|
||||
- On a related note, we have 51,000 items indexed from the sitemap, but 500,000 items in the Google index, so we DEFINITELY have a problem with duplicate content
|
||||
|
||||

|
||||

|
||||
|
||||
- Turns out this is a problem with DSpace's `robots.txt`, and there's a Jira ticket since December, 2015: https://jira.duraspace.org/browse/DS-2962
|
||||
- I am not sure if I want to apply it yet
|
||||
- For now I've just set a bunch of these dynamic pages to not appear in search results by using the URL Parameters tool in Webmaster Tools
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
- Move AVCD collection to new community and update `move_collection.sh` script: https://gist.github.com/alanorth/392c4660e8b022d99dfa
|
||||
- It seems Feedburner can do HTTPS now, so we might be able to update our feeds and simplify the nginx configs
|
||||
|
@ -33,7 +33,7 @@ GET /rest/handle/10568/NaN?expand=parentCommunityList,metadata HTTP/1.1
|
||||
- Update nginx to 1.10.x branch on CGSpace
|
||||
- Fix a reference to `dc.type.output` in Discovery that I had missed when we migrated to `dc.type` last month ([#223](https://github.com/ilri/DSpace/pull/223))
|
||||
|
||||

|
||||

|
||||
|
||||
## 2016-05-06
|
||||
|
||||
|
@ -270,7 +270,7 @@ $ ./delete-metadata-values.py -f dc.contributor.corporate -i Corporate-Authors-D
|
||||
- Re-deploy CGSpace and DSpace Test with latest June changes
|
||||
- Now the sharing and Altmetric bits are more prominent:
|
||||
|
||||

|
||||

|
||||
|
||||
- Run all system updates on the servers and reboot
|
||||
- Start working on config changes for phase three of the metadata migrations
|
||||
|
@ -191,7 +191,7 @@ index.authority.ignore-variants=true
|
||||
- No changes to Discovery after reindexing... hmm.
|
||||
- Integrate and massively clean up About page ([#256](https://github.com/ilri/DSpace/pull/256))
|
||||
|
||||

|
||||

|
||||
|
||||
- The DSpace source code mentions the configuration key `discovery.index.authority.ignore-prefered.*` (with prefix of discovery, despite the docs saying otherwise), so I'm trying the following on DSpace Test:
|
||||
|
||||
|
@ -104,7 +104,7 @@ $ ln -sv ~/dspace/webapps/solr /opt/brew/Cellar/tomcat/8.5.4/libexec/webapps/sol
|
||||
|
||||
- Finally got DSpace (5.5) running on Ubuntu 16.04, Tomcat 7, Java 8, PostgreSQL 9.5 via the updated Ansible stuff
|
||||
|
||||

|
||||

|
||||
|
||||
## 2016-08-14
|
||||
|
||||
@ -114,7 +114,7 @@ $ ln -sv ~/dspace/webapps/solr /opt/brew/Cellar/tomcat/8.5.4/libexec/webapps/sol
|
||||
|
||||
- Notes on NodeJS + nginx + systemd: https://gist.github.com/alanorth/51acd476891c67dfe27725848cf5ace1
|
||||
|
||||

|
||||

|
||||
|
||||
## 2016-08-16
|
||||
|
||||
|
@ -27,7 +27,7 @@ distinguishedName: CN=Last\, First (ILRI),OU=ILRI Ethiopia Employees,OU=ILRI Eth
|
||||
|
||||
- Changing the DSpace LDAP config to use `OU=ILRIHUB` seems to work:
|
||||
|
||||

|
||||

|
||||
|
||||
- Notes for local PostgreSQL database recreation from production snapshot:
|
||||
|
||||
@ -327,9 +327,9 @@ Exception in thread "http-bio-127.0.0.1-8081-exec-25" java.lang.OutOfMemoryError
|
||||
|
||||
- Perhaps these particular issues *are* memory issues, the munin graphs definitely show some weird purging/allocating behavior starting this week
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
- And really, we did reduce the memory of CGSpace in late 2015, so maybe we should just increase it again, now that our usage is higher and we are having memory errors in the logs
|
||||
- Oh great, the configuration on the actual server is different than in configuration management!
|
||||
@ -346,7 +346,7 @@ JAVA_OPTS="-Djava.awt.headless=true -Xms3584m -Xmx3584m -XX:MaxPermSize=256m -XX
|
||||
|
||||
- Looking at Google Webmaster Tools again, it seems the work I did on URL query parameters and blocking via the `X-Robots-Tag` HTTP header in March, 2016 seem to have had a positive effect on Google's index for CGSpace
|
||||
|
||||

|
||||

|
||||
|
||||
## 2016-09-16
|
||||
|
||||
@ -421,8 +421,8 @@ $ ./delete-metadata-values.py -f cg.contributor.affiliation -i affiliations_pb-2
|
||||
```
|
||||
- It actually works really well, and search results return much less hits now (before, after):
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
- Found a way to improve the configuration of Atmire's Content and Usage Analysis (CUA) module for date fields
|
||||
|
||||
|
@ -21,7 +21,7 @@ tags = ["Notes"]
|
||||
- With a blank `dc.contributor.author` column, DSpace wants to remove all non-ORCID authors and add the new ORCID authors
|
||||
- I added the [disclaimer text](https://github.com/ilri/DSpace/issues/234) to the About page, then added a footer link to the disclaimer's ID, but there is a Bootstrap issue that causes the page content to disappear when using in-page anchors: https://github.com/twbs/bootstrap/issues/1768
|
||||
|
||||

|
||||

|
||||
|
||||
- Looks like we'll just have to add the text to the About page (without a link) or add a separate page
|
||||
|
||||
@ -58,7 +58,7 @@ dspacetest=# \copy (select distinct text_value, count(*) as count from metadatav
|
||||
- Heap space is 2048m, and we have 5GB of RAM being used for OS cache (Solr!) so let's just bump the memory to 3072m
|
||||
- Magdalena from CCAFS asked why the colors in the thumbnails for these [two](https://cgspace.cgiar.org/handle/10568/71249) [items](https://cgspace.cgiar.org/handle/10568/71259) look different, even though they are the same in the PDF itself
|
||||
|
||||

|
||||

|
||||
|
||||
- Turns out the first PDF was exported from InDesign using CMYK and the second one was using sRGB
|
||||
- Run all system updates on DSpace Test and reboot it
|
||||
@ -205,8 +205,8 @@ UPDATE 0
|
||||
|
||||
- Looks much better now:
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
- Run the same replacements on CGSpace
|
||||
|
||||
|
@ -9,7 +9,7 @@ tags = ["Notes"]
|
||||
|
||||
- Add `dc.type` to the output options for Atmire's Listings and Reports module ([#286](https://github.com/ilri/DSpace/pull/286))
|
||||
|
||||

|
||||

|
||||
|
||||
## 2016-11-02
|
||||
|
||||
@ -82,7 +82,7 @@ $ ./fix-metadata-values.py -i /tmp/CRPs.csv -f cg.contributor.crp -t correct -m
|
||||
|
||||
- Atmire's Listings and Reports module seems to be broken on DSpace 5.5
|
||||
|
||||

|
||||

|
||||
|
||||
- I've filed a ticket with Atmire
|
||||
- Thinking about batch updates for ORCIDs and authors
|
||||
@ -260,8 +260,8 @@ X-Cocoon-Version: 2.2.0
|
||||
|
||||
- The Tomcat JVM heap looks really good after applying the Crawler Session Manager fix on DSpace Test last night:
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
- Seems the default regex doesn't catch Baidu, though:
|
||||
|
||||
|
@ -444,8 +444,8 @@ dspace=# update metadatavalue set authority='2df8136e-d8f4-4142-b58c-562337cab76
|
||||
|
||||
- After enabling a sizable `shared_buffers` for CGSpace's PostgreSQL configuration the number of connections to the database dropped significantly
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
- Looking at CIAT records from last week again, they have a lot of double authors like:
|
||||
|
||||
@ -484,8 +484,8 @@ UPDATE 35
|
||||
|
||||
- Checking in on CGSpace postgres stats again, looks like the `shared_buffers` change from a few days ago really made a big impact:
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
- Looking at logs, it seems we need to evaluate which logs we keep and for how long
|
||||
- Basically the only ones we *need* are `dspace.log` because those are used for legacy statistics (need to keep for 1 month)
|
||||
@ -593,8 +593,8 @@ Caused by: java.lang.NoSuchMethodError: com.atmire.statistics.generator.DSpaceOb
|
||||
- This is how DSpace works, and I need to ask if there is a way to override someone's submission, as the other reviewer seems to not be paying attention, or has perhaps taken the item from the task pool?
|
||||
- Run a batch edit to add "RANGELANDS" ILRI subject to all items containing the word "RANGELANDS" in their metadata for Peter Ballantyne
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
## 2016-12-18
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user