Error with yarn gulp rev command

184 views
Skip to first unread message

Camila Brito Silveira Miranda

unread,
Aug 27, 2024, 3:39:50 PM8/27/24
to Canvas LMS Users
When using the yarn gulp rev command, this error occurred, how do I resolve it?

yarn run v1.22.22

$ /var/canvas/node_modules/.bin/gulp rev

[19:13:33] Using gulpfile /var/canvas/gulpfile.js

[19:13:33] Starting 'rev'...

[19:13:33] Finished 'rev' after 99 ms

node:events:495

      throw er; // Unhandled 'error' event

      ^


<ref *2> Error: Writable stream closed prematurely

    at Pipeline.done (/var/canvas/node_modules/streamx/index.js:451:43)

    at WritableState.afterDestroy (/var/canvas/node_modules/streamx/index.js:511:43)

    at Composer._destroy (/var/canvas/node_modules/streamx/index.js:636:5)

    at WritableState.updateNonPrimary (/var/canvas/node_modules/streamx/index.js:208:16)

    at WritableState.update (/var/canvas/node_modules/streamx/index.js:190:72)

    at WritableState.afterFinal (/var/canvas/node_modules/streamx/index.js:492:58)

    at Composer._continueFinal (/var/canvas/node_modules/stream-composer/index.js:148:5)

    at Composer._decrementPipeline (/var/canvas/node_modules/stream-composer/index.js:131:45)

    at Composer.emit (node:events:529:35)

    at Composer.emit (node:domain:552:15)

