Install DSpace 7 Backend and Frontend on a VirtualBox Debian 11 Server

Поділитися
Вставка
  • Опубліковано 13 гру 2024

КОМЕНТАРІ • 135

  • @agustinalfieri6799
    @agustinalfieri6799 2 роки тому +4

    Thank you! I made an installation of Dspace 7.3 on Ubuntu and, even though the process was a little bit different, your explanation really helped me. This was my first time using any Linux OS so the fact that you explained what we were doing with each command made my life so much easier. Again, thanks a lot!

    • @JeremiahKellogg
      @JeremiahKellogg  2 роки тому +5

      You are very welcome, and thank you for your feedback! When I first started playing around with this years ago I would get frustrated when watching videos that assumed I knew more than I did, and that has been my goal with these videos: to try not to assume people know more than they do and hopefully explain things well enough to make connections and learn something new. It makes me very happy that that turned out to be the case for you! Cheers!

  • @isahmoduyerima619
    @isahmoduyerima619 8 місяців тому +1

    What a beautiful practical presentation. Thank you so much for taking out time to give us your best.

  • @protostecnologia4096
    @protostecnologia4096 Рік тому +1

    Wonderful instructions. I could able to install back and front-end. My dspace repository is running properly. Thank you Jeremiah!

  • @bhaveshkipathshala
    @bhaveshkipathshala 2 роки тому +3

    Thank you for making such a nice video, very nicely explained. Waiting for some more new video related to DSpace 7 (customization and other features)

  • @rsanjiwanverma2021
    @rsanjiwanverma2021 Рік тому +1

    Thank you! Sir your explanation really helped me. This was my first time using any Linux OS so the fact that you explained what we were doing with each command made my life so much easier. Again, thanks a lot!

  • @huzaimahabdulrani5079
    @huzaimahabdulrani5079 Рік тому +1

    I have been using your video to guide me on DSpace installation for production. Great video even if it only for testing environment!

  • @cyanidec23
    @cyanidec23 2 роки тому +1

    Thank you! This is one of the best tutorial for dspace7 installation.

  • @amalendudas4259
    @amalendudas4259 2 роки тому +2

    Thank you very much. It's one of the best tutorial.

  • @hajaralameer8462
    @hajaralameer8462 Рік тому +1

    Thank you so much, 🙏
    Your explanation is so helpful 😊

  • @ggv2001
    @ggv2001 2 роки тому +1

    these are the only one dspace 7 insall instractions that works ok!! thanks!! Jeremiah!!!!!!

    • @JeremiahKellogg
      @JeremiahKellogg  2 роки тому

      You're very welcome. It's always awesome to hear that this video has been helpful for people!

  • @mamun95
    @mamun95 2 роки тому +1

    please make a video on dspace statistical report configuration.

  • @nizammikhalfani6207
    @nizammikhalfani6207 15 днів тому

    1:15:24 on me it says build failed. how to solve it?

  • @abaeben
    @abaeben Рік тому +2

    thank you. you are the best. Please, do you have a video on how to customize the frontend UI interface for DSpace 7x. Kindly help if you can. thank you in advance.

    • @JeremiahKellogg
      @JeremiahKellogg  Рік тому +1

      You're very welcome, I'm glad you found this tutorial helpful! Unfortunately I don't have a video on UI customization. After looking at the documentation I can see why people might want a UI tutorial. It's pretty involved and I don't fully understand all of it. Are there specific things you want to customize?

    • @abaeben
      @abaeben Рік тому +1

      @@JeremiahKellogg yes. I would like to add logo, name of the institution and the feel of ui colors.

    • @JeremiahKellogg
      @JeremiahKellogg  Рік тому +1

      @@abaeben Yeah, I think I can do a video on that. Our university is on spring break next week so I think that will give me time to have the video done by next Friday. Thanks for the suggestion!

    • @abaeben
      @abaeben Рік тому

      @@JeremiahKellogg thank you very much.

    • @JeremiahKellogg
      @JeremiahKellogg  Рік тому +1

      @@abaeben I've created an environment to do the video, but haven't gotten to recording the video yet. I should be able to do that soon, but just wanted to give you an update. I still intend to get this video done soon.

  • @chamsechamse1178
    @chamsechamse1178 2 роки тому +4

    hi
    thank you very much sir

  • @protostecnologia4096
    @protostecnologia4096 2 роки тому +1

    Hi, excellent video. Could i add and program another buttons on the interface in order to offer more function to the users? For example a button that when clicked contains a list of links to other pages

    • @JeremiahKellogg
      @JeremiahKellogg  2 роки тому +1

      Thanks, I'm glad you found this video useful! I think you can get into the code to create a functionality like what you describe. I'm not familiar enough with add-ons for dSpace. At Eastern Oregon University we use Omeka, which I find much easier to 'hack' and make it do what we want (it relies mostly on PHP). I'm not fully sure how it works with dSpace. Once I get a chance to get back to making content, I'll keep your question in mind!

    • @protostecnologia4096
      @protostecnologia4096 2 роки тому

      @@JeremiahKellogg Hi, thanks for answer. I have seen lots of page made with dspace where have more buttons than the standard dspace interface. Thats the reason about my question. How did they do it?.

  • @EloyAngelOrihuelaIzquierdo
    @EloyAngelOrihuelaIzquierdo 2 роки тому +2

    I need a tutorial for installing DSPACE CRIS, Please!

    • @JeremiahKellogg
      @JeremiahKellogg  2 роки тому +3

      I wasn't aware of DSPACE CRIS, I'm going to give it a closer look and see what I can do. I'm hoping to get back content creation at the start of 2023, this seems a good candidate for my channel so I'll do some further research on it. Thanks for the suggestion!

  • @hafizhadia4916
    @hafizhadia4916 2 роки тому +3

    Hey! Thank you very much)). I managed to install it on my computer. I don’t have a server (. I wanted to ask how to change the title, icons, font style to DSpace 7.2. I read the documentation and tried to do it, it doesn’t work. It says yarn the package is not installed. Do you plan to make a tutorial on customizing the user interface. Thanks in advance!

    • @JeremiahKellogg
      @JeremiahKellogg  2 роки тому +2

      I hadn't considered doing a tutorial on customizing the user interface, but will put it on my list of ideas for future videos. At the moment I'm working on 3 major development projects, so I haven't had much time for these videos. I'm hoping to get back to it in the summer. Thanks for the suggestion, it's a good one!

    • @hafizhadia4916
      @hafizhadia4916 2 роки тому

      @@JeremiahKellogg thank you!

  • @alialhumaima9442
    @alialhumaima9442 Рік тому

    Thank you!. What are the modifications to consider when installing Dspace on the Google cloud platform?

    • @JeremiahKellogg
      @JeremiahKellogg  Рік тому

      That's a good question! I've not set anything like this up on a cloud platform, but I suspect the biggest thing to consider is you'd need to make sure you use the IP of the cloud server your building this on. My guess is it wouldn't be too much different, but you'd want to be sure to use the IP of the cloud server when trying to access things through the browser (rather than localhost like I did in the video).

    • @alialhumaima9442
      @alialhumaima9442 Рік тому +1

      @@JeremiahKellogg Thank you very much for the prompt reply.

  • @HamadDafallah
    @HamadDafallah 2 роки тому +1

    Please, my friend.
    Can you make a PDF file contains all the installation steps one by one, for DSpace 7.4 on Ubuntu Linux thankfully?

    • @JeremiahKellogg
      @JeremiahKellogg  2 роки тому +1

      I'm going to start writing steps when I make future videos. I've heard from quite a few people that that would be helpful, but I'm not currently able to do that for this video. I do have a link to instructions that I think are good: dspacegeek.blogspot.com/2022/05/install-dspace7-ubuntu-debian.html. I've been in communication with the guy who wrote them and can say he does great work within the library open source community. You should give those instructions a look, I think they'll be very helpful.

    • @HamadDafallah
      @HamadDafallah 2 роки тому

      @@JeremiahKellogg
      Thank you my friend, I followed all these steps more than once, but unfortunately I always encounter a problem with Tomcat, (HTTP Status 404 - Not Found) when I try to Open the REST API Interface
      I searched online for solutions but to no avail.
      I followed this guy's steps very precisely but the problem was always there.
      - We also need you to explain the upgrade steps from 6 to 7 if you can.
      Thank you man

    • @JeremiahKellogg
      @JeremiahKellogg  2 роки тому +1

      @@HamadDafallah I'm going to run through those instructions and see if I can find the issue. Maybe the problem is differences between 7.3 and 7.4, but I'm not sure. I need to create a new Ubuntu VM to do that. I'm hoping to get that setup and tested by the end of next week. So I'll check specifically with Ubuntu 22 and DSpace 7.4. We'll figure it out 🙂. I think a video on upgrading from 6 to 7 would be really valuable, and I hope to get to that someday, but the amount of prep I'd need to do for that would take more time than what I have right now. I'm going to keep a 6 to 7 upgrade video in mind though!

    • @HamadDafallah
      @HamadDafallah 2 роки тому

      @@JeremiahKellogg Thank you from the heart, you are a wonderful and helpful person. I always wait for you here

    • @JeremiahKellogg
      @JeremiahKellogg  2 роки тому +1

      @@HamadDafallah You're very welcome and thank you for the kind words. I think I've found where your problem is. There's one small command that isn't included in the instructions that should fix your problem. Try running this command in your terminal:
      sudo chown -R tomcat:tomcat /opt/sorl/server/
      After you run that be sure to restart tomcat (it might not be necessary but that's what I did for good measure):
      sudo systemctl restart tomcat9.service
      Now when you go to localhost:8080/server/ you should be brought to the HAL Browser. You should also be able to get to localhost:8080/server/oai/request?verb=Identify as well. Hope this helps!

  • @walakirajibrilderrick32
    @walakirajibrilderrick32 10 місяців тому

    Thank you, do you have installation steps for Dspace 7.6 on Ubuntu 22.

    • @JeremiahKellogg
      @JeremiahKellogg  9 місяців тому

      Sorry, no. I haven't looked at DSpace since 7.4 so I'm don't fully know if my text instructions for that release translate to 7.6. Once I free up some time I should probably take a look at my text instructions and video to make sure they're still relevant. That's going to be a while, though.

  • @tobiasmakweya4796
    @tobiasmakweya4796 Рік тому

    The homepage recent submissions cannot load. i Have installed Dspace 7.4.

  • @billdopeixe3883
    @billdopeixe3883 10 місяців тому

    Good afternoon Jeremiah, my English is not that good and I am having some difficulty installing the frontend in version 7.6. After I use yarn build:prod, PM2 gives a CWD error. Could you help me with a step by step guide? Thank you in advance for sharing your knowledge with us.

    • @JeremiahKellogg
      @JeremiahKellogg  10 місяців тому +1

      Hmmm, I'm not sure, could you send me the wording of the error message? Did you install pm2 globally with this command:
      npm install --global pm2
      The official instructions say that you may need to use sudo to run that command. I can probably figure out what's going on if you're able to share the wording of the error message.

    • @billdopeixe3883
      @billdopeixe3883 10 місяців тому

      ​@@JeremiahKellogg Instead of doing it like in the video I used:
      {
      "applications": [
      {
      "name": "dspace-ui",
      "cwd": "/home/dspace/dspace-angular-dspace-7.6/",
      "script": "dist/server/main.js",
      "env": {
      "NODE_ENV": "production",
      "DSPACE_REST_SSL": "false",
      "DSPACE_REST_HOST": "localhost",
      "DSPACE_REST_PORT": "8080",
      "DSPACE_REST_NAMESPACE": "/server"
      }
      }
      ]
      }
      After that I used:
      pm2 start /home/srv/dspace-ui.json
      But when I try:
      localhost:4000
      It looks like the connection was refused.
      Note: I am installing on an Ubuntu 22.04.3 server at my institution.

  • @peterchoowp85
    @peterchoowp85 Рік тому

    Hi Jeremiah, frontend you used dspace-angular for Dspace 7.2. Is it the same method deploy to Dspace 7.4? Or must use dpspace-ui-deploy?

    • @JeremiahKellogg
      @JeremiahKellogg  Рік тому +1

      Hi Peter, You don't need to use dspace-ui-deploy in 7.4, but I think it's the newly intended way for setup to be done. The video is slightly dated in this regard and I have written instructions that outline how to do the setup in 7.4 without dspace-ui-deploy: library.eou.edu/wp-content/uploads/2023/01/Ubuntu22-DSPace-Instructions.pdf. I'd really like to do a new dspace installation video that uses dspace-ui-deploy as well as setting up ssl for production, but I haven't found the time to do that, yet. In any case, I hope the document helps.

    • @peterchoowp85
      @peterchoowp85 Рік тому

      @@JeremiahKellogg no worry about new version video. Currently I'm setting up 7.4 , but version 7.5 just out not long ago... =.=,"....thanks for your advise I will follow back the Dspace-angular method.

  • @billdopeixe3883
    @billdopeixe3883 Рік тому

    Hello Jeremiah, are you have tutorial for Dspace 7.6 version?

    • @JeremiahKellogg
      @JeremiahKellogg  Рік тому +1

      Hi, Bill. At some point I'd like to redo this video, but it won't be any time soon. I think 7.2 and 7.6 install very similarly, so much of the information in this video is accurate. Between the written instructions I posted in the description above and the video you should have everything you need for installing 7.6.

    • @billdopeixe3883
      @billdopeixe3883 Рік тому +1

      @@JeremiahKellogg Thank you very man

  • @МухаметалиКусайынов

    Hello Jeremiah! I also wanted to ask that the yarn start:dev script is not working for me in Dspace 7.5. Although this script worked in Dspace 7.2. writes an error: Writes: Port 4000 is already in use. Would you like to use a different post? I press yes. And it runs on a different local host. But with error: 500.
    How to fix it?😅

    • @JeremiahKellogg
      @JeremiahKellogg  Рік тому

      It sounds like you tried starting the start:dev script while Dspace was already running (I've done this before and got the same errors you're getting). In order to avoid the issue you're having you'll need to shutdown Dspace and then run the command. If you're using PM2 you can stop Dspace with this command: pm2 stop dspace-ui.json. You need to run that command in the same directory your dspace-ui.json file is located. Once you stop Dspace you can run the start:dev command and you shouldn't get the port 4000 already in use error.

    • @МухаметалиКусайынов
      @МухаметалиКусайынов Рік тому +1

      @@JeremiahKellogg Thanks for your advice sir! It worked!

  • @khaetee
    @khaetee Рік тому

    Thanks Jeremiah. The tutorial is a big help. I made it all the way to the testing OAI-PMH part at 1hr35, and that threw a HTTP status 500 error, even though the REST API part did work... Any suggestions?

    • @JeremiahKellogg
      @JeremiahKellogg  Рік тому

      500 errors can be difficult to track down. My experience has been that they're usually caused by improper permissions on the /dspace directory. That directory and all of its contents need to be owned by the tomcat user. You'll also want to make sure the user you're logged in as owns the /opt/solr directory, I think having the wrong owner on that directory could cause 500 errors. If none of those are the issue you should check your error logs. First I'd check the one at /dspace/log. That should help pinpoint the problem. The other would be the tomcat logs found at /var/log/tomcat9. You'll likely need to be logged in as root to access that. Hope this helps!

  • @pedrotauzen
    @pedrotauzen 9 місяців тому

    Hello.
    I'm trying to install DSpace on Debian 12.5. When installing TomCat9 I had a problem:
    (
    pedro@picasso:~$ sudo apt install tomcat9
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Package tomcat9 is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package 'tomcat9' has no installation candidate
    )
    How can I overcome this problem? I have already made the necessary updates and upgrades.

  • @FAROOQAHMAD-vh3rz
    @FAROOQAHMAD-vh3rz 10 місяців тому

    "Hi there, great tutorial video!
    I'm looking to back up my DSpace versions 6.3 and 7.6. Could you guide me through the process?"

    • @JeremiahKellogg
      @JeremiahKellogg  9 місяців тому

      Hello, sorry for the slow response! I'm currently working on a number of projects that have left me no time for other things, so I won't be able to help. I've done other migrations with WordPress and Omeka an oSTicket, but not DSpace. It looks as though a DSpace migration wouldn't work quite the same way as the other systems I mentioned. Sorry I can't help. Good Luck!

  • @AliHaider-rv2hr
    @AliHaider-rv2hr 7 місяців тому

    need help how can i change port from 4000 to 80

  • @dreamland-je2rd
    @dreamland-je2rd 10 місяців тому

    how we can run dsapce interface over the internet or other LAN Machines. ?

    • @JeremiahKellogg
      @JeremiahKellogg  9 місяців тому

      Sorry for the slow response, I've been pretty busy the past few months. I've not set up SSL for DSpace before, which is how you'd run space of the Internet or a LAN. For quite some time I've been hoping to find time to do that, but haven't gotten there yet.

  • @PABLOTORRES-gc6ey
    @PABLOTORRES-gc6ey Рік тому

    Hello, would it be too much to ask if you could move this application to a production environment? using nginx or apache? so that it can be entered from an external computer? You would save my life.

    • @JeremiahKellogg
      @JeremiahKellogg  Рік тому +1

      Hi Pablo. I've been wanting to do a video showing how to build a production environment for about a year now. I'm still hoping to do so at some point, but I have other obligations I have to focus on before I can do that. When you mentioned nginx or apache did you mean as a proxy server? Dspace uses the Tomcat Java Servlet rather than a web server software like nginx or apache2, and you don't need either to enter the server through an external computer, you just need something like openssh installed on the server you want to remote into. When I do eventually get to making the new video, I'm going to use SSH to remote into the server I'm building things on, which is what I think you're asking about. Of course, this isn't helpful for you now, and I wish I could be more helpful, but my plate is pretty full at the moment.

    • @JeremiahKellogg
      @JeremiahKellogg  Рік тому

      @@PABLOTORRES-gc6ey I think I understand now. I'm not fully sure how to fix the problem, though. Have you made the necessary changes to the local.cfg file? I think you need to change the dspace.ui.url variable from localhost:4000 to dspace.example.com:4000 (or whatever url you're using to access from another computer). After making a change like that you'd need to run the mvn package and ant fresh_install commands for the changes to take effect. I think you'd also have to change things in the config.prod.yml file. Under the ui section you'd need to change host from localhost to the url you want to use. You might also have to make a change to the host setting under the rest section, but I don't know that for sure (I've never built a production environment, so I don't fully know what it entails). You won't need to build anything after making changes to the config.prod.yml file, but you will need to restart dspace itself. If that doesn't work you may need to configure the CORS policy on the server Dspace lives on. I don't know how to do that with a Tomcat Servlet so your best bet would be to google it. Another thing you might want to do is check your Tomcat error logs for more information on why you're getting the 500 error. If you find something there I'd use google to try to find a solution. Whenever I have to troubleshoot things like this I usually find the answer by going through various error logs and doing a bunch of google searches on how to fix the errors I find in those logs.

  • @Mercedes-du7hv
    @Mercedes-du7hv Рік тому

    Hello, I have done everything exactly as you did in the video, up to the front end part. When I try to install node, it fails saying that can not find a c compliator. How could I solve it?
    Great video, by the way 😊

    • @JeremiahKellogg
      @JeremiahKellogg  Рік тому +1

      Hello, you should be able to fix that with: sudo apt install build-essential. That will include the gcc package (a c compiler) and should solve the issue.

  • @ezmooj
    @ezmooj Рік тому

    Thank you very much for this tutorial very good explanation step by step slowly and surely
    Do you know how to create item via rest api? I stuck on this
    i investigate how front end works then i send request step by step like front end what it is do i do but its not working can you make explain video for this scenario?

    • @JeremiahKellogg
      @JeremiahKellogg  Рік тому +1

      Hello. I've not created items via a rest api before. I hadn't considered that as a possibility until reading your post, but can see where it might be very useful. Were you following instructions on how to do this somewhere but it didn't end up working? If so could you send me the link to the place you got those instructions? That way I can be sure I understand what you're trying to do. It sounds worthy of making a video, but it might be a while before I can get to it. I'm at capacity with my current workload so it will be a while before I can make a new video.

  • @nin375
    @nin375 Рік тому

    Sir how can we change the front-end home page text like Dspace 7 Dspace is world....

    • @JeremiahKellogg
      @JeremiahKellogg  Рік тому

      I just finished recording a video on how to customize DSpace, and it includes changing what you're referencing. I'm going to edit it tomorrow, so it should be available late Monday or early Tuesday.

  • @IntiPoaquiza
    @IntiPoaquiza 2 роки тому

    If I install on a server with IP, what additional configuration should I take into account? Thank you very much

    • @JeremiahKellogg
      @JeremiahKellogg  2 роки тому +1

      Hello, If you're using an IP I would replace every instance of "localhost" in your configurations with the IP address you're using. That should do the trick, though I've not tested it myself. It looks like there might be some further configurations with SSL to make it work properly, but I don't know that for sure. I'm hoping to play around with SSL soon and make some more DSpace videos, but I keep getting roped into committee work that keeps me from making more content.

    • @IntiPoaquiza
      @IntiPoaquiza 2 роки тому +1

      @@JeremiahKellogg Thank you very much for your help :)

    • @JeremiahKellogg
      @JeremiahKellogg  2 роки тому

      @@IntiPoaquiza Happy to help. I hope it works! This is actually the first tutorial I've done using localhost as the url for the system instead of the IP. Using the IP always worked with the other systems, so I hope it does for this one as well.

  • @mulusewabebejofe7612
    @mulusewabebejofe7612 Рік тому

    I succesfuly instaled dspace and opened in my browser. But after restarting the PC Iam unable to access dspace from browser. what shall i do? should i type command to start posgresql and tomcat first. How can i access dspace on browser when my pc is restarted.

    • @JeremiahKellogg
      @JeremiahKellogg  Рік тому

      I've noticed recently that the start command I put in the .profile file isn't actually starting Dspace when you restart your computer anymore. I have to start it manually now, but I haven't had time to find a new way to auto start when your computer boots up. To start manually you'll need open your terminal and to go to the directory that contains your dspace-ui.json file and run this command: pm2 start dspace-ui.json. You'll need to do that every time you restart your computer. Last I checked, the auto start method I outline in the video works in Ubuntu 22, just not in current versions of Debian 11.

  • @32or96
    @32or96 Рік тому

    can i repeat all of it for download on CentOS7 ?

    • @JeremiahKellogg
      @JeremiahKellogg  Рік тому

      Unfortunately, no. Red Hat Distros like CentOS7 don't come with the apt repository by default. Instead they use yum. You might be able to install the apt repo on CentOS, but even then I'm not sure things will work out. You can definitely install DSPace on a CentOS server, but I think the process will be slightly different from what's covered in this video.

  • @ishag3d
    @ishag3d 2 місяці тому

    thank you

  • @celestinomoreira3
    @celestinomoreira3 2 роки тому

    500
    SERVICE UNAVAILABLE
    The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. for front end help me please

    • @JeremiahKellogg
      @JeremiahKellogg  2 роки тому

      A 500 error means your server isn't configured properly. It's hard to say what's causing this for you without having access to the server, but one of the likely culprits is permissions. Check the permissions on your /dspace directory. If you did the same thing I did in the video you could do that by listing everything in the root directory, you can do that with this command:
      ls -la /
      Look for the /dpsace directory. Does it list tomcat as the owner? If not, that's your problem. You can fix it by running this command:
      sudo chown -R tomcat /dspace
      If that doesn't solve your problem you'll need to look in the logs to gather more information. The DSpace website has some information on where you might want to look for log files: wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove). The best place to look first would be the /dspace/log/dspace.log. The next would be the Tomcat logs, but I'm not sure where those would be on Linux Mint. My suspicion is they would be in a path similar to this (but probably not exact): /var/lib/tomcat9/logs/tomcat.log or something like that. Error logs are pretty much the only thing we can use to track down where the issue might be.
      Another thought is you might have to open up some ports on your computer. Linux Mint is more of a desktop OS than a server, so it may have the ports you need for web communication closed by default. The ports you want to make sure are open are 8983, 8080, and 4000.

  • @roodjerrypierre8666
    @roodjerrypierre8666 2 роки тому

    Hi, i’ve stuck in the “ant fresh_install” it’s says BUILD FAILED and i followed all ur steps

    • @JeremiahKellogg
      @JeremiahKellogg  2 роки тому +2

      Hello, I think there are a number of things that could cause that, but the one I see most often is when information in the local.cfg file is wrong (in the video it's in my ~/DSpace-dspace-7.2/dspace/config directory, probably the same for yours if you followed the tutorial exactly). Often times it's the database password, so I'd check to make sure your database user and database password are correct in that file. The important lines to look at there are db.username = dspace and db.password = password. That's how I set things up in the video, so if you followed instructions exactly that's what you want those two lines to look like. If things look good there it might be an issue with your postgres database setup, but I'd need to see some error messages or logs to know for sure. If there's more to the BUILD FAILED error you can send that along to me and I can take a look. There are so many small pieces to this it's easy to accidentally miss something and it can be challenging to retrace your steps... I think it took 4 or 5 attempts for me to build this from scratch before I got things working and started feeling comfortable with how the build works.

    • @roodjerrypierre8666
      @roodjerrypierre8666 2 роки тому +1

      @@JeremiahKellogg ok thank u a lot I’ll check it out

  • @cesarsotelo2176
    @cesarsotelo2176 Рік тому

    Hello, help me please, localhost:4000 no load. thanks

    • @JeremiahKellogg
      @JeremiahKellogg  Рік тому

      It's hard to say what might be causing your problem without more information. Do you have the right permissions on the /dspace root directory? It should be owned by tomcat. There could also be a communication problem between the backend and the frontend. This usually happens when there's a typo or bad information in your configuration files. You should check your log files to pinpoint where the problem is occurring. The dspace log might be your best option: /dspace/log. Tomcat logs sometimes have helpful information, too: /var/log/tomcat9.

  • @coordinacionsistemasbiblio8294
    @coordinacionsistemasbiblio8294 2 роки тому

    Hello, your tutorial is very good... I installed dspace 7 with another video tutorial... but I don't know what's wrong... it installed fine but when I try to add communities it doesn't allow it, it gives me an error as if I needed permissions... I would appreciate it if you could help me, I'll contact you from Colombia... I'm not very fluent in English but you helped me with google... I appreciate you giving me information to contact you...
    thank you

    • @JeremiahKellogg
      @JeremiahKellogg  2 роки тому

      Hello! You can contact me at jkellogg@eou.edu and I'm happy to see if I can help out. My responses might be a little delayed as we've been hiring new librarians here at Eastern Oregon University, and a lot of my time has been devoted to that. I'm looking forward to hearing from you 🙂

  • @suneeldm8955
    @suneeldm8955 2 роки тому

    Hi, Thanks for the video, I followed all steps, it's worked well. But after creating community I am not able to create collection under community, saying that no community found.
    Pls help me.

    • @JeremiahKellogg
      @JeremiahKellogg  2 роки тому

      Hello! I've encountered this problem before and seem to recall it was a permissions issue, very likely in the solr configsets directory. In the video I use my name, jeremiah, as the user who owns dspace and solr. I'm not sure what you used for a username to set things up, but that user is going to need to own everything in the solr directory. You can do that with this command:
      sudo chown -R /opt/solr-8.11.1
      There's a good chance that will fix your problem. You can also take a look at the permissions of the directory I think might be causing your problem:
      ls -la /opt/solr-8.11.1/server/solr/
      You should see your user listed as the owner of the configsets directory. Hope this helps.

  • @МухаметалиКусайынов

    Dear Sir Jeremiah Kellogg and dear colleagues! I really need your help. I deployed dspace. But I can not solve the problem with authorization through LDAP. Has anyone been able to connect LDAP authorization? can you explain to me step by step how to do it? or is there a normal LDAP authorization guide. Nothing is clear in the documentation. I would be grateful if you could help with the difficulties I am having.

    • @JeremiahKellogg
      @JeremiahKellogg  Рік тому +1

      Unfortunately I don't have much experience with setting up authentication myself. I have network admins who do most of that work for me. I've wanted to build and play around with an LDAP server for years now, but I have more pressing commitments to work on so I haven't had time. Hopefully someone else will have some insights for you. Good luck!

  • @knowledgehub1022
    @knowledgehub1022 2 роки тому

    Hello Sir
    Thank you very much for this tutorial.
    I m getting 500 error when I start it
    I installed in Linux mint

    • @JeremiahKellogg
      @JeremiahKellogg  2 роки тому

      Hello!
      A 500 error means your server isn't configured properly. It's hard to say what's causing this for you without having access to the server, but one of the likely culprits is permissions. Check the permissions on your /dspace directory. If you did the same thing I did in the video you could do that by listing everything in the root directory, you can do that with this command:
      ls -la /
      Look for the /dpsace directory. Does it list tomcat as the owner? If not, that's your problem. You can fix it by running this command:
      sudo chown -R tomcat /dspace
      If that doesn't solve your problem you'll need to look in the logs to gather more information. The DSpace website has some information on where you might want to look for log files: wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove). The best place to look first would be the /dspace/log/dspace.log. The next would be the Tomcat logs, but I'm not sure where those would be on Linux Mint. My suspicion is they would be in a path similar to this (but probably not exact): /var/lib/tomcat9/logs/tomcat.log or something like that. Error logs are pretty much the only thing we can use to track down where the issue might be.
      Another thought is you might have to open up some ports on your computer. Linux Mint is more of a desktop OS than a server, so it may have the ports you need for web communication closed by default. The ports you want to make sure are open are 8983, 8080, and 4000.

    • @sadatiokeyo5074
      @sadatiokeyo5074 2 роки тому

      Hello knowledge Hub. I also experienced error 500. were you able to fix the error using Jeremiah's instructions?

    • @sadatiokeyo5074
      @sadatiokeyo5074 2 роки тому

      Kindly share what worked for you. I installed in Ubuntu 22.04

  • @0126309454
    @0126309454 2 роки тому +3

    Hai, can you make tutorial enable SSL for frontend and backend?

    • @JeremiahKellogg
      @JeremiahKellogg  2 роки тому +3

      That's a great idea, thanks. It might be a while before I get to it, but I think I might be able to pull something together with a self-signed certificate, or possibly Let's Encrypt.

    • @0126309454
      @0126309454 2 роки тому

      @@JeremiahKellogg well I have my company SSL, I tried to connect frontend and backend through SSL but failed. Hope you can make a video just for SSL configuration.

    • @JeremiahKellogg
      @JeremiahKellogg  2 роки тому +2

      ​@@0126309454 The challenge I'm facing with making a video like that is I don't have a certificate I can use, and apparently Node.js really hates self signed certificates. I've tried using a self-signed certificate, but can't seem to get it to work, which appears to be a pretty common problem with people who try to use them with DSpace. TLS and SSL isn't something I do regularly because we have network admins who take care of that for me (so I have more of a working knowledge rather than expertise). I can probably figure it out eventually, but at the moment it's looking like it might take a while.

    • @soorajvemmarathil5286
      @soorajvemmarathil5286 2 роки тому +1

      @@JeremiahKellogg Thanks for the great video ,For me also also failed while enabling the SSL .

    • @JeremiahKellogg
      @JeremiahKellogg  2 роки тому +3

      It would definitely make sense to do a follow up video on how to enable SSL. I couldn't get things working with a self-signed certificate, so I'm working on getting a domain name I can use with Let's Encrypt. If I can get that working, then I can do the SSL follow up video.

  • @javierbuilder5626
    @javierbuilder5626 2 роки тому

    Hi, how fix this ? "msg":"SolrCore 'search' is not available due to init failure: Could not load conf for core search: Can't load schema /opt/solr-9.0.0/server/solr/configsets/search/conf/schema.xml: Plugin init failure for [schema.xml] fieldType \"text\": Plugin init failure for [schema.xml] analyzer/filter: Error loading class 'org.apache.lucene.analysis.icu.ICUFoldingFilterFactory'",

    • @JeremiahKellogg
      @JeremiahKellogg  2 роки тому

      It looks like you're using solr 9. Apparently DSpace isn't compatible with solr 9 yet: wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-ApacheSolr8.x(full-textindex/searchservice). For now it seems we have to use solr 8.

    • @JeremiahKellogg
      @JeremiahKellogg  2 роки тому

      Actually, it looks like you can use Solr 9. You just have to edit the solrconfig.xml file as shown here: wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace?focusedCommentId=246284451#comment-246284451

  • @icejack
    @icejack Рік тому

    hi sir... thank you for your dspace installation tutorial. I made the installation and success. But face some issues. Need your help, sir. Can we engage via email? Can you share to me your email? thanks for advance

    • @JeremiahKellogg
      @JeremiahKellogg  Рік тому

      I'm happy to try to help. My email is jkellogg@eou.edu.

  • @partyforever3090
    @partyforever3090 Рік тому

    i following this step also your steps in pdf.
    im installing it in vps with debian 11
    i dont get any error message during installing anything
    but when i try hit the ip with the ports. its show nothing
    for example checking solr on browser my_ip_here:8983/solr/
    its show nothing
    my_ip_here:8080
    my_ip_here:4000
    also show nothing, just says This site can’t be reached

    • @JeremiahKellogg
      @JeremiahKellogg  Рік тому

      It could be any number of things. First I'd check to see if those ports are open on your server. Second, you may have to replace 'localhost' in some of your configurations to your IP Address. Third, you may not have the proper permissions set on the Dspace installation directory (located at /dspace in the video), which should be owned by the tomcat user. You need to make sure your 'solr user' has permissions one the /opt/solr/server/solr/configsets directory (if you're following along with the video, that's the location of the directory and I think my solr user is 'jkellogg'). Fourth, you should make sure the information in your local.cfg file is accurate, particularly the database info. You may want to explicitly use your IP address in there rather than 'localhost.' If you do make changes there, you're probably going to need to run the mvn package command again as well as the ant fresh_install command. You may also want to check the various logs on your system to figure out what the problem is. For instance I found the tomcat logs to be very helpful with issues I was encountering as I was building this for the first time. Those logs are usually found here in a Debian distribution: /var/log/tomcat9. Check the access logs there. The solr logs might be helpful, too: /opt/solr-8.11.2/server/logs. The postgres logs might help, too: /var/log/postgresql. Those are all the things I can think of that would cause this kind of problem.

    • @partyforever3090
      @partyforever3090 Рік тому

      @@JeremiahKellogg hi, thanks for replying
      yeah you right, it seem misconfiguration or something.
      my_ip_/server is worked, hal browser shown
      everything with ports not worked ,
      i will check the stuff that you suggest me.
      pardon me if im back in few minutes with other problems :D

    • @partyforever3090
      @partyforever3090 Рік тому

      aaaaaaaahh yarn build:prod was failing, that causing dist folder not exist.
      says about memory alocation, idk if 2gb ram isnt good for dspace

    • @JeremiahKellogg
      @JeremiahKellogg  Рік тому

      @@partyforever3090 Yeah, 2gb isn't large enough. You'll need at least 4gb, but I'd recommend 8 if your able. I actually had a build fail with 4GB, then ran the yarn command again and it worked. After that I just started allocating 8GB of RAM to my system to avoid that problem.