eraporsmk / erapor6

Aplikasi Penilaian Direktorat SMK
Other
36 stars 34 forks source link

setiap sinkron lewat aplikasi maupun terminal sama saja #216

Closed husainrifai closed 1 year ago

husainrifai commented 1 year ago

Deskripsi yang jelas dan ringkas, sertakan screenshot/gif jika diperlukan Aplikasi yang sedang dipakai:

  1. Operating System: ubuntu
  2. Versi Aplikasi: 6.04
  3. Versi Database: 5.0.3

yang di cmd Illuminate\Database\QueryException

SQLSTATE[42P01]: Undefined table: 7 ERROR: relation "roles" does not exist LINE 1: select from "roles" ^ (SQL: select from "roles")

at vendor/laravel/framework/src/Illuminate/Database/Connection.php:712 708▕ // If an exception occurs when attempting to run a query, we'll format the error 709▕ // message to include the bindings with SQL, which will make this exception a 710▕ // lot more helpful to the developer instead of just the database's errors. 711▕ catch (Exception $e) { ➜ 712▕ throw new QueryException( 713▕ $query, $this->prepareBindings($bindings), $e 714▕ ); 715▕ } 716▕ }

  +18 vendor frames

19 app/Console/Commands/EraporUpdate.php:63 Illuminate\Database\Eloquent\Model::__callStatic()

  +13 vendor frames

33 artisan:37 Illuminate\Foundation\Console\Kernel::handle()

_yang di aplikasi :_ Illuminate\Foundation\Bootstrap\HandleExceptions::handleError vendor/league/flysystem/src/Adapter/Local.php:199

/**

 * @inheritdoc

 */

public function updateStream($path, $resource, Config $config)

{

    return $this->writeStream($path, $resource, $config);

}

/**

 * @inheritdoc

 */

public function update($path, $contents, Config $config)

{

    $location = $this->applyPathPrefix($path);

    $size = file_put_contents($location, $contents, $this->writeFlags);

    if ($size === false) {

        return false;

    }

    $type = 'file';

    $result = compact('type', 'path', 'size', 'contents');

    if ($visibility = $config->get('visibility')) {

        $this->setVisibility($path, $visibility);

        $result['visibility'] = $visibility;

    }

    return $result;
novaulul commented 1 year ago

sudah di fix om barusan update sincron dh normal via terminal