Emitted 'error' event on Domain instance at:

    at Composer.emit (node:domain:540:12)

    at Composer.onerror (/var/canvas/node_modules/readable-stream/lib/_stream_readable.js:640:52)

    at Composer.emit (node:events:517:28)

    at Composer.emit (node:domain:489:12)

    at WritableState.afterDestroy (/var/canvas/node_modules/streamx/index.js:500:19)

    at Composer._destroy (/var/canvas/node_modules/streamx/index.js:636:5)

    at WritableState.updateNonPrimary (/var/canvas/node_modules/streamx/index.js:208:16)

    at WritableState.update (/var/canvas/node_modules/streamx/index.js:190:72)

    at WritableState.updateWriteNT (/var/canvas/node_modules/streamx/index.js:550:10)

    at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {

  domainEmitter: <ref *1> Composer {

    _events: [Object: null prototype] {

      newListener: [ [Function: newListener], [Function: removeSink] ],

      removeListener: [Function: removeSink],

      piping: [Function: markSink]

    },

    _eventsCount: 3,

    _maxListeners: undefined,

    _duplexState: 17760788,

    _readableState: ReadableState {

      stream: [Circular *1],

      queue: FastFIFO {

        hwm: 16,

        head: FixedFIFO {

          buffer: [ <16 empty items> ],

          mask: 15,

          top: 0,

          btm: 0,

          next: null

        },

        tail: FixedFIFO {

          buffer: [ <16 empty items> ],

          mask: 15,

          top: 0,

          btm: 0,

          next: null

        },

        length: 0

      },

      highWaterMark: 0,

      buffered: 0,

      readAhead: true,

      error: [Circular *2],

      pipeline: Pipeline {

        from: [Circular *1],

        to: null,

        afterPipe: null,

        error: null,

        pipeToFinished: true

      },

      byteLength: [Function: defaultByteLength],

      map: null,

      pipeTo: <ref *3> Composer {

        _events: [Object: null prototype] {

          newListener: [ [Function: newListener], [Function: removeSink] ],

          removeListener: [Function: removeSink],

          piping: [Function: markSink],

          finish: [

            [Function: bound finished],

            [Function: bound finished],

            [Function: onfinish]

          ],

          drain: [

            [Function: bound afterDrain],

            [Function: bound afterDrain]

          ],

          end: [ [Function: onend], [Function: bound _decrementPipeline] ],

          error: [Function: onerror],

          close: [Function: onclose]

        },

        _eventsCount: 8,

        _maxListeners: undefined,

        _duplexState: 25575964,

        _readableState: ReadableState {

          stream: [Circular *3],

          queue: FastFIFO {

            hwm: 16,

            head: [FixedFIFO],

            tail: [FixedFIFO],

            length: 0

          },

          highWaterMark: 0,

          buffered: 0,

          readAhead: true,

          error: null,

          pipeline: Pipeline {

            from: null,

            to: [Sink],

            afterPipe: null,

            error: null,

            pipeToFinished: false

          },

          byteLength: [Function: defaultByteLength],

          map: null,

          pipeTo: Sink {

            _writableState: [WritableState],

            _events: [Object: null prototype],

            _eventsCount: 4,

            _maxListeners: undefined,

            [Symbol(kCapture)]: false

          },

          afterRead: [Function: bound afterRead],

          afterUpdateNextTick: [Function: bound updateReadNT]

        },

        _writableState: WritableState {

          stream: [Circular *3],

          queue: FastFIFO {

            hwm: 16,

            head: [FixedFIFO],

            tail: [FixedFIFO],

            length: 0

          },

          highWaterMark: 16384,

          buffered: 0,

          error: null,

          pipeline: Pipeline {

            from: [Circular *1],

            to: null,

            afterPipe: null,

            error: null,

            pipeToFinished: true

          },

          drains: null,

          byteLength: [Function: defaultByteLength],

          map: null,

          afterWrite: [Function: bound afterWrite],

          afterUpdateNextTick: [Function: bound updateWriteNT]

        },

        _writable: <ref *4> Transform {

          _events: [Object: null prototype] {

            newListener: [Function: newListener],

            drain: [Function: bound _continueWrite],

            finish: [Function: bound _maybeFinal],

            error: [Array]

          },

          _eventsCount: 4,

          _maxListeners: undefined,

          _duplexState: 25575964,

          _readableState: ReadableState {

            stream: [Circular *4],

            queue: [FastFIFO],

            highWaterMark: 0,

            buffered: 0,

            readAhead: true,

            error: null,

            pipeline: [Pipeline],

            byteLength: [Function: defaultByteLength],

            map: null,

            pipeTo: [Transform],

            afterRead: [Function: bound afterRead],

            afterUpdateNextTick: [Function: bound updateReadNT]

          },

          _writableState: WritableState {

            stream: [Circular *4],

            queue: [FastFIFO],

            highWaterMark: 16384,

            buffered: 0,

            error: null,

            pipeline: null,

            drains: null,

            byteLength: [Function: defaultByteLength],

            map: null,

            afterWrite: [Function: bound afterWrite],

            afterUpdateNextTick: [Function: bound updateWriteNT]

          },

          _transformState: TransformState {

            data: null,

            afterTransform: [Function: bound afterTransform],

            afterFinal: [Function: bound afterFinal]

          },

          _transform: [Function: normalize],

          [Symbol(kCapture)]: false

        },

        _readable: <ref *5> Transform {

          _events: [Object: null prototype] {

            newListener: [Function: newListener],

            data: [Function: bound _pushData],

            end: [Function: bound _pushEnd],

            error: [Array],

            close: [Function (anonymous)],

            finish: [Array],

            drain: [Function: bound afterDrain]

          },

          _eventsCount: 7,

          _maxListeners: undefined,

          _duplexState: 25577756,

          _readableState: ReadableState {

            stream: [Circular *5],

            queue: [FastFIFO],

            highWaterMark: 0,

            buffered: 0,

            readAhead: true,

            error: null,

            pipeline: null,

            byteLength: [Function: defaultByteLength],

            map: null,

            pipeTo: null,

            afterRead: [Function: bound afterRead],

            afterUpdateNextTick: [Function: bound updateReadNT]

          },

          _writableState: WritableState {

            stream: [Circular *5],

            queue: [FastFIFO],

            highWaterMark: 16384,

            buffered: 0,

            error: null,

            pipeline: [Pipeline],

            drains: null,

            byteLength: [Function: defaultByteLength],

            map: null,

            afterWrite: [Function: bound afterWrite],

            afterUpdateNextTick: [Function: bound updateWriteNT]

          },

          _transformState: TransformState {

            data: null,

            afterTransform: [Function: bound afterTransform],

            afterFinal: [Function: bound afterFinal]

          },

          _transform: [Function: writeFile],

          [Symbol(kCapture)]: false

        },

        _isPipeline: true,

        _pipelineMissing: 0,

        _writeCallback: null,

        _finalCallback: null,

        _ondata: [Function: bound _pushData],

        _onend: [Function: bound _pushEnd],

        _ondrain: [Function: bound _continueWrite],

        _onfinish: [Function: bound _maybeFinal],

        _onerror: [Function: bound destroy],

        _onclose: [Function: bound destroy],

        [Symbol(kCapture)]: false

      },

      afterRead: [Function: bound afterRead],

      afterUpdateNextTick: [Function: bound updateReadNT]

    },

    _writableState: WritableState {

      stream: [Circular *1],

      queue: FastFIFO {

        hwm: 16,

        head: FixedFIFO {

          buffer: [ <16 empty items> ],

          mask: 15,

          top: 0,

          btm: 0,

          next: null

        },

        tail: FixedFIFO {

          buffer: [ <16 empty items> ],

          mask: 15,

          top: 0,

          btm: 0,

          next: null

        },

        length: 0

      },

      highWaterMark: 0,

      buffered: 0,

      error: [Circular *2],

      pipeline: null,

      drains: null,

      byteLength: [Function: defaultByteLength],

      map: null,

      afterWrite: [Function: bound afterWrite],

      afterUpdateNextTick: [Function: bound updateWriteNT]

    },

    _writable: <ref *6> Transform {

      _events: [Object: null prototype] {

        newListener: [Function: newListener],

        drain: [Function: bound _continueWrite],

        finish: [Function: bound _maybeFinal],

        error: [ [Function: bound destroy], [Function: noop] ],

        close: [Function: bound destroy]

      },

      _eventsCount: 5,

      _maxListeners: undefined,

      _duplexState: 17236508,

      _readableState: ReadableState {

        stream: [Circular *6],

        queue: FastFIFO {

          hwm: 16,

          head: FixedFIFO {

            buffer: [Array],

            mask: 15,

            top: 0,

            btm: 0,

            next: null

          },

          tail: FixedFIFO {

            buffer: [Array],

            mask: 15,

            top: 0,

            btm: 0,

            next: null

          },

          length: 0

        },

        highWaterMark: 0,

        buffered: 0,

        readAhead: true,

        error: Error: Stream was destroyed

            at Object.<anonymous> (/var/canvas/node_modules/streamx/index.js:2:26)

            at Module._compile (node:internal/modules/cjs/loader:1364:14)

            at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)

            at Module.load (node:internal/modules/cjs/loader:1203:32)

            at Module._load (node:internal/modules/cjs/loader:1019:12)

            at Module.require (node:internal/modules/cjs/loader:1231:19)

            at require (node:internal/modules/helpers:177:18)

            at Object.<anonymous> (/var/canvas/node_modules/glob-stream/index.js:9:16)

            at Module._compile (node:internal/modules/cjs/loader:1364:14)

            at Module._extensions..js (node:internal/modules/cjs/loader:1422:10),

        pipeline: Pipeline {

          from: null,

          to: Transform {

            _events: [Object: null prototype],

            _eventsCount: 4,

            _maxListeners: undefined,

            _duplexState: 50561540,

            _readableState: [ReadableState],

            _writableState: [WritableState],

            _transformState: [TransformState],

            _transform: [Function: saveSourcemap],

            [Symbol(kCapture)]: false

          },

          afterPipe: [Function: onerror],

          error: null,

          pipeToFinished: false

        },

        byteLength: [Function: defaultByteLength],

        map: null,

        pipeTo: <ref *7> Transform {

          _events: [Object: null prototype] {

            newListener: [Function: newListener],

            error: [Array],

            finish: [Function: bound finished],

            drain: [Function: bound afterDrain]

          },

          _eventsCount: 4,

          _maxListeners: undefined,

          _duplexState: 50561540,

          _readableState: ReadableState {

            stream: [Circular *7],

            queue: [FastFIFO],

            highWaterMark: 0,

            buffered: 0,

            readAhead: true,

            error: Error: Readable stream closed before ending

                at Pipeline.done (/var/canvas/node_modules/streamx/index.js:462:41)

                at WritableState.afterDestroy (/var/canvas/node_modules/streamx/index.js:507:56)

                at Transform._destroy (/var/canvas/node_modules/streamx/index.js:636:5)

                at WritableState.updateNonPrimary (/var/canvas/node_modules/streamx/index.js:208:16)

                at WritableState.update (/var/canvas/node_modules/streamx/index.js:190:72)

                at WritableState.updateWriteNT (/var/canvas/node_modules/streamx/index.js:550:10)

                at process.processTicksAndRejections (node:internal/process/task_queues:77:11),

            pipeline: [Pipeline],

            byteLength: [Function: defaultByteLength],

            map: null,

            pipeTo: [Transform],

            afterRead: [Function: bound afterRead],

            afterUpdateNextTick: [Function: bound updateReadNT]

          },

          _writableState: WritableState {

            stream: [Circular *7],

            queue: [FastFIFO],

            highWaterMark: 0,

            buffered: 0,

            error: Error: Readable stream closed before ending

                at Pipeline.done (/var/canvas/node_modules/streamx/index.js:462:41)

                at WritableState.afterDestroy (/var/canvas/node_modules/streamx/index.js:507:56)

                at Transform._destroy (/var/canvas/node_modules/streamx/index.js:636:5)

                at WritableState.updateNonPrimary (/var/canvas/node_modules/streamx/index.js:208:16)

                at WritableState.update (/var/canvas/node_modules/streamx/index.js:190:72)

                at WritableState.updateWriteNT (/var/canvas/node_modules/streamx/index.js:550:10)

                at process.processTicksAndRejections (node:internal/process/task_queues:77:11),

            pipeline: [Pipeline],

            drains: null,

            byteLength: [Function: defaultByteLength],

            map: null,

            afterWrite: [Function: bound afterWrite],

            afterUpdateNextTick: [Function: bound updateWriteNT]

          },

          _transformState: TransformState {

            data: null,

            afterTransform: [Function: bound afterTransform],

            afterFinal: null

          },

          _transform: [Function: saveSourcemap],

          [Symbol(kCapture)]: false

        },

        afterRead: [Function: bound afterRead],

        afterUpdateNextTick: [Function: bound updateReadNT]

      },

      _writableState: WritableState {

        stream: [Circular *6],

        queue: FastFIFO {

          hwm: 16,

          head: FixedFIFO {

            buffer: [Array],

            mask: 15,

            top: 0,

            btm: 0,

            next: null

          },

          tail: FixedFIFO {

            buffer: [Array],

            mask: 15,

            top: 0,

            btm: 0,

            next: null

          },

          length: 0

        },

        highWaterMark: 0,

        buffered: 0,

        error: Error: Stream was destroyed

            at Object.<anonymous> (/var/canvas/node_modules/streamx/index.js:2:26)

            at Module._compile (node:internal/modules/cjs/loader:1364:14)

            at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)

            at Module.load (node:internal/modules/cjs/loader:1203:32)

            at Module._load (node:internal/modules/cjs/loader:1019:12)

            at Module.require (node:internal/modules/cjs/loader:1231:19)

            at require (node:internal/modules/helpers:177:18)

            at Object.<anonymous> (/var/canvas/node_modules/glob-stream/index.js:9:16)

            at Module._compile (node:internal/modules/cjs/loader:1364:14)

            at Module._extensions..js (node:internal/modules/cjs/loader:1422:10),

        pipeline: null,

        drains: null,

        byteLength: [Function: defaultByteLength],

        map: null,

        afterWrite: [Function: bound afterWrite],

        afterUpdateNextTick: [Function: bound updateWriteNT]

      },

      _transformState: TransformState {

        data: null,

        afterTransform: [Function: bound afterTransform],

        afterFinal: null

      },

      _transform: [Function: normalize],

      [Symbol(kCapture)]: false

    },

    _readable: <ref *8> Transform {

      _events: [Object: null prototype] {

        newListener: [Function: newListener],

        data: [Function: bound _pushData],

        end: [Function: bound _pushEnd],

        error: [

          [Function: bound destroy],

          [Function: noop],

          [Function (anonymous)]

        ],

        close: [ [Function: bound destroy], [Function (anonymous)] ],

        finish: [ [Function: bound finished], [Function (anonymous)] ],

        drain: [Function: bound afterDrain]

      },

      _eventsCount: 7,

      _maxListeners: undefined,

      _duplexState: 17238300,

      _readableState: ReadableState {

        stream: [Circular *8],

        queue: FastFIFO {

          hwm: 16,

          head: FixedFIFO {

            buffer: [Array],

            mask: 15,

            top: 0,

            btm: 0,

            next: null

          },

          tail: FixedFIFO {

            buffer: [Array],

            mask: 15,

            top: 0,

            btm: 0,

            next: null

          },

          length: 0

        },

        highWaterMark: 0,

        buffered: 0,

        readAhead: true,

        error: Error: Stream was destroyed

            at Object.<anonymous> (/var/canvas/node_modules/streamx/index.js:2:26)

            at Module._compile (node:internal/modules/cjs/loader:1364:14)

            at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)

            at Module.load (node:internal/modules/cjs/loader:1203:32)

            at Module._load (node:internal/modules/cjs/loader:1019:12)

            at Module.require (node:internal/modules/cjs/loader:1231:19)

            at require (node:internal/modules/helpers:177:18)

            at Object.<anonymous> (/var/canvas/node_modules/glob-stream/index.js:9:16)

            at Module._compile (node:internal/modules/cjs/loader:1364:14)

            at Module._extensions..js (node:internal/modules/cjs/loader:1422:10),

        pipeline: null,

        byteLength: [Function: defaultByteLength],

        map: null,

        pipeTo: null,

        afterRead: [Function: bound afterRead],

        afterUpdateNextTick: [Function: bound updateReadNT]

      },

      _writableState: WritableState {

        stream: [Circular *8],

        queue: FastFIFO {

          hwm: 16,

          head: FixedFIFO {

            buffer: [Array],

            mask: 15,

            top: 0,

            btm: 0,

            next: null

          },

          tail: FixedFIFO {

            buffer: [Array],

            mask: 15,

            top: 0,

            btm: 0,

            next: null

          },

          length: 0

        },

        highWaterMark: 0,

        buffered: 0,

        error: Error: Stream was destroyed

            at Object.<anonymous> (/var/canvas/node_modules/streamx/index.js:2:26)

            at Module._compile (node:internal/modules/cjs/loader:1364:14)

            at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)

            at Module.load (node:internal/modules/cjs/loader:1203:32)

            at Module._load (node:internal/modules/cjs/loader:1019:12)

            at Module.require (node:internal/modules/cjs/loader:1231:19)

            at require (node:internal/modules/helpers:177:18)

            at Object.<anonymous> (/var/canvas/node_modules/glob-stream/index.js:9:16)

            at Module._compile (node:internal/modules/cjs/loader:1364:14)

            at Module._extensions..js (node:internal/modules/cjs/loader:1422:10),

        pipeline: Pipeline {

          from: Transform {

            _events: [Object: null prototype],

            _eventsCount: 4,

            _maxListeners: undefined,

            _duplexState: 50561540,

            _readableState: [ReadableState],

            _writableState: [WritableState],

            _transformState: [TransformState],

            _transform: [Function: transform],

            [Symbol(kCapture)]: false

          },

          to: null,

          afterPipe: [Function: onerror],

          error: null,

          pipeToFinished: false

        },

        drains: null,

        byteLength: [Function: defaultByteLength],

        map: null,

        afterWrite: [Function: bound afterWrite],

        afterUpdateNextTick: [Function: bound updateWriteNT]

      },

      _transformState: TransformState {

        data: null,

        afterTransform: [Function: bound afterTransform],

        afterFinal: null

      },

      _transform: [Function: writeFile],

      [Symbol(kCapture)]: false

    },

    _isPipeline: true,

    _pipelineMissing: 2,

    _writeCallback: null,

    _finalCallback: null,

    _ondata: [Function: bound _pushData],

    _onend: [Function: bound _pushEnd],

    _ondrain: [Function: bound _continueWrite],

    _onfinish: [Function: bound _maybeFinal],

    _onerror: [Function: bound destroy],

    _onclose: [Function: bound destroy],

    [Symbol(kCapture)]: false

  },

  domainThrown: false

}


