[dspace-tech] Re: File upload error on Dspace 7.4

2022-11-30 Thread Mohammad S. AlMutairi
You are most welcome. Very happy for you got it working.

On Wednesday, November 30, 2022 at 4:09:04 PM UTC+3 jesse...@gmail.com 
wrote:

> Wonderful my friend. 
> You are one great soul on earth. It worked like a charm. 
> I was so desperate to see my installation working, and with this error, I 
> was feeling helpless.  Even the error logs didn't show any detail. 
> But you gave the precise solution for my issue. 
> Thank You so much. 
>
> Rupinder Singh
>
> On Wednesday, November 30, 2022 at 5:49:11 PM UTC+5:30 alo...@gmail.com 
> wrote:
>
>> Never mind: You need to find the tomcat systemd unit file 
>> (tomcat9.service) if you install the default Ubuntu tomcat package and make 
>> sure tomcat user you see in the unit file has write permission over the 
>> DSpace folder and need to tell tomcat it can write into DSpace folder as 
>> you see it highlted in red.
>>
>> [Service]
>>
>> # Configuration
>> Environment="CATALINA_HOME=/usr/share/tomcat9"
>> Environment="CATALINA_BASE=/var/lib/tomcat9"
>> Environment="CATALINA_TMPDIR=/tmp"
>> Environment="JAVA_OPTS=-Djava.awt.headless=true -Dfile.encoding=UTF-8"
>>
>> # Lifecycle
>> Type=simple
>> ExecStartPre=+/usr/libexec/tomcat9/tomcat-update-policy.sh
>> ExecStart=/bin/sh /usr/libexec/tomcat9/tomcat-start.sh
>> SuccessExitStatus=143
>> Restart=on-abort
>>
>> # Logging
>> SyslogIdentifier=tomcat9
>>
>> # Security
>> *User=tomcat*
>> Group=tomcat
>> PrivateTmp=yes
>> AmbientCapabilities=CAP_NET_BIND_SERVICE
>> NoNewPrivileges=true
>> CacheDirectory=tomcat9
>> CacheDirectoryMode=750
>> ProtectSystem=strict
>> ReadWritePaths=/etc/tomcat9/Catalina/
>> ReadWritePaths=/var/lib/tomcat9/webapps/
>> ReadWritePaths=/var/log/tomcat9/
>> *ReadWritePaths=/opt/dspace*
>>
>> [Install]
>> WantedBy=multi-user.target
>>
>> On Wednesday, November 30, 2022 at 3:06:23 PM UTC+3 Mohammad S. AlMutairi 
>> wrote:
>>
>>> Which Operating System are you using?
>>>
>>> On Wednesday, November 30, 2022 at 2:47:53 PM UTC+3 jesse...@gmail.com 
>>> wrote:
>>>
 Hi, 
 I am struggling to get this software to work for the last 2 months, and 
 still no success. 
 I did the Dspace 7.4 backend installation on my Ubuntu 22.04 computer, 
 installed Solr from source, installed tomcat9 from the apt package 
 manager, 
 and compiled the DSpace code for the backend. 
 Everything is running under a dedicated 'DSpace' system user. It went 
 well and I can access the backend HAL interface on localhost:8080/server. 

 Further, I went to install the frontend on the same machine, under the 
 same user (i.e., dspace), and installed node js, yarn, and everything as 
 mentioned in DSpace wiki, it also went well and I could see my DSpace 7 
 home screen for the first time. It was beautiful and I was happy, I logged 
 in with my administrative users, and created some communities and 
 collections. it is all working. BUT I CAN NOT UPLOAD ANY FILE, NOT EVEN 
 THE 
 COMMUNITY LOGO's. 
 I am so fed up with this software, Error logs are of no help. i thought 
 it would be a permission issue, but my system user 'dspace' is the owner 
 of 
 both dspace backend folder, and also dspace-angular, tomcat9, Solr, and 
 yarn both are running under 'dsapce' system user. still, I can't upload 
 anything. I can't figure out what I did wrong, and where I'm missing 
 something, and at this point, I'm too tired to re-install it again and 
 again (like I've been doing for the last 2 months). 

 Seriously!!, please help, I need to get this working.  


 Thank You

 Rupinder Singh 



-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/060813ca-3360-4bce-9a82-f548a526194fn%40googlegroups.com.


Re: [dspace-tech] Re: File upload error on Dspace 7.4

2022-11-30 Thread Mohammad S. AlMutairi
You are most welcome. Very happy you got it working. Please close it in the
thread so other community members who might fall into the same won't spend
much time as you did.

Cheers

On Wed, Nov 30, 2022 at 4:09 PM Rupinder Singh 
wrote:

> Wonderful my friend.
> You are one great soul on earth. It worked like a charm.
> I was so desperate to see my installation working, and with this error, I
> was feeling helpless.  Even the error logs didn't show any detail.
> But you gave the precise solution for my issue.
> Thank You so much.
>
> Rupinder Singh
>
> On Wednesday, November 30, 2022 at 5:49:11 PM UTC+5:30 alo...@gmail.com
> wrote:
>
>> Never mind: You need to find the tomcat systemd unit file
>> (tomcat9.service) if you install the default Ubuntu tomcat package and make
>> sure tomcat user you see in the unit file has write permission over the
>> DSpace folder and need to tell tomcat it can write into DSpace folder as
>> you see it highlted in red.
>>
>> [Service]
>>
>> # Configuration
>> Environment="CATALINA_HOME=/usr/share/tomcat9"
>> Environment="CATALINA_BASE=/var/lib/tomcat9"
>> Environment="CATALINA_TMPDIR=/tmp"
>> Environment="JAVA_OPTS=-Djava.awt.headless=true -Dfile.encoding=UTF-8"
>>
>> # Lifecycle
>> Type=simple
>> ExecStartPre=+/usr/libexec/tomcat9/tomcat-update-policy.sh
>> ExecStart=/bin/sh /usr/libexec/tomcat9/tomcat-start.sh
>> SuccessExitStatus=143
>> Restart=on-abort
>>
>> # Logging
>> SyslogIdentifier=tomcat9
>>
>> # Security
>> *User=tomcat*
>> Group=tomcat
>> PrivateTmp=yes
>> AmbientCapabilities=CAP_NET_BIND_SERVICE
>> NoNewPrivileges=true
>> CacheDirectory=tomcat9
>> CacheDirectoryMode=750
>> ProtectSystem=strict
>> ReadWritePaths=/etc/tomcat9/Catalina/
>> ReadWritePaths=/var/lib/tomcat9/webapps/
>> ReadWritePaths=/var/log/tomcat9/
>> *ReadWritePaths=/opt/dspace*
>>
>> [Install]
>> WantedBy=multi-user.target
>>
>> On Wednesday, November 30, 2022 at 3:06:23 PM UTC+3 Mohammad S. AlMutairi
>> wrote:
>>
>>> Which Operating System are you using?
>>>
>>> On Wednesday, November 30, 2022 at 2:47:53 PM UTC+3 jesse...@gmail.com
>>> wrote:
>>>
 Hi,
 I am struggling to get this software to work for the last 2 months, and
 still no success.
 I did the Dspace 7.4 backend installation on my Ubuntu 22.04 computer,
 installed Solr from source, installed tomcat9 from the apt package manager,
 and compiled the DSpace code for the backend.
 Everything is running under a dedicated 'DSpace' system user. It went
 well and I can access the backend HAL interface on localhost:8080/server.

 Further, I went to install the frontend on the same machine, under the
 same user (i.e., dspace), and installed node js, yarn, and everything as
 mentioned in DSpace wiki, it also went well and I could see my DSpace 7
 home screen for the first time. It was beautiful and I was happy, I logged
 in with my administrative users, and created some communities and
 collections. it is all working. BUT I CAN NOT UPLOAD ANY FILE, NOT EVEN THE
 COMMUNITY LOGO's.
 I am so fed up with this software, Error logs are of no help. i thought
 it would be a permission issue, but my system user 'dspace' is the owner of
 both dspace backend folder, and also dspace-angular, tomcat9, Solr, and
 yarn both are running under 'dsapce' system user. still, I can't upload
 anything. I can't figure out what I did wrong, and where I'm missing
 something, and at this point, I'm too tired to re-install it again and
 again (like I've been doing for the last 2 months).

 Seriously!!, please help, I need to get this working.


 Thank You

 Rupinder Singh

 --
> All messages to this mailing list should adhere to the Code of Conduct:
> https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "DSpace Technical Support" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/dspace-tech/mSneVhXMRSA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/0aba2323-5690-431d-b300-ccb33cf3f15dn%40googlegroups.com
> 
> .
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 

[dspace-tech] Re: File upload error on Dspace 7.4

2022-11-30 Thread Rupinder Singh
Wonderful my friend. 
You are one great soul on earth. It worked like a charm. 
I was so desperate to see my installation working, and with this error, I 
was feeling helpless.  Even the error logs didn't show any detail. 
But you gave the precise solution for my issue. 
Thank You so much. 

Rupinder Singh

On Wednesday, November 30, 2022 at 5:49:11 PM UTC+5:30 alo...@gmail.com 
wrote:

> Never mind: You need to find the tomcat systemd unit file 
> (tomcat9.service) if you install the default Ubuntu tomcat package and make 
> sure tomcat user you see in the unit file has write permission over the 
> DSpace folder and need to tell tomcat it can write into DSpace folder as 
> you see it highlted in red.
>
> [Service]
>
> # Configuration
> Environment="CATALINA_HOME=/usr/share/tomcat9"
> Environment="CATALINA_BASE=/var/lib/tomcat9"
> Environment="CATALINA_TMPDIR=/tmp"
> Environment="JAVA_OPTS=-Djava.awt.headless=true -Dfile.encoding=UTF-8"
>
> # Lifecycle
> Type=simple
> ExecStartPre=+/usr/libexec/tomcat9/tomcat-update-policy.sh
> ExecStart=/bin/sh /usr/libexec/tomcat9/tomcat-start.sh
> SuccessExitStatus=143
> Restart=on-abort
>
> # Logging
> SyslogIdentifier=tomcat9
>
> # Security
> *User=tomcat*
> Group=tomcat
> PrivateTmp=yes
> AmbientCapabilities=CAP_NET_BIND_SERVICE
> NoNewPrivileges=true
> CacheDirectory=tomcat9
> CacheDirectoryMode=750
> ProtectSystem=strict
> ReadWritePaths=/etc/tomcat9/Catalina/
> ReadWritePaths=/var/lib/tomcat9/webapps/
> ReadWritePaths=/var/log/tomcat9/
> *ReadWritePaths=/opt/dspace*
>
> [Install]
> WantedBy=multi-user.target
>
> On Wednesday, November 30, 2022 at 3:06:23 PM UTC+3 Mohammad S. AlMutairi 
> wrote:
>
>> Which Operating System are you using?
>>
>> On Wednesday, November 30, 2022 at 2:47:53 PM UTC+3 jesse...@gmail.com 
>> wrote:
>>
>>> Hi, 
>>> I am struggling to get this software to work for the last 2 months, and 
>>> still no success. 
>>> I did the Dspace 7.4 backend installation on my Ubuntu 22.04 computer, 
>>> installed Solr from source, installed tomcat9 from the apt package manager, 
>>> and compiled the DSpace code for the backend. 
>>> Everything is running under a dedicated 'DSpace' system user. It went 
>>> well and I can access the backend HAL interface on localhost:8080/server. 
>>>
>>> Further, I went to install the frontend on the same machine, under the 
>>> same user (i.e., dspace), and installed node js, yarn, and everything as 
>>> mentioned in DSpace wiki, it also went well and I could see my DSpace 7 
>>> home screen for the first time. It was beautiful and I was happy, I logged 
>>> in with my administrative users, and created some communities and 
>>> collections. it is all working. BUT I CAN NOT UPLOAD ANY FILE, NOT EVEN THE 
>>> COMMUNITY LOGO's. 
>>> I am so fed up with this software, Error logs are of no help. i thought 
>>> it would be a permission issue, but my system user 'dspace' is the owner of 
>>> both dspace backend folder, and also dspace-angular, tomcat9, Solr, and 
>>> yarn both are running under 'dsapce' system user. still, I can't upload 
>>> anything. I can't figure out what I did wrong, and where I'm missing 
>>> something, and at this point, I'm too tired to re-install it again and 
>>> again (like I've been doing for the last 2 months). 
>>>
>>> Seriously!!, please help, I need to get this working.  
>>>
>>>
>>> Thank You
>>>
>>> Rupinder Singh 
>>>
>>>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/0aba2323-5690-431d-b300-ccb33cf3f15dn%40googlegroups.com.


[dspace-tech] Re: File upload error on Dspace 7.4

2022-11-30 Thread Mohammad S. AlMutairi
Never mind: You need to find the tomcat systemd unit file (tomcat9.service) 
if you install the default Ubuntu tomcat package and make sure tomcat user 
you see in the unit file has write permission over the DSpace folder and 
need to tell tomcat it can write into DSpace folder as you see it highlted 
in red.

[Service]

# Configuration
Environment="CATALINA_HOME=/usr/share/tomcat9"
Environment="CATALINA_BASE=/var/lib/tomcat9"
Environment="CATALINA_TMPDIR=/tmp"
Environment="JAVA_OPTS=-Djava.awt.headless=true -Dfile.encoding=UTF-8"

# Lifecycle
Type=simple
ExecStartPre=+/usr/libexec/tomcat9/tomcat-update-policy.sh
ExecStart=/bin/sh /usr/libexec/tomcat9/tomcat-start.sh
SuccessExitStatus=143
Restart=on-abort

# Logging
SyslogIdentifier=tomcat9

# Security
*User=tomcat*
Group=tomcat
PrivateTmp=yes
AmbientCapabilities=CAP_NET_BIND_SERVICE
NoNewPrivileges=true
CacheDirectory=tomcat9
CacheDirectoryMode=750
ProtectSystem=strict
ReadWritePaths=/etc/tomcat9/Catalina/
ReadWritePaths=/var/lib/tomcat9/webapps/
ReadWritePaths=/var/log/tomcat9/
*ReadWritePaths=/opt/dspace*

[Install]
WantedBy=multi-user.target

On Wednesday, November 30, 2022 at 3:06:23 PM UTC+3 Mohammad S. AlMutairi 
wrote:

> Which Operating System are you using?
>
> On Wednesday, November 30, 2022 at 2:47:53 PM UTC+3 jesse...@gmail.com 
> wrote:
>
>> Hi, 
>> I am struggling to get this software to work for the last 2 months, and 
>> still no success. 
>> I did the Dspace 7.4 backend installation on my Ubuntu 22.04 computer, 
>> installed Solr from source, installed tomcat9 from the apt package manager, 
>> and compiled the DSpace code for the backend. 
>> Everything is running under a dedicated 'DSpace' system user. It went 
>> well and I can access the backend HAL interface on localhost:8080/server. 
>>
>> Further, I went to install the frontend on the same machine, under the 
>> same user (i.e., dspace), and installed node js, yarn, and everything as 
>> mentioned in DSpace wiki, it also went well and I could see my DSpace 7 
>> home screen for the first time. It was beautiful and I was happy, I logged 
>> in with my administrative users, and created some communities and 
>> collections. it is all working. BUT I CAN NOT UPLOAD ANY FILE, NOT EVEN THE 
>> COMMUNITY LOGO's. 
>> I am so fed up with this software, Error logs are of no help. i thought 
>> it would be a permission issue, but my system user 'dspace' is the owner of 
>> both dspace backend folder, and also dspace-angular, tomcat9, Solr, and 
>> yarn both are running under 'dsapce' system user. still, I can't upload 
>> anything. I can't figure out what I did wrong, and where I'm missing 
>> something, and at this point, I'm too tired to re-install it again and 
>> again (like I've been doing for the last 2 months). 
>>
>> Seriously!!, please help, I need to get this working.  
>>
>>
>> Thank You
>>
>> Rupinder Singh 
>>
>>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/fcfcb4fb-262a-4bc3-95c0-ffeafb8f5334n%40googlegroups.com.


[dspace-tech] Re: File upload error on Dspace 7.4

2022-11-30 Thread Mohammad S. AlMutairi
Which Operating System are you using?

On Wednesday, November 30, 2022 at 2:47:53 PM UTC+3 jesse...@gmail.com 
wrote:

> Hi, 
> I am struggling to get this software to work for the last 2 months, and 
> still no success. 
> I did the Dspace 7.4 backend installation on my Ubuntu 22.04 computer, 
> installed Solr from source, installed tomcat9 from the apt package manager, 
> and compiled the DSpace code for the backend. 
> Everything is running under a dedicated 'DSpace' system user. It went well 
> and I can access the backend HAL interface on localhost:8080/server. 
>
> Further, I went to install the frontend on the same machine, under the 
> same user (i.e., dspace), and installed node js, yarn, and everything as 
> mentioned in DSpace wiki, it also went well and I could see my DSpace 7 
> home screen for the first time. It was beautiful and I was happy, I logged 
> in with my administrative users, and created some communities and 
> collections. it is all working. BUT I CAN NOT UPLOAD ANY FILE, NOT EVEN THE 
> COMMUNITY LOGO's. 
> I am so fed up with this software, Error logs are of no help. i thought it 
> would be a permission issue, but my system user 'dspace' is the owner of 
> both dspace backend folder, and also dspace-angular, tomcat9, Solr, and 
> yarn both are running under 'dsapce' system user. still, I can't upload 
> anything. I can't figure out what I did wrong, and where I'm missing 
> something, and at this point, I'm too tired to re-install it again and 
> again (like I've been doing for the last 2 months). 
>
> Seriously!!, please help, I need to get this working.  
>
>
> Thank You
>
> Rupinder Singh 
>
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/96d3e670-6a92-47c5-89c7-b0a813f5ffc7n%40googlegroups.com.