Hi Jaya,

If your installation of frontend and backend is successful and up and 
running, then congratulations! I think there's a bug in DSpace 7.0. If you 
try at the demo frontend: https://demo7.dspace.org/home, you cannot upload 
a bitstream in an item. You can however upload during the submission but 
not when the item was already archived. I hope this will get fixed soon. My 
workaround for this is by importing via the command line and using the -r 
flag and make sure you have your intended bitstream included not only in 
the directory but also listed in the contents file. But this method is 
really for batch importing and would be cumbersome and inconvenient if you 
only want to upload a single file.

euler
On Saturday, August 14, 2021 at 4:12:09 PM UTC+8 [email protected] wrote:

> Dear Euler and Tim,
> Thanks for your quick response.
> I have installed Dspace 7 Now. But unfortunately when try to upload PDF or 
> any files into the page that indicated "upload error".
> Please guide me if I missed anything during the installation.
>
> Thanks in advance
> jaya
>
> On Friday, 13 August 2021 at 00:48:24 UTC+5:30 Tim Donohue wrote:
>
>> Hi Jaya,
>>
>> I googled that error, and it seems that a "exit code 137" from yarn means 
>> that you ran out of memory (and/or swap space).  See for example: 
>> https://jcutrer.com/javascript/yarn-build-exit-code-137
>>
>> I *think*​ you are going to need at least 2GB of memory to build the 
>> app.  If somehow that doesn't work, you could try 3 or 4, but I think 2GB 
>> should be enough.
>>
>> You should also verify you are running Node v12 or v14 (which is what we 
>> recommend for the UI). Older versions of Node (like v10 or below) might 
>> work, but they don't do a good job of managing memory...so you are much 
>> more likely to hit memory issues.
>>
>> Tim
>>
>>
>> ------------------------------
>> *From:* [email protected] <[email protected]> on behalf 
>> of Mariyapillai Jayakananthan <[email protected]>
>> *Sent:* Thursday, August 12, 2021 11:56 AM
>> *To:* euler <[email protected]>
>> *Cc:* DSpace Technical Support <[email protected]>
>> *Subject:* Re: [dspace-tech] Re: Dsapce 7 error on yarn start 
>>  
>> Dear Euler,
>> I have done the setting and run again the YARN START.
>> Still the following error occurred. 
>>
>> root@debian:/opt/dspace-7-angular# yarn start
>> yarn run v1.22.5
>> $ yarn run start:prod
>> $ yarn run build:prod && yarn run serve:ssr
>> $ yarn run config:prod
>> $ ts-node --project ./tsconfig.ts-node.json scripts/set-env.ts --prod
>> Building production environment
>> Angular environment.ts file generated correctly at 
>> ./src/environments/environment.ts 
>>
>> $ yarn run build:ssr
>> $ yarn run build:client-and-server-bundles && yarn run compile:server
>> $ ng build --prod && ng run dspace-angular:server:production 
>> --bundleDependencies true
>> 69% building 658/660 modules 2 active 
>> ...der.js??ref--7-0!/opt/dspace-7-angular/node_modules/rxjs/_esm2015/internal/symbol/iterator.jsKilled
>> error Command failed with exit code 137.
>> info Visit https://yarnpkg.com/en/docs/cli/run for documentation about 
>> this command.
>> error Command failed with exit code 137.
>> info Visit https://yarnpkg.com/en/docs/cli/run for documentation about 
>> this command.
>> error Command failed with exit code 137.
>> info Visit https://yarnpkg.com/en/docs/cli/run for documentation about 
>> this command.
>> error Command failed with exit code 137.
>> info Visit https://yarnpkg.com/en/docs/cli/run for documentation about 
>> this command.
>> error Command failed with exit code 137.
>> info Visit https://yarnpkg.com/en/docs/cli/run for documentation about 
>> this command.
>>
>> Please help me sort out the errors.
>>
>>
>> Thanks
>>
>> Jaya
>>
>>
>> M. Jayakananthan (BSc, MSc) 
>> Systems Analyst cum Programmer
>> Eastern University, Sri Lanka
>> E-mail: [email protected] , [email protected]
>>
>> Tel:  +94 65 2240213 
>> Mob: +94 773457556 <+94%2077%20345%207556>
>>
>>
>>
>> On Thu, 12 Aug 2021 at 09:14, euler <[email protected]> wrote:
>>
>> Hi Jaya, 
>>
>> Did you create a file named environment.prod.ts in your 
>> [dspace-angular]/src/environments/ directory?
>>
>> Please see step number 4 in the Frontend installation portion.
>>
>> *Create a Production Configuration file at 
>> [dspace-angular]/src/environments/environment.prod.ts. You may wish to use 
>> the environment.template.ts as a starting point. This environment.prod.ts 
>> file can be used to override any of the default configurations specified in 
>> the environment.common.ts (in that same directory).  At a minimum this file 
>> MUST include the "ui" and "rest" sections similar to the following (keep in 
>> mind, you only need to include settings that you need to modify)*
>>
>> Regards,
>> euler
>> On Thursday, August 12, 2021 at 11:36:26 AM UTC+8 [email protected] wrote:
>>
>> Dear All,
>> I am struggling while I am install Dspace 7. When I tried to install 
>> front-end faced following error. 
>>
>> yarn run v1.22.5
>> $ yarn run build:prod && yarn run serve:ssr
>> $ yarn run config:prod
>> $ ts-node --project ./tsconfig.ts-node.json scripts/set-env.ts --prod
>> Building production environment
>> No specific environment file found for --prod
>> Angular environment.ts file generated correctly at 
>> ./src/environments/environment.ts 
>> $ yarn run build:ssr
>> $ yarn run build:client-and-server-bundles && yarn run compile:server
>> $ ng build --prod && ng run dspace-angular:server:production 
>> --bundleDependencies true
>> 69% building 650/655 modules 5 active 
>> ...?ref--7-0!/opt/dspace-7/dspace-7-angular/node_modules/@ng-dynamic-forms/core/fesm2015/core.jsKilled
>> error Command failed with exit code 137.
>> info Visit https://yarnpkg.com/en/docs/cli/run for documentation about 
>> this command.
>> error Command failed with exit code 137.
>> info Visit https://yarnpkg.com/en/docs/cli/run for documentation about 
>> this command.
>> error Command failed with exit code 137.
>> info Visit https://yarnpkg.com/en/docs/cli/run for documentation about 
>> this command.
>> error Command failed with exit code 137.
>>
>> Please guide to resolve..
>> Many thanks in advance.
>>
>> Regards
>> Jaya
>>
>> -- 
>> 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 [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/dspace-tech/62837030-7d6d-4211-86dd-945ed3c08e11n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/dspace-tech/62837030-7d6d-4211-86dd-945ed3c08e11n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> -- 
>> 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 [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/dspace-tech/CAL7_yd6CTG6WvBZX8Tzg9%2BQ2nG3-CeY2_LJM%3DOQX16AC98WzBw%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/dspace-tech/CAL7_yd6CTG6WvBZX8Tzg9%2BQ2nG3-CeY2_LJM%3DOQX16AC98WzBw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/e24d9d1f-9d7c-4d2b-9986-9c388b8f219dn%40googlegroups.com.

Reply via email to