Node.js v18.20.4

error Command failed with exit code 1.

info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Andrey Gangan

unread,
Aug 29, 2024, 3:45:15 AM8/29/24
to Canvas LMS Users
try to use nuke_node.sh from scripts folder

вторник, 27 августа 2024 г. в 22:39:50 UTC+3, Camila Brito Silveira Miranda:

Camila Brito Silveira Miranda

unread,
Aug 29, 2024, 4:41:33 PM8/29/24
to Canvas LMS Users
After I used nuke_node.sh from the scripts folder, the error still appeared. Could it be an incompatibility between Yarn version 1.22.22 and Node version 18.20.4? Node.js v18.20.4
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
rake aborted!
Parallel::UndumpableException: RuntimeError: error running gulp rev
/var/canvas/lib/tasks/js.rake:41:in `block (2 levels) in <main>'
/var/canvas/lib/tasks/canvas.rake:79:in `block (6 levels) in <main>'
/var/canvas/lib/tasks/canvas.rake:12:in `log_time'
/var/canvas/lib/tasks/canvas.rake:82:in `block (5 levels) in <main>'
/var/canvas/vendor/bundle/ruby/3.1.0/gems/parallel-1.25.1/lib/parallel.rb:650:in `call_with_index'
/var/canvas/vendor/bundle/ruby/3.1.0/gems/parallel-1.25.1/lib/parallel.rb:620:in `process_incoming_jobs'
/var/canvas/vendor/bundle/ruby/3.1.0/gems/parallel-1.25.1/lib/parallel.rb:600:in `block in worker'
/var/canvas/vendor/bundle/ruby/3.1.0/gems/parallel-1.25.1/lib/parallel.rb:591:in `fork'
/var/canvas/vendor/bundle/ruby/3.1.0/gems/parallel-1.25.1/lib/parallel.rb:591:in `worker'
/var/canvas/vendor/bundle/ruby/3.1.0/gems/parallel-1.25.1/lib/parallel.rb:582:in `block in create_workers'
/var/canvas/vendor/bundle/ruby/3.1.0/gems/parallel-1.25.1/lib/parallel.rb:581:in `each'
/var/canvas/vendor/bundle/ruby/3.1.0/gems/parallel-1.25.1/lib/parallel.rb:581:in `each_with_index'
/var/canvas/vendor/bundle/ruby/3.1.0/gems/parallel-1.25.1/lib/parallel.rb:581:in `create_workers'
/var/canvas/vendor/bundle/ruby/3.1.0/gems/parallel-1.25.1/lib/parallel.rb:520:in `work_in_processes'
/var/canvas/vendor/bundle/ruby/3.1.0/gems/parallel-1.25.1/lib/parallel.rb:291:in `map'
/var/canvas/lib/tasks/canvas.rake:75:in `block (4 levels) in <main>'
/var/canvas/lib/tasks/canvas.rake:74:in `each'
/var/canvas/lib/tasks/canvas.rake:74:in `block (3 levels) in <main>'
/var/canvas/lib/tasks/canvas.rake:73:in `block (2 levels) in <main>'
/var/canvas/vendor/bundle/ruby/3.1.0/gems/rake-13.2.1/exe/rake:27:in `<top (required)>'
/home/lara/.rvm/rubies/ruby-3.1.0/bin/ruby_executable_hooks:22:in `eval'
/home/lara/.rvm/rubies/ruby-3.1.0/bin/ruby_executable_hooks:22:in `<main>'
Tasks: TOP => canvas:compile_assets
(See full trace by running task with --trace)

