# Courses disappeared from Studio

**URL:** <https://discuss.openedx.org/t/courses-disappeared-from-studio/4603>\
**Category:** Site Operations Help\
**Tags:** juniper\
**Created:** [March 25, 2021, 2:05pm UTC](https://discuss.openedx.org/t/courses-disappeared-from-studio/4603 "2021-03-25T14:05:37Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohan.krishna](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/mohan.krishna/32/2190_2.png) [@mohan.krishna](https://discuss.openedx.org/u/mohan.krishna)\
**Post date:** [March 25, 2021, 2:05pm UTC](https://discuss.openedx.org/t/courses-disappeared-from-studio/4603/1 "2021-03-25T14:05:37Z")

</div>

Hello Team!

The courses got disappeared from the studio, when lms update\_assets command is performed on the Juniper.master instance.

Command performed:  
paver update\_assets lms --settings=production

Log information:  
Can’t find any error logs when accessing the studio.

Please help.

Thanks,  
Mohan.

---

<div class="post-metadata">

**Author:** ![Natnael](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/natnael/32/4433_2.png) [@Natnael](https://discuss.openedx.org/u/Natnael)\
**Post date:** [March 29, 2021, 6:19am UTC](https://discuss.openedx.org/t/courses-disappeared-from-studio/4603/2 "2021-03-29T06:19:19Z")

</div>

hey @mohan.krishna , I think you can get the soulution here. [Solution](https://discuss.openedx.org/t/creating-texts-in-studio/3545)

---

<div class="post-metadata">

**Author:** ![itsjeyd](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/itsjeyd/32/214_2.png) [@itsjeyd](https://discuss.openedx.org/u/itsjeyd)\
**Post date:** [March 29, 2021, 12:58pm UTC](https://discuss.openedx.org/t/courses-disappeared-from-studio/4603/3 "2021-03-29T12:58:15Z")

</div>

Hi @mohan.krishna!

Is your Open edX installation running on a single server or multiple ones? I’m asking because what you’re describing sounds similar to an issue that we ran into with multi-server setups.

It was fixed for `master` via [this PR](https://github.com/edx/edx-platform/pull/24990). There’s a [corresponding PR](https://github.com/edx/edx-platform/pull/24972) for `juniper.master`, but it looks like the changes [ultimately didn’t make it](https://github.com/edx/edx-platform/pull/24972#issuecomment-692790029) into Juniper.

---

<div class="post-metadata">

**Author:** ![mohan.krishna](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/mohan.krishna/32/2190_2.png) [@mohan.krishna](https://discuss.openedx.org/u/mohan.krishna)\
**Post date:** [March 29, 2021, 2:49pm UTC](https://discuss.openedx.org/t/courses-disappeared-from-studio/4603/4 "2021-03-29T14:49:19Z")

</div>

Hey @Natnael !

Thanks for your help. I could able to get the courses after replacing the missing js files. Initially, I have found two js files are missing and are interlinked. Can you please give some idea regarding the below files?

```
    bundles/commons.2282a5c1d9092334125d.224843fc7059.js
    bundles/commons.2282a5c1d9092334125d.js

```

Further inspecting more, I had found that plenty of files got generated during LMS assets update and getting 404 errors for all such files on studio. Kept all the generated js files in the attachment. [JS Files missing.txt](https://discuss.openedx.org/uploads/short-url/f7hzW8HPs8qWj8nTnd1cdPjb87Z.txt) (28.6 KB)

Thanks!

---

<div class="post-metadata">

**Author:** ![mohan.krishna](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/mohan.krishna/32/2190_2.png) [@mohan.krishna](https://discuss.openedx.org/u/mohan.krishna)\
**Post date:** [March 29, 2021, 2:49pm UTC](https://discuss.openedx.org/t/courses-disappeared-from-studio/4603/5 "2021-03-29T14:49:45Z")

</div>

Thanks @itsjeyd for your help.

---

<div class="post-metadata">

**Author:** ![Natnael](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/natnael/32/4433_2.png) [@Natnael](https://discuss.openedx.org/u/Natnael)\
**Post date:** [March 30, 2021, 6:17am UTC](https://discuss.openedx.org/t/courses-disappeared-from-studio/4603/6 "2021-03-30T06:17:14Z")

</div>

Have you tried updating studio assets… You can do by running the following commands.  
`sudo -H -u edxapp bash`  
` source /edx/app/edxapp/edxapp_env`  
c`d /edx/app/edxapp/edx-platform`  
`paver update_assets cms --settings=production`

---

<div class="post-metadata">

**Author:** ![mohan.krishna](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/mohan.krishna/32/2190_2.png) [@mohan.krishna](https://discuss.openedx.org/u/mohan.krishna)\
**Post date:** [March 30, 2021, 6:28am UTC](https://discuss.openedx.org/t/courses-disappeared-from-studio/4603/7 "2021-03-30T06:28:18Z")

</div>

Hello @Natnael !

I have followed the below scenarios:  
**CASE 1:**  
sudo -H -u edxapp bash  
source /edx/app/edxapp/edxapp\_env  
cd /edx/app/edxapp/edx-platform  
paver update\_assets cms --settings=production  
paver update\_assets lms --settings=production

**CASE 2:**  
sudo -H -u edxapp bash  
source /edx/app/edxapp/edxapp\_env  
cd /edx/app/edxapp/edx-platform  
paver update\_assets cms --settings=production

sudo -H -u edxapp bash  
source /edx/app/edxapp/edxapp\_env  
cd /edx/app/edxapp/edx-platform  
paver update\_assets lms --settings=production

In both the cases, the courses are getting disappeared and we can see the courses by placing the missing js files.

Thanks.

---

<div class="post-metadata">

**Author:** ![mohan.krishna](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/mohan.krishna/32/2190_2.png) [@mohan.krishna](https://discuss.openedx.org/u/mohan.krishna)\
**Post date:** [March 30, 2021, 6:30am UTC](https://discuss.openedx.org/t/courses-disappeared-from-studio/4603/8 "2021-03-30T06:30:35Z")

</div>

@Natnael ,

I would like to add further here. When I have only updated the CMS assets, I can see some js files are missing in LMS.

Commands to updates CMS assets:  
sudo -H -u edxapp bash  
source /edx/app/edxapp/edxapp\_env  
cd /edx/app/edxapp/edx-platform  
paver update\_assets cms --settings=production

Please help.

Thanks.

---

<div class="post-metadata">

**Author:** ![Natnael](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/natnael/32/4433_2.png) [@Natnael](https://discuss.openedx.org/u/Natnael)\
**Post date:** [March 30, 2021, 6:57am UTC](https://discuss.openedx.org/t/courses-disappeared-from-studio/4603/9 "2021-03-30T06:57:37Z")

</div>

Hello @mohan.krishna , It’s right, Everytime you update your assets, You have to copy the missing files in order to see the courses. ( This is a thing I’ve not found a perferct solution yet).  
But After copying the missing files I’ve not encountered a problem.

---

<div class="post-metadata">

**Author:** ![Natnael](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/natnael/32/4433_2.png) [@Natnael](https://discuss.openedx.org/u/Natnael)\
**Post date:** [March 30, 2021, 6:58am UTC](https://discuss.openedx.org/t/courses-disappeared-from-studio/4603/10 "2021-03-30T06:58:49Z")

</div>

Case 1 shoud be doing good, in order not to repeat the commands
