From the errors I see, it seems that you are trying to upgrade a 2.0.x database directly to 3.0.4, which can not be done!
You need to run the upgrdae scripts first:
- Upgrade_v2-1.sql (this script should drop the procedure 'gemini_issuelinktypes'
- Upgrade_v2-2.sql
After these have run, run the upgrdae to 3.0 scripts.