Andrey Gangan

unread,
Sep 1, 2024, 10:14:31 AM9/1/24
to Canvas LMS Users
hardly
please share your env : ruby, os, node, npm, yarrn etc versions.

do you run as root? or limited user? is user allowed to write to project folder?

четверг, 29 августа 2024 г. в 23:41:33 UTC+3, Camila Brito Silveira Miranda:

Camila Brito Silveira Miranda

unread,
Sep 2, 2024, 3:53:27 PM9/2/24
to canvas-l...@googlegroups.com
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 24.04 LTS
Release:        24.04
Codename:       noble

ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [x86_64-linux]

node v18.20.4

npm 10.8.2

yarn 1.22.22

I run it as a limited user, and the user has permission to write to the project folder.

--

---
You received this message because you are subscribed to the Google Groups "Canvas LMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to canvas-lms-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/canvas-lms-users/16b95ec9-e39f-492f-9d1d-1892d6504615n%40googlegroups.com.

Andrey Gangan

unread,
Sep 3, 2024, 4:51:51 AM9/3/24
to Canvas LMS Users
I installed a month ago for test on noble with noble default ruby 3.2 latest prod on that moment.
it was ok.

понедельник, 2 сентября 2024 г. в 22:53:27 UTC+3, Camila Brito Silveira Miranda:

