Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Nextcloud
  3. Unable to access Files

Unable to access Files

Scheduled Pinned Locked Moved Nextcloud
nextcloud
22 Posts 5 Posters 3.2k Views 6 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • robiR Offline
      robiR Offline
      robi
      wrote on last edited by
      #8

      There was a message to run the ocs command as the webserver user www-data.

      Trying that in terminal as root gives:

      su www-data
      This account is currently not available.
      

      Yet all user files exist under that www-data user.

      Conscious tech

      nebulonN 1 Reply Last reply
      0
      • robiR robi

        There was a message to run the ocs command as the webserver user www-data.

        Trying that in terminal as root gives:

        su www-data
        This account is currently not available.
        

        Yet all user files exist under that www-data user.

        nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #9

        @robi in Cloudron to rescan files, use the command mentioned at https://docs.cloudron.io/apps/nextcloud/#rescan-files

        robiR 1 Reply Last reply
        0
        • nebulonN nebulon

          @robi in Cloudron to rescan files, use the command mentioned at https://docs.cloudron.io/apps/nextcloud/#rescan-files

          robiR Offline
          robiR Offline
          robi
          wrote on last edited by
          #10

          @nebulon Thanks, but it made no difference. Scan results are the same.
          All files are there, the Files app simply errors, and I don't see where it logs the error.
          Doesn't appear to be in /app/data

          Conscious tech

          1 Reply Last reply
          0
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #11

            Just looking into @robi 's server now. First, I enabled debug in /app/data/config/config.php by setting debug to true and loglevel to 0.

            I got this trace:

            Request ID: PZfRfXQbPbQt3cjl91L8
            Type: ScssPhp\ScssPhp\Exception\CompilerException
            Code: 0
            Message: `../../../core/css/whatsnew.scss` file not found for @import: /app/data/apps/files/css/merged.scss on line 5, at column 1 Call Stack: #0 import /app/data/apps/files/css/merged.scss (unknown file) on line 1
            File: /app/code/3rdparty/scssphp/scssphp/src/Compiler.php
            Line: 5602
            
            #0 /app/code/3rdparty/scssphp/scssphp/src/Compiler.php(5377): ScssPhp\ScssPhp\Compiler->error()
            #1 /app/code/3rdparty/scssphp/scssphp/src/Compiler.php(2475): ScssPhp\ScssPhp\Compiler->findImport()
            #2 /app/code/3rdparty/scssphp/scssphp/src/Compiler.php(2688): ScssPhp\ScssPhp\Compiler->compileImport()
            #3 /app/code/3rdparty/scssphp/scssphp/src/Compiler.php(2154): ScssPhp\ScssPhp\Compiler->compileChild()
            #4 /app/code/3rdparty/scssphp/scssphp/src/Compiler.php(5306): ScssPhp\ScssPhp\Compiler->compileChildrenNoReturn()
            #5 /app/code/3rdparty/scssphp/scssphp/src/Compiler.php(2477): ScssPhp\ScssPhp\Compiler->importFile()
            #6 /app/code/3rdparty/scssphp/scssphp/src/Compiler.php(2688): ScssPhp\ScssPhp\Compiler->compileImport()
            #7 /app/code/3rdparty/scssphp/scssphp/src/Compiler.php(2154): ScssPhp\ScssPhp\Compiler->compileChild()
            #8 /app/code/3rdparty/scssphp/scssphp/src/Compiler.php(570): ScssPhp\ScssPhp\Compiler->compileChildrenNoReturn()
            #9 /app/code/3rdparty/scssphp/scssphp/src/Compiler.php(401): ScssPhp\ScssPhp\Compiler->compileRoot()
            #10 /app/code/lib/private/Template/SCSSCacher.php(343): ScssPhp\ScssPhp\Compiler->compile()
            #11 /app/code/lib/private/Template/SCSSCacher.php(189): OC\Template\SCSSCacher->cache()
            #12 /app/code/lib/private/Template/CSSResourceLocator.php(111): OC\Template\SCSSCacher->process()
            #13 /app/code/lib/private/Template/CSSResourceLocator.php(86): OC\Template\CSSResourceLocator->cacheAndAppendScssIfExist()
            #14 /app/code/lib/private/Template/ResourceLocator.php(79): OC\Template\CSSResourceLocator->doFind()
            #15 /app/code/lib/private/TemplateLayout.php(330): OC\Template\ResourceLocator->find()
            #16 /app/code/lib/private/TemplateLayout.php(238): OC\TemplateLayout::findStylesheetFiles()
            #17 /app/code/lib/private/legacy/OC_Template.php(183): OC\TemplateLayout->__construct()
            #18 /app/code/lib/public/AppFramework/Http/TemplateResponse.php(210): OC_Template->fetchPage()
            #19 /app/code/lib/private/AppFramework/Http/Dispatcher.php(172): OCP\AppFramework\Http\TemplateResponse->render()
            #20 /app/code/lib/private/AppFramework/App.php(157): OC\AppFramework\Http\Dispatcher->dispatch()
            #21 /app/code/lib/private/Route/Router.php(302): OC\AppFramework\App::main()
            #22 /app/code/lib/base.php(993): OC\Route\Router->match()
            #23 /app/code/index.php(37): OC::handleRequest()
            #24 {main}
            

            Looks like whatsnew.scss is missing . I checked a couple of other nextcloud installs and that file isn't there either. This led me to this https://bbs.archlinux.org/viewtopic.php?id=263820&p=5 about several other broken nextclouds...

            1 Reply Last reply
            0
            • robiR robi

              @girish just defaults.

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #12

              @robi said in Unable to access Files:

              @girish just defaults.

              There seems to be quite of a few of them installed. Atleast, 15 more than the standard one.

              1 Reply Last reply
              0
              • girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #13

                @robi I have temporarily fixed the problem by commenting out a line in /app/code/apps/files/css/merged.css . I think we will have to ask the upstream nextcloud to ask what the issue is. I suspect the issue is from some plugin you have to disable them one by one to know what is causing the problem.

                1 Reply Last reply
                1
                • girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #14

                  So strange, all the installs look the same and yet yours errors. I can't figure what it is, I have to try again with fresh pair of eyes later.

                  robiR 1 Reply Last reply
                  1
                  • girishG girish

                    So strange, all the installs look the same and yet yours errors. I can't figure what it is, I have to try again with fresh pair of eyes later.

                    robiR Offline
                    robiR Offline
                    robi
                    wrote on last edited by
                    #15

                    @girish Thank you a whole bunch.

                    It does look like someone had fun installing some NC Apps, and after I found where those were, a few needed updates.. most are featured and come with NC, and the others look disabled as they are untested, so they have the button to enable them. I left them that way.

                    One had an error upgrading so I removed it.

                    Conscious tech

                    1 Reply Last reply
                    1
                    • robiR Offline
                      robiR Offline
                      robi
                      wrote on last edited by
                      #16

                      Internal Server Error came back, so went to disable all plugins and it didn't help.

                      After trying all the lines in the merged.css file this one seems to be the culprit which was uncommented as below.

                      /* @import '../../../core/css/whatsnew.scss'; */
                      

                      Conscious tech

                      1 Reply Last reply
                      1
                      • robiR Offline
                        robiR Offline
                        robi
                        wrote on last edited by
                        #17

                        @girish perhaps that relative path is part of the problem, and needs to be absolute?

                        Conscious tech

                        girishG 1 Reply Last reply
                        0
                        • robiR robi

                          @girish perhaps that relative path is part of the problem, and needs to be absolute?

                          girishG Offline
                          girishG Offline
                          girish
                          Staff
                          wrote on last edited by
                          #18

                          @robi right, I don't quite understand why it works fine in a default install with relative paths though (it's relative in all the nextclouds I have access to as well). So, there is something different in your install, not sure what.

                          robiR 1 Reply Last reply
                          0
                          • girishG girish

                            @robi right, I don't quite understand why it works fine in a default install with relative paths though (it's relative in all the nextclouds I have access to as well). So, there is something different in your install, not sure what.

                            robiR Offline
                            robiR Offline
                            robi
                            wrote on last edited by
                            #19

                            @girish you're welcome to login again, i'll keep the access credentials the same until resolved.

                            it'll happen again when the server restarts ;-/

                            Conscious tech

                            girishG 1 Reply Last reply
                            1
                            • robiR robi

                              @girish you're welcome to login again, i'll keep the access credentials the same until resolved.

                              it'll happen again when the server restarts ;-/

                              girishG Offline
                              girishG Offline
                              girish
                              Staff
                              wrote on last edited by
                              #20

                              @robi OK, thanks, will get to it at some point this week.

                              1 Reply Last reply
                              1
                              • robiR Offline
                                robiR Offline
                                robi
                                wrote on last edited by robi
                                #21

                                After the 3rd time of my client rebooting the server this week, I decided to try my hunch.

                                Looks like I was right @girish ; this fixes the issue.

                                @import '/app/code/core/css/whatsnew.scss';
                                

                                Please do the needful 🙂

                                Conscious tech

                                girishG 1 Reply Last reply
                                0
                                • robiR robi

                                  After the 3rd time of my client rebooting the server this week, I decided to try my hunch.

                                  Looks like I was right @girish ; this fixes the issue.

                                  @import '/app/code/core/css/whatsnew.scss';
                                  

                                  Please do the needful 🙂

                                  girishG Offline
                                  girishG Offline
                                  girish
                                  Staff
                                  wrote on last edited by
                                  #22

                                  @robi Looks like non-cloudron users hit the same issue - https://github.com/nextcloud/server/issues/13556#issuecomment-848314122

                                  1 Reply Last reply
                                  1
                                  Reply
                                  • Reply as topic
                                  Log in to reply
                                  • Oldest to Newest
                                  • Newest to Oldest
                                  • Most Votes


                                    • Login

                                    • Don't have an account? Register

                                    • Login or register to search.
                                    • First post
                                      Last post
                                    0
                                    • Categories
                                    • Recent
                                    • Tags
                                    • Popular
                                    • Bookmarks
                                    • Search