Camila Brito Silveira Miranda

unread,
Sep 3, 2024, 4:01:17 PM9/3/24
to Canvas LMS Users
Did you install it using all the commands in Production Start on github?

Andrey Gangan

unread,
Sep 4, 2024, 12:50:19 PM9/4/24
to Canvas LMS Users
yes.

вторник, 3 сентября 2024 г. в 23:01:17 UTC+3, Camila Brito Silveira Miranda:

Camila Brito Silveira Miranda

unread,
Sep 5, 2024, 12:54:17 PM9/5/24
to canvas-l...@googlegroups.com
what version of node did you use?

Andrey Gangan

unread,
Sep 10, 2024, 1:22:14 AM9/10/24
to Canvas LMS Users
i think 18, not sure now.

do you use latest prod branch?
четверг, 5 сентября 2024 г. в 19:54:17 UTC+3, Camila Brito Silveira Miranda:

Andrey Gangan

unread,
Sep 10, 2024, 3:52:54 AM9/10/24
to Canvas LMS Users
just did it again

вторник, 10 сентября 2024 г. в 08:22:14 UTC+3, Andrey Gangan:
Screenshot from 2024-09-10 10-47-29.png

Camila Brito Silveira Miranda

unread,
Sep 10, 2024, 3:55:00 PM9/10/24
to canvas-l...@googlegroups.com
Yes, I'm using the latest prod branch.

Could you send me the commands you used for installation?

Andrey Gangan

unread,
Sep 13, 2024, 3:32:45 AM9/13/24
to Canvas LMS Users
same as Production start

did you update npm?
did you make bundle install ?
did you make yarn install ?
may be some dependency is missing.

I can not understand the nature of your error.

I deploy under restricted user in user's dir and run all commans from restricted user env. (Production start uses root access)

вторник, 10 сентября 2024 г. в 22:55:00 UTC+3, Camila Brito Silveira Miranda:

Camila Brito Silveira Miranda

unread,
Sep 13, 2024, 12:55:58 PM9/13/24
to canvas-l...@googlegroups.com
$ sudo apt-get install software-properties-common
$ sudo add-apt-repository ppa:instructure/ruby
$ sudo apt-get update
Could this command be related to the problem?
Because during installation I didn't use it to install Ruby
npm, bundle and yarn are up to date

Andrey Gangan

unread,
Sep 13, 2024, 1:01:23 PM9/13/24
to Canvas LMS Users
no.

how much ram on your server?

пятница, 13 сентября 2024 г. в 19:55:58 UTC+3, Camila Brito Silveira Miranda:

Camila Brito Silveira Miranda

unread,
Sep 13, 2024, 8:35:53 PM9/13/24
to canvas-l...@googlegroups.com

Andrey Gangan

unread,
Sep 14, 2024, 1:03:12 AM9/14/24
to Canvas LMS Users
should be enough.

I can only suggest to investigate about missing dependecy, dev libs or something like this.
or try to reinstall clean system and start from scratch

суббота, 14 сентября 2024 г. в 03:35:53 UTC+3, Camila Brito Silveira Miranda:

Camila Brito Silveira Miranda

unread,
Sep 16, 2024, 2:32:48 PM9/16/24
to canvas-l...@googlegroups.com
If I'm starting from scratch, what do I
do with this part?
$ sudo apt-get install software-properties-common
$ sudo add-apt-repository ppa:instructure/ruby
$ sudo apt-get update

Because the Ruby packages for Ubuntu 24.04 are not yet available.

Andrey Gangan

unread,
Sep 17, 2024, 1:54:36 AM9/17/24
to Canvas LMS Users
there is no noble packages yet, you'll get error if add it.
simply use ruby 3.2, it's possible yet.
but starting from stable/2024-10-09  Ruby 3.3.1 is required
So you'll have or use rbenv/rvm or wait when somebody adds noble ruby 3.3 packages
понедельник, 16 сентября 2024 г. в 21:32:48 UTC+3, Camila Brito Silveira Miranda:

Camila Brito Silveira Miranda

unread,
Sep 23, 2024, 11:00:41 AM9/23/24
to canvas-l...@googlegroups.com
So that I can integrate api's with canvas, can I use the quick start commands to install it?

Camila Brito Silveira Miranda

unread,
Sep 27, 2024, 11:17:39 AM9/27/24
to Canvas LMS Users
Notifications Loaded No notification found in db for 2fa 
No notification found in db for 2fa 
No notification files found for Assignment Publishing Reminder 
No notification files found for Assignment Grading Reminder 
No notification files found for Assignment Due Date Reminder 
No notification files found for Rubric Assessment Invitation 
No notification files found for Migration Export Ready 
No notification files found for Migration Import Finished 
No notification files found for Migration Import Failed  
Will this cause any problems or can I continue the installation?IMG-20240927-WA0009.jpg

Andrey Gangan

unread,
Sep 27, 2024, 11:29:08 AM9/27/24
to Canvas LMS Users
no. we usually do not use this commend on initial setup

пятница, 27 сентября 2024 г. в 18:17:39 UTC+3, Camila Brito Silveira Miranda:

Camila Brito Silveira Miranda

unread,
Sep 27, 2024, 11:52:53 AM9/27/24
to Canvas LMS Users
but, the command that was used was RAILS_ENV=production bundle exec rake db:initial_setup and the output was this in the photo

Andrey Gangan

unread,
Sep 27, 2024, 11:54:14 AM9/27/24
to Canvas LMS Users
oh, sorry.
notifications is not important

пятница, 27 сентября 2024 г. в 18:52:53 UTC+3, Camila Brito Silveira Miranda:

Andrey Gangan

unread,
Sep 27, 2024, 11:55:39 AM9/27/24
to Canvas LMS Users
it's actually not an error :)
it's simply word hilighted

пятница, 27 сентября 2024 г. в 18:54:14 UTC+3, Andrey Gangan:

Camila Brito Silveira Miranda

unread,
Sep 27, 2024, 12:11:09 PM9/27/24
to Canvas LMS Users
Oh right, thank you very much

Camila Brito Silveira Miranda

unread,
Oct 1, 2024, 3:16:39 PM10/1/24
to canvas-l...@googlegroups.com

After installing canvas I tried to access it through the browser, but it is giving me this error DNS_PROBE_FINISHED_NXDOMAIN

Camila Brito Silveira Miranda

unread,
Oct 1, 2024, 3:54:34 PM10/1/24
to canvas-l...@googlegroups.com
Do I need to install Rich Content Editor?

Camila Brito Silveira Miranda

unread,
Oct 8, 2024, 5:52:14 AM10/8/24
to canvas-l...@googlegroups.com


When I enter the domain in the browser, the login page does not appear, the files and folders in the /var/canvas/public directory appear. How can I resolve this?

Andrey Gangan

unread,
Oct 25, 2024, 2:22:21 AM10/25/24
to Canvas LMS Users
did you congigire passenger in apache?

вторник, 8 октября 2024 г. в 12:52:14 UTC+3, Camila Brito Silveira Miranda:

Camila Brito Silveira Miranda

unread,
Nov 2, 2024, 7:19:00 PM11/2/24
to canvas-l...@googlegroups.com
Yes


--

---
You received this message because you are subscribed to the Google Groups "Canvas LMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to canvas-lms-use...@googlegroups.com.

Andrey Gangan

unread,
Nov 16, 2024, 12:16:27 AM11/16/24
to Canvas LMS Users
and what you see when open the login page?

вторник, 8 октября 2024 г. в 12:52:14 UTC+3, Camila Brito Silveira Miranda:
Reply all
Reply to author
Forward
0 new messages